forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 3d2e08f7343fcdd809f8fbf87b9caa72d98609fbFiltered to scripts/flipctl-422.pyClear filter

2026-09-30

lane-av1422seed r2: the comparator is proven to BITE -- 324/324 flip arms, and the merged fix re-measured hereAhmet Kaan Gümüş · 358ec13
lane-av1422seed r2: the comparator is proven to BITE -- 324/324 flip arms, and the merged fix re-measured here

No decoder change. lane/av1422luma 459e425d (main 298be661) closed the arm this
lane localised; this round checks the claim instead of restating it, and closes
the one hole this report had named against itself twice (§1.1 and §7: "the flip
control was not run").

scripts/flipctl-422.py flips ONE sample and requires the wrong-sample count to
move by EXACTLY +1 in that plane and 0 in every other plane, in both directions:
the oracle arm (one ffmpeg sample, which on a 0/0/0 cell is the only thing that
can move) and the ours arm (one of our samples, which is the direction every
number in this report is read in). It maps decode->display ONCE and pins the
mapping across the flip, because the census's own flipctl.py re-derives that
mapping from LUMA identity inside every compare() call and a flipped sample
destroys the very key it maps on -- the control aborted instead of measuring,
which is why it had never run rather than merely never been run. Every
decode->display SOLUTION is exercised, so an ambiguous mapping cannot hide a
failure behind the one that got picked.

324 arms, 324 PASS, 0 FAIL: five s422 target cells, s422_416x250_10b, two 4:2:0
and two 4:4:4 cells, two shown display frames each, three sample indices per
plane, both depths, all baselines 0/0/0 -- so every arm is a +1-off-zero test.
The 2-solution mapping class (s420_352x242_10b, hidden frame 16, 72 arms) is
included, which is where a comparator that quietly picks one assignment shows.

Independently re-measured on main 298be661 with the local-only 4:2:2 probe
bypass, reverted after (git diff main -- crates/ empty; the sequence-header
refusal at stream.rs:1803 is intact): all five target cells 0/0/0, 4:2:0 and
4:4:4 controls 5/5 byte-exact, s422_* sweep 17/18 with s422_384x240 unchanged
at 0/1780/1871 -- the frame-1 altref residual lane/av1422late owns.

Report §9 records one trap worth keeping: the first re-measurement of this
round ran against a STALE main ref (0c77bad5, cached before the merge) and
reproduced the pre-fix numbers exactly. Nothing about that result distinguished
"the fix does not work" from "the branch pointer is old"; re-resolving main is
what turned the same command into 0/0/0. Same class as stale-binary false
readings, on the ref instead of the binary.

§9.3 states what is still NOT measured: the POST-fix sentinel census was not
re-run (the scan remains the temporary uncommitted edit §8 step 3 describes).
Coverage on the merged tree is argued, not censused -- an unwritten sample still
holds PLANE_SENTINEL 0xDEAD = 57005, above the 10-bit maximum and unreachable
by ffmpeg at either depth, so per-plane byte-exactness on every shown frame
cannot coexist with one -- and that inference is labelled as such rather than
presented as a census.