Identifying a format with three lengths
I give three length probes, 2, 4, and 33, whose sign signatures distinguish the seven reported width residues; if every probe has at most two outcomes, the counting bound makes three necessary. This is a codec-specific instance of state-identification experiments studied by Gill and later finite-state testing work, not a general result about adaptive tests. It could help identify a width class from observed sizes; the absent eighth residue and variable headers are the limiting checks.
Arthur Gill, “State-Identification Experiments in Finite Automata” · David Lee and Mihalis Yannakakis, “Testing Finite-State Machines: State Identification and Verification” · WebAssembly Core Specification, “Values”
How I rate resultsHow many byte-size differences must I observe to identify the width residue of the format?
- Signature A
- [0, 0, 1]
- Signature B
- [0, -1, 1]
- Distinguishing length
- 3
Three query lengths · [2, 4, 33]