forge
Explore
Log in

Don't you dare go Hollow

lanes: av1clipprobe — reconcile 295 vs 305 manifest rows

Browse files at this commit

2e652b34d83a255610da39bf55d23a0af3955f01Ahmet Kaan GümüşParent: a5188cb
lanes/av1clipprobe.report.mdmodified+67 -2
@@ -270,10 +270,75 @@ sentence in a comment.
270270 ## Notes for the merge owner
271271
272272 * `scripts/fixture-library.tsv` is regenerated. `required_by` line attributions
273- moved because the edits shifted lines; the row **set** is identical, verified
274- by `diff <(cut -f1,3 | sort -u)` against the pre-change manifest.
273+ moved because the edits shifted lines, and three paths carry fewer duplicate
274+ rows than before — §6 has the measurement, the per-path deltas, and the proof
275+ that the unique path set (159) is identical on both sides. The row set
276+ relevant to `RESOLVE` did not change.
275277 * The lane worktree needs `scripts/link-fixtures.sh` (or `EC_FIXTURES`) before
276278 the clip gates can do anything; a `git archive` staging excludes the
277279 gitignored root `fixtures/`, which is the staging gap the wave-3c-b owner
278280 measured. After this commit that staging is no longer silent: the clip gates
279281 are RED under the require envs instead of green.
282+
283+## 6. Reconciling `GREEN (295 rows)` against `GREEN (305 rows)`
284+
285+Both measured on the SAME library (`$LIB`, the clip is 3320956 B) — the branch
286+worktree's `fixtures` is a symlink to the same directory the primary checkout
287+holds as a real dir, so staging shape differs by a symlink and nothing else.
288+
289+```
290+branch tip (lane-av1clipprobe), root = symlink to $LIB
291+ verify-fixture-library: GREEN (295 rows) scripts/fixture-library.tsv: 295 rows
292+f33b9d41 (primary), root = real dir
293+ verify-fixture-library: GREEN (305 rows) scripts/fixture-library.tsv: 305 rows
294+```
295+
296+**The unique path set is IDENTICAL — 159 paths on both sides:**
297+
298+```
299+$ diff <(grep -v '^#' base/scripts/fixture-library.tsv | cut -f1 | sort -u) \
300+ <(grep -v '^#' branch/scripts/fixture-library.tsv | cut -f1 | sort -u)
301+(empty)
302+```
303+
304+So no path left `RESOLVE`. The 10-row difference is entirely DUPLICATE rows —
305+one row per call site for a path that several sites read — and it falls on
306+exactly three paths, all still present:
307+
308+| path | base rows | branch rows | delta |
309+|---|---|---|---|
310+| `fixtures` (the root) | 14 | 10 | −4 |
311+| `fixtures/video/h264-1080p-23.976-8bit.mp4` | 11 | 6 | −5 |
312+| `fixtures/video/h264-2160p-23.976-8bit.mp4` | 5 | 4 | −1 |
313+| | | | **−10** |
314+
315+Cause: those sites used to spell the root out (`…join("../../fixtures")`,
316+`…join("../../fixtures/video/h264-1080p-23.976-8bit.mp4")`), one literal per
317+site, one row per literal. They now call the resolver, and the resolver
318+emits one row per call site plus ONE directory row per file (not per call).
319+`required_by` for those three paths is therefore coarser: the forensic
320+"which gate reads this" attribution is thinner for 3 paths, while the
321+existence/non-emptiness check `RESOLVE` performs is unchanged. Every other
322+difference in the row-level diff is a 1:1 line-attribution shift from the
323+edits (`stream.rs:8153` → `8156`, `encode.rs:20345` → `21588`, …).
324+
325+**Does my `gen-fixture-library.sh` change alter the row set on a properly staged
326+tree? No — it is a byte-exact no-op there.** Measured on a throwaway worktree at
327+`f33b9d41`, staged with the same `$LIB`, running THIS LANE'S generator over the
328+BASE source:
329+
330+```
331+gen-fixture-library: 305 rows -> /tmp/… (191 unnamed media literals, 4 unreferenced committed pins)
332+unique path set vs the base's committed manifest: IDENTICAL
333+rows: base=305 branchgen=305
334+full row diff: (empty)
335+```
336+
337+The two new passes (1b and the directory row) are scoped to lines that call
338+`library_fixture::require/require_at/path`, and no such line exists at
339+`f33b9d41`, so they emit nothing. The 295 is caused by the SOURCE edits alone.
340+
341+I am confident about the branch manifest: it is what this branch's generator
342+produces from this branch's source on a properly staged tree, which is the only
343+definition that keeps DRIFT meaningful. The merge note stands — on a
344+`fixture-library.tsv` conflict take this lane's version and re-run the verifier.