From ef0d01e8c3636df9e12f090d759d327ea4648f60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Fri, 25 Sep 2026 21:10:35 +0300 Subject: [PATCH] lane-av1-444sbf2: f2 still red after d5325172; gate not extended Measured the pinned 444 sb128 witness at 85ce04de with a fresh target dir and per-frame strided slices: f2 vs aomdec AND ffmpeg is Y 7308 / U 9685 / V 13854 (both oracles sample-agree with each other; f0/f1 byte-exact). Stage ladder: f2 diverges at PREFILT -- Y 6952 / U 9568 / V 13496, first diffs Y col128 row98, U col128 row64, V col128 row0 -- reconstruction, before any loop filter; deblock/CDEF/LR only carry it. Every rung matches av1lrflush r3's base measurements sample-for-sample, so the d5325172 entropy fix is inert on this fixture: the residual is DEFECT A unchanged, the inter rect-strip recon/band-stamping reads on f2's inter 64x128 at (128,0), no entropy desync. Gate stays take(2) (no wrong samples pinned); the stale LR scoping comment stays for the paired take(3)+comment edit once the entropy lane clears f2. Report-only commit; no decoder edit. --- lanes/av1444sbf2.report.md | 74 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 lanes/av1444sbf2.report.md diff --git a/lanes/av1444sbf2.report.md b/lanes/av1444sbf2.report.md new file mode 100644 index 00000000..0aa13754 --- /dev/null +++ b/lanes/av1444sbf2.report.md @@ -0,0 +1,74 @@ +# lane-av1-444sbf2 — the 444sb witness f2 after d5325172: NOT exact; residual re-measured sample-identical to DEFECT A; gate NOT extended (r1) + +## Outcome + +1. Gate-extension precondition FAILED — frame 2 is not byte-exact, so + `a_444_sb128_root_rect_stream_with_restoration_decodes_pixel_exact` stays at + `take(2)`. Measured at HEAD 85ce04de (48411287 + the d5325172 cherry-pick) + with the pinned fixture (`crates/ec-av1/fixtures/444_sb128rect_lr_witness.obu`, + sha256 re-verified `27825e14633a4b23e37d48a2acdc7f5d814ca4fadd0b8797d72a1ffb34061e80`), + a FRESH target dir (`cargo-target-av1444sbf2` did not exist before this lane; + probe binary sha256 + `9f50af10a11fb77a3461e35427e75e616e29c3ff0403978db4a503e4ccecde3f`), and + per-frame strided slices (92160 bytes/frame, W*H*3, planes Y/U/V at + 0/30720/61440). Frame 2 vs BOTH oracles: **Y 7308 / U 9685 / V 13854**, and + the two oracles agree with each other sample-for-sample on all three frames + (ours is the diverging side; no measurement-method ambiguity this time). + Frames 0/1: byte-exact vs both. +2. Stage ladder (instrumented oracle + ours, decode-order `.fN` dumps, 92160-byte + crop-shaped files on both sides, default serial filter path): f0/f1 EXACT at + PREFILT, POSTDEBLOCK, POSTCDEF and FINAL. f2 diverges already at **PREFILT** — + Y 6952 / U 9568 / V 13496, first diffs Y (col 128, row 98), U (col 128, + row 64), V (col 128, row 0) — i.e. in reconstruction, BEFORE any loop filter. + The filters only carry the damage downstream: POSTDEBLOCK 6956/9568/13614, + POSTCDEF 7307/9685/13722, FINAL 7308/9685/13854. +3. The residual is UNCHANGED by d5325172. av1lrflush r3 measured the identical + ladder at base 48411287 (without the cherry-pick): PREFILT 6952/9568/13496 + with the same three first-diff samples, POSTCDEF 7307/9685/13722 — every rung + I can cross-check matches my with-fix numbers exactly. The inter 1:4 strip + chroma pair-rewrite fix (its t6 class) is inert on this fixture: f2's damage + is a different (or wider) instance of the same inter rect-strip class, not + the one d5325172 fixed. (The old r2 "FINAL V 14012" was r3's identified + one-rung-off comparison artifact, not a fix effect.) +4. Site (STOP-WITH-SITE, unchanged from av1lrflush r3's DEFECT A): the inter + rect-strip entropy/recon path on f2's inter 64x128 block at (128,0) — all + three planes' first diffs enter at column 128 inside that block and + everything downstream carries it. There is no entropy desync: both decoders + consume the full stream and complete the frame with bounded diffs, so the + symbol reads are identical and the divergence is in the strip's + reconstruction / band-stamping reads — Agent044's `decode_rect4_16_strip` + territory (their t6-adjacent class). r2's LR-stripe-0 attribution stays + refuted (av1lrflush r3); the gate's scoping comment naming it is now stale + but is deliberately left untouched here: per av1lrflush r3 §6 the comment + fix and the `take(3)` extension land together in the SAME deferred edit + once the entropy fix actually clears f2 — a comment-only commit on another + lane's gate would split that pairing. +5. No decoder edit on this lane: 4:2:0 identity untouched by construction; no + cargo check owed. + +## Verification + +- `a_444_sb128_root_rect_stream_with_restoration_decodes_pixel_exact` + (unmodified): PASS at this HEAD — f0/f1 pins intact, non-vacuity + `intra_sb128_hits` delta fires (target `cargo-target-av1444sbf2`). +- Ladder + slice numbers above produced from that same fresh target dir; the + throwaway decode example and all `/tmp` dumps were deleted before commit. +- Both oracle references regenerated this session (aomdec + `~/.cache/aom-oracle/build` binary, 2026-09-25 17:46; ffmpeg 8.1.2) and + cross-agreed before any diff was trusted. + +## Decision + +- Gate NOT extended (assignment branch 2: "do not extend … do not pin wrong + samples"). Asserting f2's current samples would freeze DEFECT A into the + gate. +- Next owner: the entropy lane (inter rect-strip band stamping, + `decode_rect4_16_strip`). Re-run THIS measurement (stage ladder + per-frame + strided slices + fresh target dir, both oracles) after that fix lands; extend + `take(2)`→`take(3)` and fix the stale scoping comment in the same edit only + when f2 goes byte-exact. + +## State + +- Commit on lane-av1-444sbf2 (no push): this report only; production tree + untouched since 85ce04de.