forge
Explore
Log in

Don't you dare go Hollow

lane-av1unwritten: the census result is not a corpus-wide cleanliness claim

Browse files at this commit

d56158509d48be212c6d011ea7fd0a98cfe509bfAhmet Kaan GümüşParent: d0f3f8a
Main, after r5, measured on 8d6998d7 with a provenance-verified probe: a
sentinel-vs-plain output diff finds two further fixtures whose output depends on
unwritten plane content -- reelb_rect64_intra16x4_witness.obu (34 frames) and
reelb_arf_witness.obu (40 frames) -- both of which this lane's census reports clean.
So the report's 126/126 census sweep must not be read as "no fixture depends on
unwritten memory".

The census is a PRE-DEBLOCK scan of the three planes; it cannot see a dependence
produced at a later stage or in a region it does not cover. One of the two
instruments has a blind spot and Agent01-9 owns finding which (lane/unwritten-dep).
Every number in this report stays attributed to this lane's own tree.

Also added a traps section for what this lane paid for: EC_AV1_FINAL_DUMP writes
nothing when the prefix directory does not exist (silence, not an error); at 8-bit
the dump is u8 so PLANE_SENTINEL 0xDEAD survives only as the single byte 0xAD; and
a binary's provenance comes from its embedded source paths, not from what cargo
last reported.

No code change. 29 tests green as committed.
lanes/av1unwritten.report.mdmodified+30 -3
@@ -297,9 +297,18 @@ instrument is what would show it if one ever did.
297297 unnoticed. That direction is covered by
298298 `chroma_plane_block_codable_matches_the_libaom_table`, not by the sweep.
299299 * **Sentinel sweep** (127 fixtures, `EC_AV1_PLANE_SENTINEL=1`): pre-fix exactly
300- one fixture had a non-empty census (the witness, 112+112); post-fix the corpus
301- has no unwritten sample anywhere — the witness decodes nothing at all now, and
302- the other 126 are unchanged.
300+ one fixture had a non-empty census (the witness, 112+112); post-fix the census
301+ is empty on all 127 — the witness decodes nothing at all now, and the other 126
302+ are unchanged. **This is NOT a corpus-wide claim that no fixture's output
303+ depends on unwritten plane memory.** The census is a PRE-DEBLOCK scan of the
304+ three planes, so it cannot see a dependence produced at a later stage or in a
305+ region it does not cover. Measured on `8d6998d7` with a provenance-verified
306+ probe (Main, after r5), a sentinel-vs-plain output diff finds at least two
307+ further fixtures whose output DOES depend on unwritten content —
308+ `reelb_rect64_intra16x4_witness.obu` (34 frames) and `reelb_arf_witness.obu` (40
309+ frames) — both of which this census calls clean. One of the two instruments has
310+ a blind spot; `Agent01-9` owns finding which (`lane/unwritten-dep`). Every number
311+ above is this lane's own tree and instrument.
303312 * **Scoped tests.** `cargo test -p ec-av1 --features gate-counters --lib -- 422
304313 440 chroma422` → 15 passed (including six real-4:2:2 byte-exact gates:
305314 `a_real_422_key_frame_and_inter_sequence_decode_pixel_exact`,
@@ -360,3 +369,21 @@ control at the witness reds the third.
360369 stream and `aomdec` says so.
361370 * `film_grain.rs`, the reserved 4:2:0 group-tail chroma SKIP arm and
362371 `decode_rect4_16_intrabc` untouched — the cause is not in them.
372+
373+---
374+
375+## 7. Traps this lane paid for
376+
377+* **`EC_AV1_FINAL_DUMP` writes NOTHING when the prefix's directory does not
378+ exist** — silence, not an error, so a run that "produced no dump" reads as a
379+ decode that produced no frame. Create the directory first. This cost a
380+ measurement round here and one for Main.
381+* **At 8-bit the dump is u8, so `PLANE_SENTINEL = 0xDEAD` survives only as the
382+ single byte `0xAD`.** Counting a two-byte `0xDEAD` in an 8-bit dump cannot find
383+ it (65 such bytes against a 33 baseline is what a sentinel dump actually
384+ carries here). Use a 0xAD count at 8-bit, or a 10-bit fixture where the dump is
385+ u16 LE.
386+* **A binary's provenance comes from its own embedded source paths**, not from
387+ what `cargo build` last reported. A probe built from this worktree was read as
388+ a measurement of `main` here and inverted a whole section of the report until
389+ `strings` was checked.