forge
Explore
Log in

Don't you dare go Hollow

av1mixllconj report: control NOW MET -- the band publish closed 640x480 and the operand pair retired the ctx lock

Browse files at this commit

cbefb853debf9191a57fd405360b5ef2cd57e105Ahmet Kaan GümüşParent: 75af3c4
Report-only; crates delta verified EMPTY against the parent, file taken not branch.

The lane ran the §4.3 protocol itself on a scratch tree at main + the band fix, and it landed on outcome 1:
above_txfm 16 -> 4 and above true -> false ON ITS OWN, the operand pair now equal to libaom's term for term
(ours EC_TXCTX mi=80,110 abv=4 lft=8 above=false left=true | oracle EC_TXCTXB abv=4 lft=8 above=0 left=1
ctx=1). So the band write was the cause, the ctx=1 lock is RETIRED as a symptom mask, and the chain off-tile
chroma walk -> var-tx conjunct -> band gap is confirmed end to end, with section 4.3 now causally right and not
merely directionally right. Pixels on the same binary: m5_640x480 6/6 (was 4/6 then REFUSED), m_640x480 7/7
(was 5/7 then REFUSED), 176x144 7/7, 352x288 7/7, the 256x128 pin 6/6, the 4:4:4 arm 9/9, and the ladder on
the cell that refused is 457907/457907 bit-identical -- exactly the count the forced-ctx mask produced, which is
why the operand pair had to be the assertion rather than the pixel run.

