From 532a30d25601a041a102a127fc16c3be4e8767c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Wed, 30 Sep 2026 18:44:05 +0300 Subject: [PATCH] =?UTF-8?q?av1offtile=20report:=20the=20640x480=20re-measu?= =?UTF-8?q?re=20protocol=20(=C2=A76c),=20word-for-word=20the=20same=20tabl?= =?UTF-8?q?e=20as=20av1mixllconj=20=C2=A74.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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.md | 62 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/lanes/av1offtile.report.md b/lanes/av1offtile.report.md index 8c36358f..e6debc49 100644 --- a/lanes/av1offtile.report.md +++ b/lanes/av1offtile.report.md @@ -359,6 +359,68 @@ walk never reaches `mi=(80,110)` in a state where the override matters. The chain is strictly ordered: off-tile walk (this lane) -> var-tx conjunct (Agent05-5) -> TXFM_CONTEXT band gap (Agent05-5). +## 6c. Re-measure PROTOCOL for the 640x480 cell (word-for-word with `lanes/av1mixllconj.report.md` §4.3) + +**Two reports describing the same discriminator in different words is how +outcome 2 gets argued away.** This table is the canonical text; the twin in +`lanes/av1mixllconj.report.md` is byte-identical. Copy it, do not paraphrase it. + +**The pixel run cannot discriminate the two candidate causes.** A green +byte-exact compare against the oracle is EQUALLY consistent with the TXFM band +write being closed and with the forced-`ctx=1` mask doing the work — because +that mask makes the cell exact on its own (§6b: ctx=1 gives 457 907/457 907 +bit-identical without any band change). The pixel run reports the CONSEQUENCE. +The operand pair is the cause, and the pair is readable from rungs that already +exist **before the fix lands**. + +**Earliest discriminator, no decode needed — read the diff first.** A +band-write site touched with `decode_leaf_rect8` untouched settles it: the band +was the cause. The reverse settles the other way: the band was a symptom and +§4.3 was directionally right but causally wrong. + +**Then the operand pair**, re-read on the same two rungs at `mi=(80,110)`: + +```text +oracle EC_TXCTXB mi=80,110 abv=4 lft=8 above=0 left=1 ctx=1 +ours EC_TXCTX mi=80,110 above_txfm=? left_txfm=8 above=? left=true +``` + +| # | `above_txfm` after the fix | `ctx` after the fix | reading | +|---|---|---|---| +| 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. | +| 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. | +| 3 | 4 | not 1 | A further defect remains. The cell should NOT go exact; if it does, another mask is in play. | + +**Assert this, do not log it.** The table's outcomes are an assertion, not a +line a reader has to notice — outcome 2 in particular passes a pixel compare +cleanly, so an assert is the only form that fails loudly. + +**Comparison conventions for the run**, so the numbers are comparable with the +ones already in these reports: + +* Compare on the **convention-free** `EC_SYMR` fields only — `pre[0]`, `pre[1]`, + `n`, `s`, `post_rng`. `pre[2]` is a bit counter carrying a per-site constant + offset and `cdf0` the 32768-x ICDF mirror; neither is signal. +* The third field's regex is **`-?\d+`**, not `\d+`. The oracle prints a + NEGATIVE `pre[2]` on a stream-dependent fraction of lines (211 of this + stream's 457 907; 52 of 96 997 on the 256x128 pin) because it tracks + bit-counter wraparound. A `\d+` field drops them and the pair count reads + short, which looks like a length mismatch rather than a comparator bug. +* **Name which override sweep produced any ctx table.** Per-site (keyed on one + `lmi`) and global (every site of the category) give different non-answer rows + without contradicting: a global override perturbs sites that are not the fork. + §6b's table is PER-SITE. +* Resolve line numbers against the tree you are on and record the **FUNCTION**, + not the line: the site is the `tx_size_cat0` arm of `fn decode_leaf_rect8`, + and a merge moves every line below it. + +**Ordering, as evidence rather than sequence.** This lane's fix moved 176x144's +first divergence from read 25 792 to 29 411 and changed **nothing** on 640x480; +Agent05-5's conjunct is what makes `mi=(80,110)` reachable in a state where its +context matters at all. Those two facts are what make the chain ORDERED rather +than merely sequential — and they are also why the operand pair is readable +pre-fix. + ## 7. Class sweep **Source.** Every chroma unit walk in `decode.rs` that derives a unit count from