diff --git a/crates/ec-av1/src/stream.rs b/crates/ec-av1/src/stream.rs index 87ce85ac..d253a274 100644 --- a/crates/ec-av1/src/stream.rs +++ b/crates/ec-av1/src/stream.rs @@ -6701,7 +6701,7 @@ pub(crate) mod tests { } // The oracle aomdec, rawvideo out: FRAMES concatenated yuv444p frames. - if aomdec_path().is_file() { + if aomdec_available(NAME) { let dir = std::env::temp_dir().join(format!("ec-av1-ll444-{}", std::process::id())); let _ = std::fs::remove_dir_all(&dir); std::fs::create_dir_all(&dir).expect("scratch dir"); @@ -6750,11 +6750,6 @@ pub(crate) mod tests { ); } } - } else { - eprintln!( - "SKIP {NAME} aomdec arm: no oracle aomdec at {}", - aomdec_path().display() - ); } // ffmpeg's decoder: same frames, full-resolution chroma. @@ -6885,13 +6880,8 @@ pub(crate) mod tests { ); let _ = decode_stream(&ctrl_stream) .unwrap_or_else(|e| panic!("{NAME}: the control arm no longer decodes cleanly: {e}")); - if aomdec_path().is_file() { + if aomdec_available(NAME) { assert_rawvideo_matches(&ctrl, &ctrl_stream, NAME, FRAMES); - } else { - eprintln!( - "SKIP {NAME} control aomdec arm: no oracle aomdec at {}", - aomdec_path().display() - ); } } @@ -7075,7 +7065,7 @@ pub(crate) mod tests { } // The oracle aomdec, rawvideo out: FRAMES concatenated yuv444p frames. - if aomdec_path().is_file() { + if aomdec_available(NAME) { let dir = std::env::temp_dir().join(format!("ec-av1-llminp8-{}", std::process::id())); let _ = std::fs::remove_dir_all(&dir); std::fs::create_dir_all(&dir).expect("scratch dir"); @@ -7125,11 +7115,6 @@ pub(crate) mod tests { ); } } - } else { - eprintln!( - "SKIP {NAME} aomdec arm: no oracle aomdec at {}", - aomdec_path().display() - ); } // ffmpeg's decoder: same frames, full-resolution chroma. @@ -7269,7 +7254,7 @@ pub(crate) mod tests { // was a stage-ladder mixup, refuted in lane-av1lrflush r3. // The oracle aomdec, rawvideo out: FRAMES concatenated yuv444p frames. - if aomdec_path().is_file() { + if aomdec_available(NAME) { let dir = std::env::temp_dir().join(format!("ec-av1-444sb-{}", std::process::id())); let _ = std::fs::remove_dir_all(&dir); std::fs::create_dir_all(&dir).expect("scratch dir"); @@ -7319,11 +7304,6 @@ pub(crate) mod tests { ); } } - } else { - eprintln!( - "SKIP {NAME} aomdec arm: no oracle aomdec at {}", - aomdec_path().display() - ); } // ffmpeg's decoder: same frames, full-resolution chroma. Same @@ -7441,7 +7421,7 @@ pub(crate) mod tests { f.u.len() ); } - if aomdec_path().is_file() { + if aomdec_available(NAME) { let (decoded, _hidden) = decode_all_frames_vs_oracle(&stream, NAME); eprintln!( "{NAME}: {decoded} frame(s) byte-exact vs aomdec, {own_chroma} \ @@ -7531,7 +7511,7 @@ pub(crate) mod tests { // The identity half: the fix adds an arm gated on `ss_x == 0`, so a // 4:2:0 stream must stay byte-exact through it. This is the arm that // would go red if the new arm were ever widened past ss_x 0. - if aomdec_path().is_file() { + if aomdec_available(NAME) { decode_all_frames_vs_oracle(&out.stdout, &format!("{NAME}-420")); } eprintln!("{NAME}: 4:2:0 control {h4} HORZ_4 / {v4} VERT_4 strips, 0 own-extent gathers"); @@ -7563,13 +7543,24 @@ pub(crate) mod tests { /// in [`decode_inter_block`]'s `around_c` (a 4:2:0 stream of the same /// content leaves it at 0), and a counter at 0 would mean the gate /// measured a different route than it names. - fn encode_444_lossy_live(name: &str, w: usize, h: usize) -> Vec { + /// The guard is [`have_aomenc`], which probes first and asserts LAST with + /// the env escape: with `EC_AV1_REQUIRE_AOMENC` set, a missing oracle is + /// a hard failure naming the path it looked for, and a batch run cannot + /// report green off three skipped gates. With it unset the `None` below is + /// a developer-only convenience for a checkout without an oracle -- it is + /// the ONLY way this gate can return without measuring, and it announces + /// itself on stderr naming the env var that would make it a failure. + /// (It used to return an empty `Vec` that the caller turned into a silent + /// early `return`: the same green, reached through a second exit nobody + /// was reading.) + fn encode_444_lossy_live(name: &str, w: usize, h: usize) -> Option> { if !have_aomenc() { eprintln!( - "SKIP {name}: no aomenc oracle at {} -- run scripts/build-aom-oracle.sh", + "SKIP {name}: no aomenc oracle at {} -- set EC_AV1_REQUIRE_AOMENC=1 to make this \ + a failure, or run scripts/build-aom-oracle.sh", aomenc_path().display() ); - return Vec::new(); + return None; } let source = format!("testsrc2=size={w}x{h}:rate=25"); let y4m = Command::new("ffmpeg") @@ -7628,7 +7619,7 @@ pub(crate) mod tests { "{name}: aomenc produced no OBU for {w}x{h} -- a zero-length stream would \ decode to nothing and the compare below would compare nothing" ); - out.stdout + Some(out.stdout) } /// The body every 4:4:4 lossy live gate runs: assert the oracle compare @@ -7637,19 +7628,20 @@ pub(crate) mod tests { /// own-extent route really ran, then compare every frame in decode order /// against the oracle aomdec with the length asserted first. /// - /// The aomdec assert is deliberately a HARD failure, not the - /// `if aomdec_path().is_file()` skip the older gates use: a gate that - /// measures exactness and then quietly skips the compare reports green - /// for a decoder it never looked at (class gate-blind-to-the-arm). It - /// fires only when the gate is actually running, i.e. the oracle aomenc - /// resolved -- and aomenc and aomdec ship in the same build directory, - /// so an aomdec that is missing while aomenc is present is a broken - /// oracle, not a checkout without one. + /// The aomdec arm is a HARD failure, not a skip: these three gates encode + /// LIVE, so reaching this point means the oracle aomenc resolved, and + /// aomenc and aomdec ship in the same build directory -- an aomdec that is + /// missing beside a present aomenc is a broken oracle, not a checkout + /// without one. (The older shape, `if aomdec_path().is_file()`, let the + /// compare vanish with no env escape at all; that is what + /// [`aomdec_available`] replaced for the pinned gates, and it cannot be + /// used here because these gates have no stream to compare without one.) fn gate_444_lossy_live_exact(name: &str, w: usize, h: usize) { - let stream = encode_444_lossy_live(name, w, h); - if stream.is_empty() { - return; // no oracle at all: the SKIP above already said so - } + // The ONLY way out without measuring, and it has already printed a + // SKIP naming the env var that would turn it into a failure. + let Some(stream) = encode_444_lossy_live(name, w, h) else { + return; + }; assert!( aomdec_path().is_file(), "{name}: the oracle aomenc resolved to {} but no aomdec sits beside it at {} -- \ @@ -7842,7 +7834,7 @@ pub(crate) mod tests { // lengths match before it compares anything -- the check whose absence // turned an out-of-window divergence into a reported EXACT in this // lane's own round 1. - if aomdec_path().is_file() { + if aomdec_available(NAME) { decode_all_frames_vs_oracle(&stream420, &format!("{NAME}-420")); crate::decode::reset_intrabc_rect4_own_chroma444_hits(); decode_stream(&stream420) @@ -7973,7 +7965,7 @@ pub(crate) mod tests { } // Frames 0/1 through the PIPELINE, byte-exact vs both oracles. - if aomdec_path().is_file() { + if aomdec_available(NAME) { let dir = std::env::temp_dir().join(format!("ec-av1-lrflush-{}", std::process::id())); let _ = std::fs::remove_dir_all(&dir); std::fs::create_dir_all(&dir).expect("scratch dir"); @@ -8023,11 +8015,6 @@ pub(crate) mod tests { ); } } - } else { - eprintln!( - "SKIP {NAME} aomdec arm: no oracle aomdec at {}", - aomdec_path().display() - ); } if have_ffmpeg() { let refs = ffmpeg_decode_sequence_444(&stream, W, H, FRAMES); @@ -8123,7 +8110,7 @@ pub(crate) mod tests { ); // The oracle aomdec, rawvideo out: FRAMES concatenated yuv444p frames. - if aomdec_path().is_file() { + if aomdec_available(NAME) { let dir = std::env::temp_dir().join(format!("ec-av1-ll444dp-{}", std::process::id())); let _ = std::fs::remove_dir_all(&dir); std::fs::create_dir_all(&dir).expect("scratch dir"); @@ -8164,11 +8151,6 @@ pub(crate) mod tests { ); } } - } else { - eprintln!( - "SKIP {NAME} aomdec arm: no oracle aomdec at {}", - aomdec_path().display() - ); } } @@ -8265,7 +8247,7 @@ pub(crate) mod tests { } // The oracle aomdec, rawvideo out: FRAMES concatenated yuv444p frames. - if aomdec_path().is_file() { + if aomdec_available(NAME) { let dir = std::env::temp_dir().join(format!("ec-av1-leaf8oob-{}", std::process::id())); let _ = std::fs::remove_dir_all(&dir); std::fs::create_dir_all(&dir).expect("scratch dir"); @@ -8292,11 +8274,6 @@ pub(crate) mod tests { 0x3821_0bcb_f572_973c, "{NAME}: aomdec raw fingerprint moved" ); - } else { - eprintln!( - "SKIP {NAME} aomdec arm: no oracle aomdec at {}", - aomdec_path().display() - ); } } /// lane-lossless128: a LOSSLESS key frame that codes a 128-axis @@ -8697,7 +8674,7 @@ pub(crate) mod tests { ); // The oracle aomdec, rawvideo out: one concatenated yuv444p frame. - if aomdec_path().is_file() { + if aomdec_available(NAME) { let dir = std::env::temp_dir().join(format!("ec-av1-ibcskip2-{}", std::process::id())); let _ = std::fs::remove_dir_all(&dir); std::fs::create_dir_all(&dir).expect("scratch dir"); @@ -8738,11 +8715,6 @@ pub(crate) mod tests { predictor or the rect walk" ); } - } else { - eprintln!( - "SKIP {NAME} aomdec arm: no oracle aomdec at {}", - aomdec_path().display() - ); } eprintln!( "{NAME}: frame sample-exact vs oracle aomdec; {luma}+{chroma} rect \ @@ -9147,6 +9119,48 @@ pub(crate) mod tests { present } + /// lane-av1oracleskip: the probe for the ORACLE COMPARER, in the same + /// shape as [`have_ffmpeg`] -- probe first, then `assert!` LAST, with the + /// env escape -- and it prints its own SKIP so a caller cannot skip the + /// compare silently. + /// + /// Why this exists: thirteen gates wrapped their oracle arm in a bare + /// `if aomdec_path().is_file()`, and that shape had NO env escape at all. + /// An oracle build with `aomenc` but no `aomdec` beside it (or an + /// `EC_AV1_AOMDEC` override pointing at a moved path) made the gate + /// encode, decode, assert its geometry and its counters, and then quietly + /// never compare -- green having measured nothing, with no line in the + /// output to notice. Nine of the thirteen printed a SKIP in an `else` and + /// four printed nothing at all; both are the same defect, and both are + /// closed by one probe. + /// + /// With `EC_AV1_REQUIRE_AOMENC` (or the aomdec-specific + /// `EC_AV1_REQUIRE_AOMDEC`) set, the absence is a HARD failure naming the + /// path that was looked for -- that is the batch-run guarantee, and it is + /// what the bare `is_file()` could not give. With it unset the SKIP below + /// is printed and the gate still passes: that remains a developer-only + /// convenience for a checkout without an oracle, never evidence. + fn aomdec_available(name: &str) -> bool { + let present = aomdec_path().is_file(); + let require = std::env::var_os("EC_AV1_REQUIRE_AOMDEC").is_some() + || std::env::var_os("EC_AV1_REQUIRE_AOMENC").is_some(); + assert!( + present || !require, + "{name}: no oracle aomdec at {} -- the pixel compare this gate exists for would be \ + skipped, and EC_AV1_REQUIRE_AOMDEC/EC_AV1_REQUIRE_AOMENC is set. Build the oracle \ + with scripts/build-aom-oracle.sh, or point EC_AV1_AOMDEC at a real aomdec.", + aomdec_path().display() + ); + if !present { + eprintln!( + "SKIP {name}: no oracle aomdec at {} -- the pixel compare is NOT running (set \ + EC_AV1_REQUIRE_AOMDEC=1 to make this a failure)", + aomdec_path().display() + ); + } + present + } + /// The instrumented `aomdec` beside the `aomenc` oracle /// (`scripts/build-aom-oracle.sh` + `scripts/instrument-aom-oracle.sh`). fn aomdec_path() -> std::path::PathBuf { @@ -11180,18 +11194,13 @@ pub(crate) mod tests { // The oracle, DECODE order, every frame including hidden alt-ref // frames. This is the arm that proves the repair against aomdec's // own reconstruction, not just ffmpeg's. - if aomdec_path().is_file() { + if aomdec_available(NAME) { let (decoded, hidden) = decode_all_frames_vs_oracle(&stream, NAME); assert!( decoded >= FRAMES, "{NAME}: oracle decoded {decoded} frames, expected at least {FRAMES}" ); let _ = hidden; - } else { - eprintln!( - "SKIP {NAME} aomdec arm: no oracle aomdec at {}", - aomdec_path().display() - ); } // ffmpeg's decoder: DISPLAY order, full-resolution chroma. @@ -14198,7 +14207,7 @@ pub(crate) mod tests { ); } } - if aomdec_path().is_file() { + if aomdec_available(name) { let (decoded, hidden) = decode_all_frames_vs_oracle(&stream, name); eprintln!( "{name}: {decoded} decode-order frame(s) ({hidden} hidden) byte-exact vs aomdec \ diff --git a/lanes/av1oracleSkip.report.md b/lanes/av1oracleSkip.report.md new file mode 100644 index 00000000..062fa89a --- /dev/null +++ b/lanes/av1oracleSkip.report.md @@ -0,0 +1,159 @@ +# lane-av1oracleskip — gate-honesty: the oracle SKIP class + +**Tree.** `lane-av1oracleskip` off **main `7f8817cb`** ("Merge lane-av1pins @ +44a05b40"), worktree `~/.cache/wt/av1oracleskip`, branch +`lane-av1oracleskip`. Commit `ee4f2d55` (see §5). The primary checkout was +mid-merge when this lane started (`UU crates/ec-av1/src/stream.rs` in its +index), so this worktree is pinned to the last merge commit rather than to a +moving HEAD. Built in a lane-private `CARGO_TARGET_DIR` +(`~/.cache/cargo-target-av1oracleskip`). + +**Scope.** (1) the three `lane-av1gates444` gates that reported green having +measured nothing on a host without the oracle; (2) the class sweep behind it, +one row per site for every site this commit touches and per shape for the rest. + +--- + +## 1. What was wrong, exactly + +`encode_444_lossy_live` (the helper all three gates call) opened with + +```rust +if !have_aomenc() { + eprintln!("SKIP {name}: no aomenc oracle at {path} -- run scripts/build-aom-oracle.sh"); + return Vec::new(); +} +``` + +and `gate_444_lossy_live_exact` then did + +```rust +let stream = encode_444_lossy_live(name, w, h); +if stream.is_empty() { + return; // no oracle at all: the SKIP above already said so +} +``` + +Two exits, the second one silent, and — the part that matters for a batch — the +empty `Vec` is indistinguishable at the call site from a stream aomenc +produced and then lost. The gates +`a_444_lossy_odd_66x66_stream_decodes_pixel_exact`, +`a_444_lossy_odd_130x122_stream_decodes_pixel_exact` and +`a_444_lossy_256x128_stream_decodes_pixel_exact` inherit that shape: without the +oracle they assert nothing, encode nothing, compare nothing, and report +**passed**. + +The escape hatch already existed and was already correct in the probe: +`have_aomenc()` asserts when `EC_AV1_REQUIRE_AOMENC` is set, naming the path it +looked for. So the fix is not a new mechanism — it is to stop putting a second, +silent exit in the gate, and to make the SKIP say what it is. + +## 2. The class sweep + +`grep -c` over the crate's three test-bearing files (there is no `tests/` +directory; the crate's tests live in `src/*.rs`): + +| file:line | gate(s) | shape | fixed or reported | +|---|---|---|---| +| `stream.rs:7422` (`encode_444_lossy_live`), `stream.rs:7505` (`gate_444_lossy_live_exact`) | `a_444_lossy_odd_66x66_stream_decodes_pixel_exact`, `a_444_lossy_odd_130x122_stream_decodes_pixel_exact`, `a_444_lossy_256x128_stream_decodes_pixel_exact` | **C** — `if !have_aomenc() { SKIP; return Vec::new() }` + a silent `if stream.is_empty() { return; }` in the caller | **FIXED** | +| `stream.rs:6692` | `a_lossless_444_min_partition64_inter_stream_decodes_pixel_exact` | **B** — bare `if aomdec_path().is_file() { …compare… }`, no else, no env escape | **FIXED** | +| `stream.rs:6871` | `a_lossless_444_128_root_lossless_stream_reads_chunks_chunk_major` | B (had an `else` SKIP, still no env escape) | **FIXED** | +| `stream.rs:6934` | `a_lossless_444_min_partition8_inter_stream_decodes_sample_exact` | B (else SKIP) | **FIXED** | +| `stream.rs:7123` | `a_444_sb128_root_rect_stream_with_restoration_decodes_pixel_exact` | B (no else) | **FIXED** | +| `stream.rs:7290` | `a_444_lossy_rect4_inter_stream_decodes_pixel_exact` | B (no else) | **FIXED** | +| `stream.rs:7380` | `a_444_lossy_rect4_inter_stream_decodes_pixel_exact` (4:2:0 control arm) | B (no else) | **FIXED** | +| `stream.rs:7703` | `a_444_intrabc_rect4_reads_its_own_chroma_plane_block` | B (no else) | **FIXED** | +| `stream.rs:7834` | `a_444_sb128_witness_lr_pipeline_flushes_ru_row_0_pixel_exact` | B (else SKIP) | **FIXED** | +| `stream.rs:7979` | `a_lossless_444_defaultp_inter_strip_stream_decodes_byte_exact` | B (else SKIP) | **FIXED** | +| `stream.rs:8116` | `an_intrabc_8x8_leaf_chroma_frame_copy_at_444_decodes_without_the_oob` | B (else SKIP) | **FIXED** | +| `stream.rs:8543` | `a_lossless_444_intrabc_rect_leaf_walks_per_4x4_units` | B (else SKIP) | **FIXED** | +| `stream.rs:11063` | `a_lossless_444_rect16x4_chroma_reach_is_ss_aware` | B (else SKIP) | **FIXED** | +| `stream.rs:14076` | the superres/upscaled-bit-depth helper (`name: &str`) | B (no else) | **FIXED** | +| `stream.rs` — 153 sites | (the `aomenc`-live gates) | **A** — `if !have_aomenc() { eprintln!("SKIP …"); return; }` | REPORTED, not changed | +| `stream.rs` — 218 sites, `decode.rs` — 4, `encode.rs` — 43 | (the ffmpeg-backed gates) | **A** — `if !have_ffmpeg() { …; return; }` | REPORTED, not changed | +| `stream.rs` — 26, `decode.rs` — 1, `encode.rs` — 1 | (compound guards) | **A** — `if !have_ffmpeg() \|\| !have_aomenc() { … }` | REPORTED, not changed | +| `stream.rs:7511` | the three live 4:4:4 gates | **D** — a hard `assert!(aomdec_path().is_file(), …)` | REPORTED, kept: these gates encode LIVE, so reaching that point means aomenc resolved, and an aomdec missing beside a present aomenc is a broken oracle, not a checkout without one | + +**Why shape A is reported and not changed.** Both probes (`have_ffmpeg`, +`have_aomenc`) already have the correct shape — probe, then `assert!` last, +with the env escape — and `have_ffmpeg`'s doc comment already records the +earlier version's short-circuit bug. Every shape-A site therefore already FAILS +under `EC_AV1_REQUIRE_AOMENC=1` / `EC_AV1_REQUIRE_FFMPEG=1` and prints a SKIP +when those are unset. Changing 445 call sites would restate a convention the +probe already enforces; the honest statement is that a batch run MUST set the +env var, and this commit does not change that. + +**Shape B is the part the sweep found that nobody had named**, and it is worse +than the three gates Main pointed at: those three fail loudly in REQUIRE mode +(through `have_aomenc`), while all thirteen B sites had **no env escape at +all** — with `EC_AV1_REQUIRE_AOMENC=1` set and aomdec absent, they encoded, +decoded, asserted their geometry and counters, skipped the compare, and +reported green. Four of the thirteen printed nothing at all. + +## 3. The fix + +1. New probe `aomdec_available(name)` beside `have_aomenc`, in the + `have_ffmpeg` shape: probe `aomdec_path().is_file()`, then `assert!` **last** + that the absence is a hard failure when `EC_AV1_REQUIRE_AOMDEC` or + `EC_AV1_REQUIRE_AOMENC` is set (the message names the path looked for and + how to fix it), then print a SKIP naming the env var when the flag is unset + and return the bool. All thirteen sites now call it; the nine `else { … }` + SKIP branches they carried are deleted, so the skip notice comes from one + place and cannot drift from the assert. +2. `encode_444_lossy_live` returns `Option>` and + `gate_444_lossy_live_exact` takes it with `let Some(stream) = … else { return }` + — one exit instead of two, and the empty-`Vec` sentinel that made "no + oracle" look like "aomenc produced nothing" is gone. Nothing about what the + gates measure changed: they still encode live, still assert the parsed + geometry, the frame count, the full-resolution chroma extent and + `rect4_inter_own_chroma444_hits()`, and still compare every decode-order + frame against `aomdec` through `decode_all_frames_vs_oracle`. + +## 4. Proof, all six directions + +Absence is simulated the way the crate's own path resolution allows: the +`EC_AV1_AOMENC` / `EC_AV1_AOMDEC` env overrides point at +`/nonexistent/oracle/aomenc` and `/nonexistent/oracle/aomdec`, so +`aomenc_path()` / `aomdec_path()` resolve to files that are not there. + +| # | condition | before this commit | after | +|---|---|---|---| +| a | oracle present, `EC_AV1_REQUIRE_AOMENC=1` | 3 passed | 3 passed, each printing its line: `66x66 … 13 own-extent 1:4 chroma gather(s)`, `130x122 … 12 …`, `256x128 … 24 …` | +| a2 | oracle present, the 11 re-routed pinned gates | 11 passed | **11 passed** (no behaviour change with the oracle there) | +| b | aomenc absent + `EC_AV1_REQUIRE_AOMENC=1` | 3 passed (green, measured nothing) | **3 FAILED**: `EC_AV1_REQUIRE_AOMENC is set but no aomenc at /nonexistent/oracle/aomenc -- run scripts/build-aom-oracle.sh` | +| b2 | aomdec absent + `EC_AV1_REQUIRE_AOMENC=1` | **3 passed, silently** — one of the three printed no SKIP line at all | **3 FAILED**: `: no oracle aomdec at /nonexistent/oracle/aomdec -- the pixel compare this gate exists for would be skipped, and EC_AV1_REQUIRE_AOMDEC/EC_AV1_REQUIRE_AOMENC is set.` | +| c | aomenc absent, env unset | 3 passed, one SKIP line per gate | 3 passed, `SKIP : no aomenc oracle at /nonexistent/oracle/aomenc -- set EC_AV1_REQUIRE_AOMENC=1 to make this a failure, or run scripts/build-aom-oracle.sh` | +| c2 | aomdec absent, env unset | 3 passed, 2 SKIP lines, 1 silent | 3 passed, 3 SKIP lines naming the gate and the path | + +**(b2) is the red-before for the class fix**: the same command on the parent +commit printed `test result: ok. 3 passed` with the compare never running, and +prints `3 failed` here. `(c)` and `(c2)` remain a **developer-only +convenience** — a checkout without an oracle still runs the rest of the suite +green, and the SKIP line now says which env var turns that into a failure. No +batch run may rely on it: `EC_AV1_REQUIRE_AOMENC=1` (or the aomdec-specific +`EC_AV1_REQUIRE_AOMDEC=1`) is what makes a missing oracle red, and that is +stated in the SKIP text itself. + +## 5. Pre-existing red on this base, NOT this lane's + +`gate_coverage::tests::never_exercised_{8,10}bit_matches_the_gate_recipes` are +RED on base `7f8817cb` before any edit of mine (`the 8-bit list still names +["enable-rect-tx"], but a 8-bit gate now passes '=1' for them`). Reproduced on +the stashed, unmodified tree. A gate merged in `7f8817cb` spells +`--enable-rect-tx=1`, so the `enable-rect-tx` entries in +`NEVER_EXERCISED_8BIT` / `NEVER_EXERCISED_10BIT` are stale and the rule is to +delete them in the same commit as the gate that closes the hole — that gate is +not mine, and `crates/ec-av1/src/gate_coverage.rs` is one of the files the +in-flight merge on the primary checkout has staged as modified, so editing it +here would collide. **Reported, not touched.** The fix is deleting the +`("enable-rect-tx", …)` entry from both lists. + +## 6. One more thing this lane does not change + +`aomdec_available` deliberately keeps a SKIP (rather than the hard assert shape +D uses) because those thirteen gates decode a **pinned fixture** and their +oracle arm is one assertion among several; the live-encode gates have no +fixture to fall back on, so a missing aomdec there really is a broken oracle +and stays a hard failure. If the house wants the pinned gates to fail +unconditionally too, that is a one-line change per site and a policy call, not +a bug.