From ac21620d8ba0f2b4e707001da1f2ae2f8fc173d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Mon, 28 Sep 2026 22:57:25 +0300 Subject: [PATCH] docs(av1444edge) r2: the mi(13,32) ref0 fork does NOT survive the H1 fix -- dropped, no separate lane; plus the per-arm commands Re-measured on a clean two-arm pair one commit apart, 4e151813 provably absent from both by patch-id: semantic ladder diffs (mi, ref0, ref1, mv0) are 0/51/40 on base and 0/0/0 with f92776ba, and the ladder entry counts go from 279/226/40 against the oracle's 279/299/361 to 279/299/361. That confirms the report's own causality argument instead of merely asserting it: a wrong pixel cannot cause a mode fork, so one bsize/footprint error had to feed both, and if that is right one fix must remove both. A surviving fork would have refuted it and pointed at a second defect. The one residual ladder difference is a print asymmetry: 2 entries in frame 2 and 12 in frame 3 where the 'stack' field differs, every one a compound block whose OUR line omits the field entirely. Also corrects a guard I had wrong. 'git merge-base --is-ancestor f92776ba HEAD' returns False on an arm that HAS the fix, because a cherry-pick mints a new sha -- trusted as a presence check it would have reported the fixed arm as fix-absent. Patch-id equivalence is the right guard; is-ancestor stays valid as an EXCLUDE check. --- lanes/av1444edge.report.md | 121 +++++++++++++++++++++++++++++++++++++ 1 file changed, 121 insertions(+) diff --git a/lanes/av1444edge.report.md b/lanes/av1444edge.report.md index 1f2910f6..e3a42962 100644 --- a/lanes/av1444edge.report.md +++ b/lanes/av1444edge.report.md @@ -360,3 +360,124 @@ after all subagents land. - **Main** — `dc35d607` is standalone, measurement-only, and mergeable now. The matrix row `4:4:4 / superres / 8-bit` should read exact (§6). Open item: the real 4:4:4 superres cell is exact but ungated. + +--- + +## 10. Appendix — the mode fork re-verified, and the per-arm commands + +### 10a. The `mi(13,32)` ref0 fork does NOT survive the H1 fix + +§3 reported a mode fork at `mi(13,32)` — the oracle reads +`ref0 = LAST (1)`, we read `GOLDEN (4)` — landing on the block right +after the first wrong pixel, and flagged it as residue worth a lane of +its own if it survived. Re-measured on a clean two-arm pair, one commit +apart, with `4e151813` provably absent from both: + +| decode-order frame | oracle entries | arm A (base + rung) | arm B (base + rung + `f92776ba`) | +|---|---|---|---| +| 1 | 279 | 279 | 279 | +| 2 | 299 | **226** | **299** | +| 3 | 361 | **40** | **361** | + +| arm | semantic ladder diffs (mi, ref0, ref1, mv0), frames 1 / 2 / 3 | `mi(13,32)` idx175 | +|---|---|---| +| A — base + rung | 0 / **51** / **40** | AOM `ref0=1 mv0=(-32,0)` vs OUR `ref0=4 mv0=(-32,0)` — DIFF | +| B — base + rung + `f92776ba` | 0 / **0** / **0** | AOM `ref0=1 mv0=(-32,0)` vs OUR `ref0=1 mv0=(-32,0)` — **SAME** | + +**The fork is gone, and it is the same defect.** Zero semantic ladder +diffs in all three frames, and the entry counts now equal the oracle's +exactly (arm A lost 73 entries in frame 2 and 321 in frame 3; arm B +loses none). This is §3's causality argument confirmed rather than +asserted: a wrong pixel cannot cause a mode fork, so one bsize/footprint +error had to feed both symptoms — and if that is right, one fix must +remove both. It does. A residual fork here would have refuted the +argument and pointed at a second defect; there is none. **Dropped, no +separate lane.** + +**The one residual ladder difference is a print asymmetry, not a fork.** +Arm B still shows 2 (frame 2) and 12 (frame 3) entries where the +`stack` field differs. Every one is a compound block (`ref1` set, e.g. +`ref0=1 ref1=4`, `ref0=4 ref1=7`) whose OUR line prints no `stack=` +field at all — the compound arm's `EC_MODE_VAL` format omits it. All +semantic fields, and on most entries `rng`, match. Same family as +`compare-range-not-tell`: a field that is not a cross-decoder invariant +must not be compared as one. + +### 10b. The ancestry guard is wrong for a cherry-picked commit + +The guard I ran in 10a, `git merge-base --is-ancestor f92776ba HEAD`, +returns **False on an arm that has the fix**, because a cherry-pick +mints a new sha. Had I trusted it as a presence check it would have +reported arm B as "fix absent" — a third check in this session that +returns a plausible number instead of the fact, and the second inside +this lane alone. The correct guard over cherry-picks is **patch-id +equivalence**: + +```text +f92776ba: is-ancestor=False patch-id=bcead47eb734ca4f local equivalent: 38b34494 PRESENT +4e151813: is-ancestor=False patch-id=5c19bac8add27bbb local equivalent: None absent +dc35d607: is-ancestor=False patch-id=285286bb3506199b local equivalent: e362bfda PRESENT +``` + +`is-ancestor` remains a valid EXCLUDE check for a commit that is a true +ancestor; it is not a valid INCLUDE check after a cherry-pick. The +`rust-oracle-gate-verification` entry was corrected. + +### 10c. The per-arm commands, verbatim + +Throw-away worktree, one `CARGO_TARGET_DIR` per arm, arms exactly one +commit apart. A reviewer can paste this and get the same numbers. + +```bash +WT=~/.cache/wt/av1444fork +cd /home/user/Documents/Code/Rust/edith_codecs +git worktree add -f --detach "$WT" 4155c7c7 + +arm () { # arm