forge
Explore
Log in

Don't you dare go Hollow

av1lm444loss-corr: close the handoff loop; fix a self-contradiction in 8.1

Browse files at this commit

44dc399d871d23a3aaaf5896bdb0b86e43174336Ahmet Kaan GümüşParent: 4450532
8.1 concluded the fork was 'a genuine block-level walk divergence' while 10.3
says that framing was wrong in substance because the frame boundary had not
been measured. A reader arriving at 8.1 first was being told something the
report later takes back. Marked SUPERSEDED IN PART with a pointer to 10.3 and
kept both, because retracting a caveat is not the same as getting the rest
right.

Records Agent02-2's FINAL: they adopted the (a)/(b) split, fixed and gated (b)
(the intra tail passing a TX_32x32 unit size where decode_token_recon_block
walks the chroma span of 64 >> ss), and handed (a) over with a three-file
search space. They reproduced this lane's 109909 B fixture byte-for-byte.
This lane claims no part of that cell.
lanes/av1lm444loss-corr.report.mdmodified+54 -2
@@ -237,8 +237,17 @@ At the fork both sides are at `ph=inter`, where both publish **block-level** mi
237237 (ours from `decode_inter_block`'s `at`, `decode.rs:38706`; the oracle from the
238238 mode-info reader's entry, `decodemv.c:941`) — the same granularity — and they
239239 still disagree, off an identical pre-state `(24645, 40117)` with different
240-post-ranges (39316 vs 39862). So read 125511 is a **genuine block-level walk
241-divergence**.
240+post-ranges (39316 vs 39862).
241+
242+**SUPERSEDED IN PART BY §10.3.** The measurement above stands — the labels are
243+not transposed, not a field-order artefact, and not noise. What does NOT stand
244+is the conclusion this section drew from it, that read 125511 is "a genuine
245+block-level walk divergence": the frame boundary had not been measured, and
246+§10.1 puts the fork in `decode_idx=1` while the key frame's 49 samples sit in
247+`decode_idx=0`. Retracting a caveat is not the same as getting the rest right;
248+here both halves were wrong in sequence — first the label story, then the
249+fork's home. Both are recorded rather than tidied away, because a reader who
250+arrives at §8.1 first must be stopped there.
242251
243252 The generalisable lesson is the mirror of the one in
244253 `skill://ec-av1-divergence-debug`: a "the tag disagrees, so it is a labelling
@@ -354,3 +363,46 @@ theirs` (`msac.rs`'s own `EC_SYMR` doc). The corrected predicate is
354363 125511** — so the number I reported stands, but it survived a script that could
355364 not have been trusted to find it. A fork index from a script with a known-bad
356365 comparison field is a coincidence until re-derived.
366+
367+## 11. Closure of the handover
368+
369+`Agent02-2` (`lane-av1loss444mm`, worktree `~/.cache/wt/av1loss444mm`) reported
370+FINAL after this lane's measurement landed. The split was adopted and
371+independently confirmed on their own encode, and the cell is now owned:
372+
373+* **(b), the frame-1 entropy fork — FIXED and GATED by them.** Their defect was
374+ `decode_inter_block`'s INTRA tail passing the per-mu-chunk lossless chroma
375+ region as `(cu_tx, cu_tx)` with `cu_tx = 32` (the TX_32X32 UNIT size) where
376+ `decode_token_recon_block` walks the chunk's chroma SPAN of `64 >> ss` —
377+ 32x32 at 4:2:0, where 32 was accidentally right, and 64x64 at 4:4:4, i.e.
378+ 16x16 TX_4X4 units per plane. The inter half of the same function already had
379+ `chunk_chroma_w/h`; the intra tail was the stale copy. Frame 1 went 8652 ->
380+ 10368 transform units, exactly the oracle's, and its damage 70151 -> 49.
381+ Their r1 walk fix closed the fork at read 123121 on their stream **without
382+ touching the key frame's 49**.
383+* **(a), the key-frame 49 — RECONSTRUCTION-ONLY, handed over, no fix claimed.**
384+ Confirmed on two independent encodes. Localised to three adjacent 4x8
385+ rectangular 4:4:4 blocks (`#734` px=(196,200) uv_mode 7 D203, `#735`
386+ px=(200,200) uv_mode 7, `#736` px=(204,200) uv_mode 11 CFL) whose neighbours
387+ are exact, with damage on the first of their two stacked TX_4x4 chroma units
388+ and PARTIAL per cell (U 6/16, 9/16, 6/16 — which is why it is not a rounding
389+ constant). Search space in their priority order: (1) the chroma prediction
390+ fetch in `av1/common/reconintra.c` — the angular D203 and CFL source fetch for
391+ a 4-WIDE chroma unit, the only one of the three that explains two different
392+ predictors failing identically in the same place; (2) the WHT/placement in
393+ `dequant_and_inverse_wht4x4` / `TxParams::run`, specifically how a 4x4 unit
394+ is placed inside a 4x8 chroma plane block; (3) the post-recon filter chain,
395+ cheaply, with the oracle's `EC_AV1_POSTDEBLOCK_DUMP` and
396+ `EC_AV1_POSTCDEF_DUMP`.
397+
398+They also reproduced this lane's 109909 B fixture byte-for-byte, so the two
399+encodes are confirmed as independent rather than merely believed to be. They
400+exonerated the dequant scale (0 of 2053 units have non-zero levels with an
401+empty `dq`; all 2053 have both) and corrected two of their own numbers — an
402+r6 "1650 of 1663 chroma grids empty" figure that was an artefact of their own
403+comparison script, and a still-unpaired r9 ladder sequence diff.
404+
405+**This lane claims no part of that cell.** Nothing on
406+`lane-av1lm444loss-corr` asserts on the 256x256 stream, no fixture for it is
407+pinned here, and the only thing this branch contributes to it is the
408+measurement in §10.1 that closed its (a)/(b) question.