forge
Explore
Log in

Don't you dare go Hollow

av1offtile report: the 640x480 re-measure protocol (§6c), word-for-word the same table as av1mixllconj §4.3

Browse files at this commit

532a30d25601a041a102a127fc16c3be4e8767c3Ahmet Kaan GümüşParent: d5b102a
Report-only; taken as the file, not the branch (crates delta against the merged fix verified EMPTY both ways,
and the branch sits on the old base so a branch merge would drag other lanes' work in). Verified additive: zero
removed lines against main's copy.

Two reports paraphrasing the same discriminator differently is how the dangerous outcome gets argued away, so
the table is now identical in both and written as an ASSERT: the pixel run is the CONSEQUENCE, the operand pair
is the CAUSE, and the pair is readable BEFORE the fix lands -- a forced ctx=1 alone already makes the cell exact
(457907/457907 bit-identical, no band change), so a green pixel compare cannot tell a repair from a mask. The
cheapest discriminator needs no decode at all: a band-write site touched with decode_leaf_rect8 untouched means
the band was the cause, the reverse means it was a symptom.

Comparison conventions recorded with it so future numbers stay comparable: convention-free EC_SYMR fields only,
third field regex -?\d+ because the oracle's negative pre[2] is stream-dependent (211/457907 here, 52/96997 on
the 256x128 pin), and name which override sweep produced a ctx table -- per-site and global disagree on the
non-answer rows without either being wrong.
lanes/av1offtile.report.mdmodified+62 -0
@@ -359,6 +359,68 @@ walk never reaches `mi=(80,110)` in a state where the override matters. The
359359 chain is strictly ordered: off-tile walk (this lane) -> var-tx conjunct
360360 (Agent05-5) -> TXFM_CONTEXT band gap (Agent05-5).
361361
362+## 6c. Re-measure PROTOCOL for the 640x480 cell (word-for-word with `lanes/av1mixllconj.report.md` §4.3)
363+
364+**Two reports describing the same discriminator in different words is how
365+outcome 2 gets argued away.** This table is the canonical text; the twin in
366+`lanes/av1mixllconj.report.md` is byte-identical. Copy it, do not paraphrase it.
367+
368+**The pixel run cannot discriminate the two candidate causes.** A green
369+byte-exact compare against the oracle is EQUALLY consistent with the TXFM band
370+write being closed and with the forced-`ctx=1` mask doing the work — because
371+that mask makes the cell exact on its own (§6b: ctx=1 gives 457 907/457 907
372+bit-identical without any band change). The pixel run reports the CONSEQUENCE.
373+The operand pair is the cause, and the pair is readable from rungs that already
374+exist **before the fix lands**.
375+
376+**Earliest discriminator, no decode needed — read the diff first.** A
377+band-write site touched with `decode_leaf_rect8` untouched settles it: the band
378+was the cause. The reverse settles the other way: the band was a symptom and
379+§4.3 was directionally right but causally wrong.
380+
381+**Then the operand pair**, re-read on the same two rungs at `mi=(80,110)`:
382+
383+```text
384+oracle EC_TXCTXB mi=80,110 abv=4 lft=8 above=0 left=1 ctx=1
385+ours EC_TXCTX mi=80,110 above_txfm=? left_txfm=8 above=? left=true
386+```
387+
388+| # | `above_txfm` after the fix | `ctx` after the fix | reading |
389+|---|---|---|---|
390+| 1 | **4** | **1** (reached on its own) | The band write at `mi=(36,108)` was publishing 16 where libaom has 4. The fix closed the band; the `ctx=1` lock is **retired as a symptom mask** and the chain off-tile walk -> var-tx conjunct -> band gap is confirmed end to end. |
391+| 2 | **16** | 1 | **The dangerous one.** The fix was in the ctx formula or the arm, the band is still wrong, and the cell's exactness is a MASK, not a repair. A green pixel compare reports this as success. |
392+| 3 | 4 | not 1 | A further defect remains. The cell should NOT go exact; if it does, another mask is in play. |
393+
394+**Assert this, do not log it.** The table's outcomes are an assertion, not a
395+line a reader has to notice — outcome 2 in particular passes a pixel compare
396+cleanly, so an assert is the only form that fails loudly.
397+
398+**Comparison conventions for the run**, so the numbers are comparable with the
399+ones already in these reports:
400+
401+* Compare on the **convention-free** `EC_SYMR` fields only — `pre[0]`, `pre[1]`,
402+ `n`, `s`, `post_rng`. `pre[2]` is a bit counter carrying a per-site constant
403+ offset and `cdf0` the 32768-x ICDF mirror; neither is signal.
404+* The third field's regex is **`-?\d+`**, not `\d+`. The oracle prints a
405+ NEGATIVE `pre[2]` on a stream-dependent fraction of lines (211 of this
406+ stream's 457 907; 52 of 96 997 on the 256x128 pin) because it tracks
407+ bit-counter wraparound. A `\d+` field drops them and the pair count reads
408+ short, which looks like a length mismatch rather than a comparator bug.
409+* **Name which override sweep produced any ctx table.** Per-site (keyed on one
410+ `lmi`) and global (every site of the category) give different non-answer rows
411+ without contradicting: a global override perturbs sites that are not the fork.
412+ §6b's table is PER-SITE.
413+* Resolve line numbers against the tree you are on and record the **FUNCTION**,
414+ not the line: the site is the `tx_size_cat0` arm of `fn decode_leaf_rect8`,
415+ and a merge moves every line below it.
416+
417+**Ordering, as evidence rather than sequence.** This lane's fix moved 176x144's
418+first divergence from read 25 792 to 29 411 and changed **nothing** on 640x480;
419+Agent05-5's conjunct is what makes `mi=(80,110)` reachable in a state where its
420+context matters at all. Those two facts are what make the chain ORDERED rather
421+than merely sequential — and they are also why the operand pair is readable
422+pre-fix.
423+
362424 ## 7. Class sweep
363425
364426 **Source.** Every chroma unit walk in `decode.rs` that derives a unit count from