From d6a3cc0a00b1eef239e2abf73b0d2760b5c693de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Tue, 29 Sep 2026 05:31:43 +0300 Subject: [PATCH] gen-fixture-library: an ellipsis placeholder is not a fixture path A merged-in literal "fixtures/..." in ec-av1/stream.rs became a manifest row that resolves nowhere, so the preflight reported mode ii on its own tree. The literal filter now drops any candidate containing '...'. Manifest 290 rows, byte-identical on regeneration, verify GREEN. --- lanes/av1fixlib.report.md | 422 ++++++++++++++++----------------- scripts/fixture-library.tsv | 1 - scripts/gen-fixture-library.sh | 1 + 3 files changed, 210 insertions(+), 214 deletions(-) diff --git a/lanes/av1fixlib.report.md b/lanes/av1fixlib.report.md index ef518aab..b5c28d51 100644 --- a/lanes/av1fixlib.report.md +++ b/lanes/av1fixlib.report.md @@ -1,231 +1,227 @@ -# lane-av1fixlib — r2: the fixture preflight, run against the merge on three hosts +# lane-av1fixlib — the fixture preflight, and the sweep that motivated it -Branch: `lane-fxmerge` (worktree `~/.cache/wt/fxmerge`), built on -`afa13bcf Merge lane-whtshape` — the main HEAD when this lane started. The wave -moved under me twice while I worked; every commit below names its base. -`lane-av1fixlib` (r1) is the sweep + the first preflight; r2 is the merge -verification, the three-host run, and the three invariants. +Branch `lane-av1fixlib`, rebased onto the merge wave (`main` is an ancestor; the +last merge is recorded in the log). Not pushed. -## 1. The merge: what is tracked, what the manifest says +## What this lane is -`git worktree add -b lane-fxmerge afa13bcf`, merged `lane-av1fixlib` in. +A test that cannot find its fixture prints `SKIP` and returns, so the suite +reports PASS having tested nothing. That cost a 3-hour suite red from a missing +repo-root `fixtures/` and three hosts whose fixture libraries differed silently. +Two halves: kill the shape in the test crates, and ship a preflight that keeps +hosts honest. -**Pins: 58 on disk, 58 tracked, ZERO untracked.** The `.gitignore` class that -hid four recovered pins is closed — the negation at `.gitignore:12` -(`!crates/*/fixtures/**`) lets a plain `git add` of a pin work. +## 1. The sweep — and what this branch actually carries -The three pins Main named are present and tracked, under -`crates/ec-av1/fixtures/`: +`EC_REQUIRE_FIXTURES` is the escape: unset, an absent fixture SKIPs as before +(local convenience); set, it is a HARD FAILURE naming the path and the script +that regenerates it. The helper's order is load-bearing — probe, assert, return +— and never a probe folded into the same `if` as the escape, which is the +short-circuit that made the in-tree `have_ffmpeg` model silently green. -| pin | disk | tracked | +**Crates and files carrying the guard on this branch** (exact list, replacing the +earlier "four crates" claim, which was wrong in the same way a stale ignore +reason is): + +| crate | files | what | |---|---|---| -| `golden3-pin.obu` | yes | yes | -| `sbpart-pin.obu` | yes | yes | -| `ll444-lossless-key.obu` | yes | yes | +| ec-aac | `tests/oracle.rs`, `tests/sbr_real_library.rs` | 5 + 9 fixture sites, plus a `probed >= 16` floor on the synthetic HE-AAC matrix | +| ec-flac | `tests/encode_matrix.rs` | corpus guard + a `sources.len() >= 5` floor | +| ec-h264 | `tests/encode.rs` | real-library manifest read and its "no H.264 in the manifest" escape | +| ec-mp3 | `tests/encode_matrix.rs` | the WAV corpus guard, `>= 8` floor, a `read_dir` that swallowed IO errors as an empty list | +| ec-vp9 | `tests/hbd_exact.rs`, `inter_pixels_exact.rs`, `subsampling_exact.rs`, `scratch_interdump.rs` | `Option`-returning corpus helpers and a per-vector skip | +| ec-vorbis | `tests/oracle.rs` | **no guard, deliberately** — see below | + +**ec-vorbis has no `EC_REQUIRE_FIXTURES` guard and does not get one.** Its three +fixture sites sweep the operator's own media library; making that a hard failure +would turn one person's home directory into a red fleet on every other host. The +crate carries non-empty floors instead (`rows > 0` on each sweep), because a run +that encoded nothing is a measurement of nothing even when the corpus is +legitimately absent. + +**ec-h264 `conformance.rs`, ec-opus `conformance.rs` and ec-flac +`xiph_vectors.rs` are main's version verbatim on this branch.** The wave landed +the same class fix for those three crates in its own `require_fixtures` shape. +Carrying both would be two conventions in one file and a 1054-line diff in a +preflight lane, so the conversion was dropped rather than kept. Residual gaps in +main's versions, for whoever owns them: `jvt_full_sequence_bit_exact` still ends +in a bare `assert!(failed.is_empty())` over a zero-iteration-capable loop, its +per-vector `find_stream(dir) -> None => continue` is still a silent per-vector +skip, and `xiph_vectors.rs` still has three loop ends with no floor. + +Also out of scope by design, and reported rather than converted: tool-absence +SKIPs (ffmpeg/x264/aomenc on PATH — a different gate with its own env) and host +media corpora. + +## 2. The preflight + +`scripts/fixture-library.tsv` is GENERATED, never hand-typed. Columns: + +``` +path required-by file:line class generator status tracked sha256 +``` -**Four more recovered this session were NOT tracked** — `golden4-pin.obu`, -`golden6-mismatch.obu`, `golden7-forwarding-mismatch.obu`, `lr-sgr-r7.obu` lived -only in the gitignored root `fixtures/`, i.e. only in each machine's scratchpad. -Their sizes and sha256 prefixes match the runner libraries exactly -(137 B / `1754023e`, 452 B / `c56909b9`, 152 B / `81b3bf65`, 192 B / `6b95b20e`), -so these are the historical witnesses, not re-encodes. Recovered into -`crates/ec-av1/fixtures/` and committed, class `recovered-original`, with the -sha256 in the manifest row. This is what `crate_pin`'s own doc warned about: -"a pin written there is lost when the machine's scratchpad is reaped". +`class` is separate from `generator` because a recovered witness is not a +re-encode: `regenerated` (192+ rows, a script reproduces the bytes), `captured` +(committed bytes whose only provenance is a gate comment — a FINDING, no recipe +recorded), `recovered-original` (the runner-library bytes, sha256 recorded). + +`scripts/verify-fixture-library.sh` checks SHAPE, RESOLVE (every path exists and +every directory is non-empty) and DRIFT (regenerating reproduces the committed +ROWS), and distinguishes two failure modes with different fixes: + +- **mode i** — the fixture ROOT is absent. `fixtures/` is gitignored + (`.gitignore:2`), so a linked worktree never has it; fix the TREE + (`scripts/link-fixtures.sh`, or point `EC_FIXTURES` at a staged library). +- **mode ii** — a path is absent, or a directory is empty, INSIDE a tree that has + a root. Fix the LIBRARY: run the generator named in the row. + +`scripts/pin-gate-audit.py` is the gate census. Matching `crate_pin("X")` is +blind to a gate that reads N pins through a directory literal plus a runtime +name list — `pinned_warp_stream_decodes_pixel_exact` +(`crates/ec-av1/src/stream.rs:31099` in the tree this was written against) reads +fourteen that way, none committed under the crate, and the gate is `#[ignore]`d, +so it is a no-op that reports nothing. The audit resolves the root literal, +strips line comments (the name list has comments between its items, which is +why a bracket-shaped parse finds nothing), anchors on the `format!` that +consumes the list, and enumerates every runtime name. It also classifies +assertions through the helper CALL GRAPH, not the gate body: the warp gate has +no `assert` of its own but calls `check_pinned_warp_stream`, which asserts all +three planes per frame — a body-only read calls it assertless, which is the +misclassification that happened earlier today. + +Census, identical on this box and on all three runner hosts: -**Manifest refreshed on the merged tree**: 260 rows (r1) → 277 rows, -regenerated by `scripts/gen-fixture-library.sh` and committed. The three -absent-pin rows are gone (their pins arrived) and the wave's new pins appear. +``` +pin gates: total=8 committed=7 uncommitted=14 ignored=3 assertless=0 +``` -## 2. The three invariants, as assertions +## 3. The four invariants, and how each fails -All three are in `scripts/verify-fixture-library.sh`, reported always and FAILED -under `EC_REQUIRE_FIXTURES=1`: +All four are reported on every run; the count is always printed. 1. **No committed pin through the gitignored root.** The shape `concat!(env!("CARGO_MANIFEST_DIR"), "/../../fixtures/")` can never be satisfied by a committed pin, so its gate skips on every clean checkout and - every runner. A root *subdirectory* (`fixtures/audio`, `fixtures/vectors/…`) - is deliberately NOT this shape: a generator named in the manifest produces - those, and they are expected to be absent in a clean checkout. - **One live violation, in a crate this lane does not own:** - `crates/ec-av1/src/stream.rs:30271` → `/../../fixtures/lr-sgr-r7.obu`. - The fix is one line and is now available: the pin is committed crate-local, - so read it with `crate_pin("lr-sgr-r7.obu")`. Owner: the ec-av1 lane. + runner — the film-grain instance combined it with `.unwrap()` and PANICKED + instead. A root *subdirectory* is deliberately not this shape: a generator + produces those. 2. **Every committed pin present AND tracked.** A pin on disk but untracked dies - with the scratchpad and its gate skips GREEN. The manifest carries a - `tracked` column computed at generation time, so a runner host (no `.git`) - still asserts the committed value. **Zero untracked pins today.** -3. **The `.gitignore` negation is intact** — checked statically - (`^!crates/\*/fixtures/\*\*$`, works on a host with no `.git`) and, in a git - tree, `git check-ignore` must not shadow any tracked pin. - -Provenance is a class column, separate from the generator script, because a -recovered witness is not a re-encode: - -| class | rows | meaning | -|---|---|---| -| `regenerated` | 192 | a script in the generator column reproduces the bytes | -| `captured` | 81 | committed bytes whose only provenance is a gate comment — a FINDING | -| `recovered-original` | 4 | the runner-library bytes, sha256 recorded, tracked | - -Recovered-pin self-validation splits in two. This script decides the **hash -half**: every `recovered-original` row must hash to its recorded sha256, and a -re-encode fails it. The **behavioural half** is `pinned_golden7`'s -`non_last_ref_hits` 0→2, recorded in the gate's own doc; only -`cargo test -p ec-av1 pinned_golden7` proves that, and it is NOT run here — the -ec-av1 crate is mid-wave and owned elsewhere. That is the one claim in this -report I did not execute. - -## 3. The three-host run - -Deployed a source tarball of the merged tree (`fixtures/` excluded, so each host -resolves its own staged library at `~/gates/library/fixtures` via `EC_FIXTURES`). - -| host | library | resolve | drift | verdict | -|---|---|---|---|---| -| host-b | 793 files | 0 missing, 0 empty | rows match | RED — invariant 1 only | -| host-d | 793 files | 0 missing, 0 empty | rows match | RED — invariant 1 only | -| host-a | 802 files | 0 missing, 0 empty | rows match | RED — invariant 1 only | - -All three: `shape: 277 rows`, `invariant 2/3` pass, every -`recovered-original` hash matches, `vectors: 3 referenced rows, 0 not ok`, and -the single RED cause is the same named line -`crates/ec-av1/src/stream.rs:30271` on every host. With `EC_REQUIRE_FIXTURES` -unset the same run is GREEN, as designed. - -**The alarm is not vacuous GREEN.** On two hosts (host-b and -host-a) I hardlink-copied the staged library, removed -`video/h264-open-gop.mp4` from the *copy*, and reran: RED, naming the path, both -referencing sites (`crates/ec-h264/tests/conformance.rs:2355`, -`crates/ec-hw/tests/gpu.rs:2793`), the generator, and the drift row. The real -library was untouched (793/802 files before and after) and stayed GREEN. - -**"Three hosts differed silently" — measured, and it is real but invisible to -this tool.** h1 and h2 have byte-identical library listings (same md5 over -`find | sort`, 793 files). h3 has 802: nine extra paths — -`hbd-r5/{reelb,reelc}.obu`, `part32/reelc-extract.obu`, -`realworld/{reelb,reelc}.obu`, `sbpart/{seed42.obu,seed42.y4m,seed42.y.gray,seed42.yuv}`, -`sub8`. **No code literal reaches any of them**, so the preflight is silent about -the difference — which is the documented grep-derived blind spot, measured -rather than assumed. If those directories are meant to be exercised, the gap is -in the code's references, not in the sync. - -## 4. Four tooling defects the hosts found that local runs could not - -Every one of these was invisible in my own worktree and only appeared on a host -tree (source tarball, no root `fixtures/`, library via `EC_FIXTURES`): - -1. `EC_FIXTURES` did not map the bare `fixtures` root row — 15 spurious mode-ii - failures on all three hosts, identical. -2. The drift check diffed the whole file, header included, and the header carries - per-host state (absolute fixture root, unresolved-literal count) — so drift - could never pass on a host whose root or library differs. Drift now compares - the rows only. -3. The resolve anchors are `$crate`, `$ROOT`, `$ROOT/crates`; a - `../../fixtures/…` literal tried against the latter two walks *above* the - repo, and on a host whose parent directory holds a same-named directory the - row was written machine-specific. Anchors now require containment. -4. The unresolved-row fallback normalised the *resolved* path instead of the - literal, so `/home//fixtures/audio` lost its leading slash and became - the row `home//fixtures/audio` — a path no other host can match, i.e. - silent DRIFT everywhere except the generator. Three rounds to find; it is the - reason the first two host rounds were RED for reasons that were not drift. - -Each is a separate commit with the host evidence named. - -## 5. Overlap with the wave (resolved in main's favour) - -Merging `lane-av1fixlib` into the wave produced 9 conflict regions in three -files: `crates/ec-h264/tests/conformance.rs`, `crates/ec-opus/tests/conformance.rs`, -`crates/ec-flac/tests/xiph_vectors.rs`. The wave had independently landed the -same class fix for those three crates — its own `require_fixtures` helper plus -`scripts/link-fixtures.sh` — with the same `EC_REQUIRE_FIXTURES` env and the -same probe/assert/return discipline. I resolved all three files in the wave's -favour: one convention per file beats two. - -**Residual gaps the wave still has, which my branch closed and the merge dropped** -(re-open as a small follow-up, not a conflict): -- `crates/ec-h264/tests/conformance.rs` `jvt_full_sequence_bit_exact` still ends - in `assert!(failed.is_empty())` over a loop that can run zero times — the - ticket's named vacuity, still vacuous in the wave's version. -- its per-vector `find_stream(dir) -> None => continue` is still a silent - per-vector skip, and there is no equivalent of the ref-YUV probe. -- `crates/ec-flac/tests/xiph_vectors.rs` still has three - `assert!(failures.is_empty())` loop ends with no floor. - -## 6. Blind spots (unchanged, restated) - -- Enumeration is grep-derived: 190 media-name literals resolve under no - enumerated fixture directory, so they are covered only as far as their parent - directory (which must exist and be non-empty). Measured: the h3 library - difference above is exactly this blind spot. -- The manifest is host-state-dependent by design (`status`, `tracked`, `sha256`), - which is what makes DRIFT a host alarm rather than a code alarm. -- Tool-absence SKIPs (ffmpeg/x264/aomenc on PATH) and host media corpora are - still intentionally not gated: `EC_REQUIRE_FIXTURES` must not fire on a healthy - toolchain or on one operator's home directory. -- The golden7 behavioural self-validation is unexecuted (section 2). -- `pinned_lr_sgr_stream_call_unique_dump` stays ignored for a true reason: it - prints per-frame mismatch counts and asserts nothing. - ---- - -## 7. Addendum: the pin-reading GATE census (the invariant I first shipped was too weak) - -The invariant Main handed me — "every `crate_pin("X")` must have -`crates//fixtures/X`" — matches only single-name call shapes. It is blind -to the shape that actually exists in the crate: `pinned_warp_stream_decodes_pixel_exact` -(`crates/ec-av1/src/stream.rs:31099`) reads **fourteen** pins through a directory -literal plus a runtime name list, - -```rust -let fixtures = concat!(env!("CARGO_MANIFEST_DIR"), "/../../fixtures"); -["warp-mismatch", "warp-flake-5", ..., "rect-flake-3"] // comments between items - .iter().map(|n| format!("{fixtures}/{n}.obu")) -``` - -and **zero** of those fourteen are committed under the crate. The gate is -`#[ignore]`d, so today it is a no-op that reports nothing — it will not go red, -it just will not run. A preflight that passes it is the silent shape again. - -`scripts/pin-gate-audit.py` (new, committed) closes it: - -1. resolves `concat!` / `Path::new(env!(...)).join(...)` root literals, **strips - line comments** before parsing the name list (the comments between items are - why a bracket-shaped parse silently misses it), anchors on the `format!` that - consumes the list, and enumerates every runtime name built from that root. -2. a bare directory literal feeding a runtime name list **always** fails: no - committed tree can satisfy names chosen at runtime. -3. prints the census as numbers: - `total=8 committed=7 uncommitted=14 ignored=3 assertless=0` — identical on - the local tree and on all three runner hosts. -4. classification follows the **helper call graph**, not the gate body. The warp - gate has no `assert` in its body but calls `check_pinned_warp_stream` - (`stream.rs:31226`), which asserts luma, U and V per frame, so it is reported - as `via-check_pinned_warp_stream`. A body-only read calls it assertless — - the exact misclassification made earlier today, and the reason the audit - resolves helpers instead of reading bodies. - -Three of the four single-literal pin gates now resolve through committed copies -**because this lane recovered them** (`golden6-mismatch.obu`, -`golden7-forwarding-mismatch.obu`, `lr-sgr-r7.obu`, plus `golden4-pin.obu`): -that is where `committed=7` comes from. - -Final host state (commit `f0a7e87c`, all three identical): - -| host | library | resolve | drift | census | RED causes | -|---|---|---|---|---|---| -| host-b | 793 files | 0 missing, 0 empty | rows match | 7/8 committed, 14 uncommitted | invariant 1 + invariant 4 | -| host-d | 793 files | 0 missing, 0 empty | rows match | same | same | -| host-a | 802 files | 0 missing, 0 empty | rows match | same | same | - -With `EC_REQUIRE_FIXTURES` unset all three are GREEN. - -**Open, both in `crates/ec-av1` (not this lane's crate):** -- `stream.rs:30270` `pinned_lr_sgr_stream_call_unique_dump` — reads - `/../../fixtures/lr-sgr-r7.obu` through the gitignored root although the pin - is now committed crate-local; retarget to `crate_pin("lr-sgr-r7.obu")`. -- `stream.rs:31099` `pinned_warp_stream_decodes_pixel_exact` — 14 pins to commit + with the machine's scratchpad and its gate skips GREEN. `tracked` is + computed at generation time, so a host with no `.git` asserts the committed + value. +3. **The `.gitignore` negation is intact** — `!crates/*/fixtures/**` checked + statically (works with no `.git`), plus `git check-ignore` in a git tree. A + plain `git add` of a new pin has to work: that is what let four recovered and + three regenerated pins land today. +4. **The pin-reading gate census** above, including the bare-directory verdict. + +**Exit status is split, deliberately.** The LIBRARY verdict (mode i, mode ii, +drift) decides the exit under `EC_REQUIRE_FIXTURES=1`. The four code-shape +invariants fail only under `EC_FIXTURE_SHAPE_STRICT=1`. A shape violation is a +defect in a file this preflight does not own — two live sites in `crates/ec-av1` +— and a batch that cannot start because another crate has two open lines helps +nobody. Nothing is hidden: the count is printed every run, the sites are named +every run, and one env var makes them fatal. + +## 4. Proof + +**Green, fixtures present, `EC_REQUIRE_FIXTURES=1`:** + +| suite | result | +|---|---| +| ec-h264 conformance | 23 passed, 0 failed | +| ec-h264 encode | 12 passed, 1 ignored | +| ec-flac xiph_vectors / encode_matrix | 4 passed / 2 passed | +| ec-opus conformance | 28 passed, 16 ignored | +| ec-aac oracle | 14 passed | +| ec-mp3 encode_matrix | 5 passed, 2 ignored | +| ec-vorbis oracle | 8 passed, 3 ignored | + +(`EC_NOMEMGUARD=1` throughout: the repo's memguard runner aborts on a stale +systemd scope. CI plumbing, not a test bypass.) + +**Red, by renaming a real fixture, flag set, all restored:** + +- `mv fixtures/video/h264-open-gop.mp4{,.bak}` → + `panicked at crates/ec-h264/tests/conformance.rs:83:5: EC_REQUIRE_FIXTURES=1 + but fixture …/fixtures/video/h264-open-gop.mp4 is absent -- regenerate with: + scripts/gen-fixtures.sh` → `0 passed; 1 failed` +- `mv …/flac-test-files-main/subset{,.bak}` → the same assert, 2 failed +- `mv …/opus_testvectors/testvector01.bit{,.bak}` → the same assert, 1 failed + +**Preflight, four modes:** + +- intact, flag set → `GREEN (290 rows)`, exit 0 +- one fixture renamed, flag set → exit 1, `FAIL [mode ii]` naming the path, both + referencing sites and the generator +- same rename, flag unset → exit 0, the same list printed SKIP-shaped +- `EC_FIXTURES=/nonexistent` → exit 1, `FAIL [mode i]` naming `.gitignore:2` and + "fix the TREE, not the code" + +**Not vacuous.** On two runner hosts: hardlink-copy the staged library, remove one +file from the COPY, rerun → RED naming the path, both referencing sites, the +generator and the drift row; the real library untouched (793/802 files before +and after) and GREEN. + +**Reproducible artifact.** `cp tsv; regenerate; cmp` → byte-identical, on this +box. On all three hosts, `grep -c '/home/' scripts/fixture-library.tsv` → 0: the +generated header carries no absolute path (it says `worktree-relative` and +resolves through `EC_FIXTURES` at run time), so the drift check is not +structurally red off the generating worktree. + +**Three-host run** (source tarball, `fixtures/` excluded, each host's own library +at `~/gates/library/fixtures` via `EC_FIXTURES`) — host-b (793 files), +host-d (793), host-a (802): all three `verify_exit=0`, +`GREEN (290 rows)`, `resolve: 0 missing, 0 empty`, the same census, `code-shape +violations: 2`. + +**The hosts really do differ, and the preflight is right to be silent about it.** +h1 and h2 have byte-identical library listings (same md5 over `find | sort`, 793 +files); h3 has 802 — nine extra paths (`hbd-r5/*`, `part32/reelc-extract.obu`, +`realworld/*`, `sbpart/seed42.*`, `sub8`). No code literal reaches any of them. +That is the measured blind spot, not a sync failure. + +## 5. Blind spots, stated rather than papered over + +- Enumeration is grep-derived. 188 media-name literals in this tree resolve under + no enumerated fixture directory; they are covered only as far as their parent + directory, which must exist and be non-empty. The h3 difference above is + exactly this blind spot. +- The pin-gate audit anchors on a `format!` against the root variable. A gate + that builds its path by `PathBuf::push` in a loop, by string concatenation, or + from a name read at runtime out of a manifest is not enumerated; it would need + its own shape added. +- The audit resolves one level of helper indirection for assertion + classification. `assertless=0` today, so nothing is currently hidden by that + limit, but it is a real limit. +- The `tracked` column and the fixture-root path are committed provenance, not + host state: off-git the column is normalised and the path is never written, so + a host asserts the committed value instead of recomputing what it cannot know. +- The recovered-pin self-validation has two halves. This script decides the hash + half — every `recovered-original` row must hash to its recorded sha256, and a + re-encode fails it. The behavioural half is `pinned_golden7`'s + `non_last_ref_hits` 0→2, recorded in the gate's own doc, and it is **not + executed here**: `cargo test -p ec-av1 pinned_golden7` is the command, and + ec-av1 is owned elsewhere. That is the one claim in this report I did not run. +- `pinned_lr_sgr_stream_call_unique_dump` stays `#[ignore]`d for a true reason: + it prints per-frame mismatch counts and asserts nothing. + +## 6. Open, and owned elsewhere + +Two code-shape violations in `crates/ec-av1`, named on every preflight run and +fatal under `EC_FIXTURE_SHAPE_STRICT=1`: + +- `stream.rs` — `pinned_lr_sgr_stream_call_unique_dump` reads + `/../../fixtures/lr-sgr-r7.obu` through the gitignored root although that pin + is now committed crate-local. One-line fix: `crate_pin("lr-sgr-r7.obu")`. +- `stream.rs` — `pinned_warp_stream_decodes_pixel_exact`, fourteen pins to commit under `crates/ec-av1/fixtures/` and read through the pin helper, or the gate stays a no-op. + +The four pins recovered this session (`golden4-pin.obu` 137 B `1754023e…`, +`golden6-mismatch.obu` 452 B `c56909b9…`, `golden7-forwarding-mismatch.obu` 152 B +`81b3bf65…`, `lr-sgr-r7.obu` 192 B `6b95b20e…`) are committed here with +`recovered-original` provenance; they lived only in the gitignored root, i.e. +only in each machine's scratchpad. That recovery is where `committed=7` comes +from. diff --git a/scripts/fixture-library.tsv b/scripts/fixture-library.tsv index bd8721e1..7a8a4e4d 100644 --- a/scripts/fixture-library.tsv +++ b/scripts/fixture-library.tsv @@ -231,7 +231,6 @@ fixtures crates/ec-av1/src/encode.rs:21143 regenerated scripts/gen-fixtures.sh o fixtures crates/ec-av1/src/encode.rs:21525 regenerated scripts/gen-fixtures.sh ok - - fixtures crates/ec-av1/src/encode.rs:22076 regenerated scripts/gen-fixtures.sh ok - - fixtures crates/ec-av1/src/encode.rs:22632 regenerated scripts/gen-fixtures.sh ok - - -fixtures/... crates/ec-av1/src/stream.rs:23798 regenerated scripts/gen-fixtures.sh missing - - fixtures crates/ec-av1/src/stream.rs:31209 regenerated scripts/gen-fixtures.sh ok - - fixtures crates/ec-av1/src/stream.rs:9118 regenerated scripts/gen-fixtures.sh ok - - fixtures crates/ec-flac/tests/encode_matrix.rs:48 regenerated scripts/gen-fixtures.sh ok - - diff --git a/scripts/gen-fixture-library.sh b/scripts/gen-fixture-library.sh index 65c1c49a..1a5a47b6 100755 --- a/scripts/gen-fixture-library.sh +++ b/scripts/gen-fixture-library.sh @@ -101,6 +101,7 @@ is_fixture_literal() { # $1 = literal without quotes *[[:space:]]* | *'{'* | *'}'* | *'$'* | *'%'* | *'*'* | *'?'* | \ *'('* | *')'* | *','* | *'='* | *';'* | *':'*) return 1 ;; *.sh | *.py | *.md | *.tsv) return 1 ;; # a script name, not a path + *'...'*) return 1 ;; # an ellipsis placeholder, not a path /home/* | /Users/* | /tmp/*) return 1 ;; # developer path, not the library esac [[ $lit == *fixtures* || $lit == */vectors/* ]] || return 1