KEPT IN THE REPORT RATHER THAN SMOOTHED, because it changes how the next lane replays a band: the lane's
"nothing writes mi column 110 between read 157577 and the read" was TRUE OF ITS TRACE AND FALSE OF THE DECODER.
Several publish sites are hand-rolled `for i in 0..w_mi { band[..] = x }` loops with no trace rung, so an
untraced publish is invisible to a rung-level replay; the writer was named by walking the mi-map column at the
reader's own site and tagging `read_block_tx_size`'s arm. ABSENCE OF A RUNG IS NOT ABSENCE OF A WRITE, and a
band diagnosis built on a rung replay is bounded by the sites that log.
lanes/av1mixllconj.report.mdmodified+73 -1
@@ -23,7 +23,7 @@ reproduced to a one-line override.
23 | 256x128 pin (`--limit=5`) | **6/6 decode-order byte-exact**; paired `EC_SYMR` **96 997 / 96 997 bit-identical over the WHOLE stream** (§3.1) |23 | 256x128 pin (`--limit=5`) | **6/6 decode-order byte-exact**; paired `EC_SYMR` **96 997 / 96 997 bit-identical over the WHOLE stream** (§3.1) |
24 | 4:4:4 arm (`--profile=1`, 8 frames) | **9/9 exact**, red on f1..f8 before |24 | 4:4:4 arm (`--profile=1`, 8 frames) | **9/9 exact**, red on f1..f8 before |
25 | 176x144 / 352x288 (refuse at base) | 352x288 → **7/7 exact**; 176x144 → decodes 7/7 (still red from the already-handed-off `mi=(32,32)` defect, which `lane-av1offtile`'s clip then closes — §7b) |25 | 176x144 / 352x288 (refuse at base) | 352x288 → **7/7 exact**; 176x144 → decodes 7/7 (still red from the already-handed-off `mi=(32,32)` defect, which `lane-av1offtile`'s clip then closes — §7b) |
26-| 640x480 — **CONTROL NOT MET** | refuses at frame 3 instead of decoding. Base decodes it **70–92 % wrong on every frame** (§4.1). Refusal cause = a second defect, named and one-line-reproduced in §4.3. |26+| 640x480 — **CONTROL NOW MET (closed by `lane-av1txctxband2`)** | on main + `f2dd27b0`: **6/6 and 7/7 byte-exact, 457 907/457 907 paired reads bit-identical**, operand pair `above_txfm=4 above=false` now EQUALS libaom's. Measured here, §4.4. |
27 | Corpus sweep, 107 committed fixtures | **exactly one status change: `420_mixll_altref_256x128_5f` RED → EXACT.** Zero EXACT→RED, zero new REFUSED, zero FRAMECOUNT change (§5) |27 | Corpus sweep, 107 committed fixtures | **exactly one status change: `420_mixll_altref_256x128_5f` RED → EXACT.** Zero EXACT→RED, zero new REFUSED, zero FRAMECOUNT change (§5) |
28 | Composition with `714fb55b` (`lane-av1offtile`) | cherry-picked for measurement and reverted; the two clips close **every** cell of this recipe at 256x128 / 176x144 / 352x288 / 4:4:4 and leave the 640x480 residual byte-for-byte unchanged (§7b) |28 | Composition with `714fb55b` (`lane-av1offtile`) | cherry-picked for measurement and reverted; the two clips close **every** cell of this recipe at 256x128 / 176x144 / 352x288 / 4:4:4 and leave the 640x480 residual byte-for-byte unchanged (§7b) |
29 | Class sweep | all 10 `else if lossless(fctx)` sites and all 9 `read_var_tx_size` gates re-derived against libaom's own `if`: **exactly the 2 fixed sites were in the class, no third site** (§6) |29 | Class sweep | all 10 `else if lossless(fctx)` sites and all 9 `read_var_tx_size` gates re-derived against libaom's own `if`: **exactly the 2 fixed sites were in the class, no third site** (§6) |
@@ -299,6 +299,78 @@ this tree does not make — class `context-band-not-published`, the same class
299 fixable from a one-line context change: a forced `ctx` is a symptom mask, not a299 fixable from a one-line context change: a forced `ctx` is a symptom mask, not a
300 fix.**300 fix.**
301 301
302+## 4.4. RESOLVED — the control is met, and the operand-pair assertion picked outcome 1
303+
304+`lane-av1txctxband2` (`f2dd27b0`) landed the band write. Re-measured **here**, on
305+a scratch tree at `main` + `f2dd27b0`, with the §4.3 protocol applied in the order
306+it specifies (the fix's `git diff` first, then the operand pair, then the pixels):
307+
308+**Operand pair, our side, after the fix — this is the assertion, not a log line:**
309+
310+```text
311+EC_TXCTX mi=80,110 own=8x4 ha=true hl=true above_txfm=4 left_txfm=8 above_inter=false left_inter=false above=false left=true
312+```
313+
314+against libaom's own rung, unchanged:
315+
316+```text
317+EC_TXCTXB mi=80,110 bsize=2 maxw=8 maxh=4 hasup=1 hasleft=1 abv=4 lft=8 above=0 left=1 ctx=1
318+```
319+
320+`above_txfm` went **16 -> 4** and `above` **true -> false** **on its own**, and the
321+pair now equals the oracle's term for term. That is **outcome 1** of the three in
322+§4.3: the band write was the cause, the ctx=1 lock is **retired** as a symptom
323+mask, and the chain *off-tile chroma walk -> var-tx conjunct -> band gap* is
324+confirmed end to end. This lane's §4.3 was causally right, not merely
325+directionally right — the residual was the band, not the ctx formula or the
326+`decode_leaf_rect8` arm.
327+
328+**Pixels, on the same binary:**
329+
330+| cell | after | before |
331+|---|---|---|
332+| `m5_640x480` (87 537 B) | **6/6 byte-exact** | 4/6 dumps then REFUSED |
333+| `m_640x480` (115 615 B) | **7/7 byte-exact** | 5/7 dumps then REFUSED |
334+| `m_176x144` | **7/7 byte-exact** | 7 dumps, red |
335+| `m_352x288` | **7/7 byte-exact** | 7/7 |
336+| `m5_256x128` (the pin) | **6/6 byte-exact** | 6/6 |
337+| `m444_8` (4:4:4) | **9/9 byte-exact** | 9/9 |
338+
339+**Whole-stream ladder on the cell that refused:**
340+
341+```text
342+ours=457907 (unparsed 0) oracle=457907 (unparsed 0)
343+bit-identical over all 457907 paired reads
344+```
345+
346+457 907 — the exact number my forced-`ctx=1` override produced, reached here by the
347+missing publish instead of by a mask. That equality is the point: the mask and the
348+repair land on the same read count, which is why the pixel run alone could not have
349+told them apart, and why §4.3 made the operand pair the assertion.
350+
351+**What MY diagnosis got wrong, kept because it changes how the next lane replays a
352+band.** I reported "nothing writes mi column 110 between read 157 577 and the
353+read". That was **true of my trace and false of the decoder**: several publish
354+sites are hand-rolled `for i in 0..w_mi { band[..] = x }` loops with no trace
355+rung, so an untraced publish is invisible to a rung-level replay. Agent01-8 named the
356+block by walking the mi-map column instead (`BlkCell::org`/`dim`/`skip`, inter_grid,
357+deblock tx grids) and then one env tag on `read_block_tx_size` named the arm. **The
358+absence of a rung is not the absence of a write** — the replay proves only what it
359+can see, and a band diagnosis built on it is bounded by the sites that log.
360+
361+**The cause, in libaom's terms (Agent01-8's finding, corroborated by my `ctx=1`
362+compass):** `parse_decode_block` is an either/or, and a lossless block always
363+takes the ELSE branch, whose `set_txfm_ctxs(TX_4X4, xd->width, xd->height,
364+skip_txfm && is_inter_block(mbmi))` **runs for it** — `read_tx_size` returns
365+`TX_4X4` on its first line, so the early return skips the SYMBOL READ, not the
366+PUBLISH. Our square `read_block_tx_size` early-returned without publishing; the
367+RECT twin had published on that same arm since lane-av1lm444loss. The missing write
368+is the 8x8 INTRA lossless block at `mi=(78,110)`.
369+
370+**Standing obligation discharged.** This lane's one unmet regression control is met.
371+Nothing in this report remains open on this lane; the residual reds on the 6-frame
372+256x128 and 320x240 arms, and the >8-bit arm, are filed with their own owners.
373+
302 ## 5. Corpus sweep — 107 committed fixtures, before and after374 ## 5. Corpus sweep — 107 committed fixtures, before and after
303 375
304 Every `crates/ec-av1/fixtures/*.obu`, decode-order dumps vs the oracle376 Every `crates/ec-av1/fixtures/*.obu`, decode-order dumps vs the oracle