forge
Explore
Log in

Don't you dare go Hollow

lanes: withdraw the suite-red flag on the three recipe gates, and record the rule

Browse files at this commit

ae401f7762f8538806526f4d100c70e5e8675a64Ahmet Kaan GümüşParent: 408e7cf
I flagged to Main that the wave had un-ignored three a_real_aomenc_* recipe
gates whose contract is "this feature must fire", and that they would red the
suite. That was read off two reports and one older tree, not measured. On the
base commit they PASS:

  cargo test -p ec-av1 --lib --release -- --test-threads=1 a_real_aomenc_
  test result: ok. 185 passed; 0 failed; 0 ignored; 0 measured; 564 filtered out
  finished in 833.35s

Individually, plainly and un-ignored:

  a_real_aomenc_stream_with_a_superblock_level_horz_vert_partition_and_delta_q...
    ok in 1.51 s -- the rewritten gate re-encodes a pinned 512x384 stream and
    byte-compares it; 48 delta_q symbol groups, 17 rect64_qidx_drift_hits, and a
    --deltaq-mode=0 control at 0 groups / 0 drift.
  a_real_aomenc_inter_sequence_with_an_intra_1to4_strip_decodes_pixel_exact
    6 frames pixel-exact, intra 1:4 strips 64x16=0 16x64=0 32x8=8 8x32=11
    (--enable-1to4-partitions=0 control: 0/0/0/0), 35179 B
  ..._10bit: 32x8=12 8x32=7 (control 0/0/0/0), 34727 B

So the wave REWROTE them from blind 40-stream sweeps into feature-armed gates whose
feature fires, and the un-ignore is correct. No re-ignore; the flag is withdrawn.

The report now carries the rule this lane exercised and broke once: an #[ignore]
reason must name the UNBLOCK CONDITION; a gate asserting "this must fire" has
exactly one unblock, so un-ignoring it is a claim about the decoder, not a
tidy-up. The counter-example is in the same file: this lane violated it by
reporting a disposition it had not measured.
lanes/av1probes.report.mdmodified+51 -8
@@ -101,22 +101,40 @@ correct behaviour off the library host, and each was re-run on the workstation t
101 | `prune_k_quality_sweep` | real-clip sweep | no on server (3 hard-coded `/home/user/...` paths, all SKIP); yes locally, 23 s | 3 clips × 2 quantizers × K∈{3,4,6}: `dark/flat q=60 baseline 2863 B 54.71 dB → K=6 2879 B 54.77 dB (+0.060 dB)`, `detailed q=150 baseline 2859 B 39.73 dB → K=3 2828 B (−0.061 dB)`, `film q=150 7570 B 36.74 dB → K=3 7526 B (−0.015 dB)` | REAL DIAGNOSTIC VALUE — the K-pruning decision table; the deltas are ≤0.06 dB everywhere | keep; **local-run only**; reason rewrite: the paths are hard-coded absolutes, so name that |101 | `prune_k_quality_sweep` | real-clip sweep | no on server (3 hard-coded `/home/user/...` paths, all SKIP); yes locally, 23 s | 3 clips × 2 quantizers × K∈{3,4,6}: `dark/flat q=60 baseline 2863 B 54.71 dB → K=6 2879 B 54.77 dB (+0.060 dB)`, `detailed q=150 baseline 2859 B 39.73 dB → K=3 2828 B (−0.061 dB)`, `film q=150 7570 B 36.74 dB → K=3 7526 B (−0.015 dB)` | REAL DIAGNOSTIC VALUE — the K-pruning decision table; the deltas are ≤0.06 dB everywhere | keep; **local-run only**; reason rewrite: the paths are hard-coded absolutes, so name that |
102 | `prune_k_quality_sweep_inter` | real-clip sweep | no on server (3 SKIPs); yes locally, 53 s | inter arms: `dark/flat q=150 baseline 504 B 49.82 dB`, K=3/4/6 all 504 B / +0.000 dB; `film q=60 33440 B 45.71 dB → K=3 33147 B (−0.012 dB)` | REAL DIAGNOSTIC VALUE (it is the evidence that K pruning is free on inter) | keep; **local-run only** |102 | `prune_k_quality_sweep_inter` | real-clip sweep | no on server (3 SKIPs); yes locally, 53 s | inter arms: `dark/flat q=150 baseline 504 B 49.82 dB`, K=3/4/6 all 504 B / +0.000 dB; `film q=60 33440 B 45.71 dB → K=3 33147 B (−0.012 dB)` | REAL DIAGNOSTIC VALUE (it is the evidence that K pruning is free on inter) | keep; **local-run only** |
103 103
104-## Already un-ignored by the wave (were in scope on `298f75c4`)104+## Already un-ignored by the wave (were `#[ignore]`d on `298f75c4`)
105 105
106-These six were `#[ignore]`d on the tree this lane measured first and are **not** in the base commit's106+These nine were in the ignored set on the tree this lane measured first and are **not** in the base
107-ignored set any more. Re-verified on `6c1d78a6`, un-ignored and green:107+commit's ignored set any more. I flagged three of them to Main as a suite-red risk; **that flag is
108+withdrawn on measurement** — see the last table.
108 109
109 | name | class | ran? | observed result | verdict bucket | disposition |110 | name | class | ran? | observed result | verdict bucket | disposition |
110 |---|---|---|---|---|---|111 |---|---|---|---|---|---|
111-| `pinned_golden3_stream_decodes_pixel_exact` | pinned gate | yes | `pinned_golden3_stream_decodes_pixel_exact: 4 frame(s) byte-exact vs ffmpeg from …/crates/ec-av1/fixtures/golden3-pin.obu` (0.10 s) | REAL DIAGNOSTIC VALUE | already un-ignored; the SKIP seen on the older tree was a staging artifact |112+| `pinned_golden3_stream_decodes_pixel_exact` | pinned gate | yes | `pinned_golden3_stream_decodes_pixel_exact: 4 frame(s) byte-exact vs ffmpeg from …/crates/ec-av1/fixtures/golden3-pin.obu` (0.10 s) | REAL DIAGNOSTIC VALUE | already un-ignored; the SKIP seen on the older tree was a staging artifact of an older commit |
112 | `pinned_sbpart_stream_decodes_pixel_exact` | pinned gate | yes | `ok` (0.10 s) | REAL DIAGNOSTIC VALUE | already un-ignored |113 | `pinned_sbpart_stream_decodes_pixel_exact` | pinned gate | yes | `ok` (0.10 s) | REAL DIAGNOSTIC VALUE | already un-ignored |
113 | `pinned_golden4_stream_decodes_pixel_exact` | pinned gate | yes, 0.1 s | `non_last_ref_hits before=0 after=1` | REAL DIAGNOSTIC VALUE | already un-ignored |114 | `pinned_golden4_stream_decodes_pixel_exact` | pinned gate | yes, 0.1 s | `non_last_ref_hits before=0 after=1` | REAL DIAGNOSTIC VALUE | already un-ignored |
114 | `pinned_golden7_stream_decodes_pixel_exact` | pinned gate | yes, 0.1 s | `non_last_ref_hits before=0 after=2`, pixel-exact vs ffmpeg on all 4 frames | REAL DIAGNOSTIC VALUE | already un-ignored |115 | `pinned_golden7_stream_decodes_pixel_exact` | pinned gate | yes, 0.1 s | `non_last_ref_hits before=0 after=2`, pixel-exact vs ffmpeg on all 4 frames | REAL DIAGNOSTIC VALUE | already un-ignored |
115 | `pinned_lr_sgr_stream_call_unique_dump` | pinned dump | yes, 0.1 s | `frame 0: y_mismatch=false u_mismatch=false v_mismatch=false` | REAL DIAGNOSTIC VALUE | already un-ignored |116 | `pinned_lr_sgr_stream_call_unique_dump` | pinned dump | yes, 0.1 s | `frame 0: y_mismatch=false u_mismatch=false v_mismatch=false` | REAL DIAGNOSTIC VALUE | already un-ignored |
116-| `a_real_aomenc_*` recipe gates (3) | recipe gates, gate-blind | yes, 6/15/16 s | each FAILS by its own non-vacuity guard: `zero rect64 dequant calls ever observed CURRENT_Q_IDX != base_q_idx (40 matches, 0 refusals out of 40)`; `no 32-level intra 1:4 strip (32x8/8x32) fired over 40 compared streams` | ROBUST-RED (correct reds — the gate refuses to pass vacuously) | un-ignored by the wave, which means they now run in the suite and red on the feature not firing; that is the gate's stated contract, flagged here for the merge owner |117+| `a_real_aomenc_stream_with_a_superblock_level_horz_vert_partition_and_delta_q_decodes_pixel_exact` | recipe gate | yes, plainly, 1.51 s | `ok` — the rewritten gate re-encodes a pinned 512x384 stream and byte-compares it; its feature arm reads 48 `delta_q` symbol groups with 17 `rect64_qidx_drift_hits`, and its `--deltaq-mode=0` control reads 0 groups / 0 drift | REAL DIAGNOSTIC VALUE | already un-ignored, and the un-ignore is CORRECT: the feature fires, so the gate is not vacuous |
118+| `a_real_aomenc_inter_sequence_with_an_intra_1to4_strip_decodes_pixel_exact` | recipe gate | yes, plainly, 1.6 s | `6 frames pixel-exact, intra 1:4 strips in inter frames 64x16=0 16x64=0 32x8=8 8x32=11 (--enable-1to4-partitions=0 control: 0/0/0/0), stream 35179 B` | REAL DIAGNOSTIC VALUE | already un-ignored, correctly: the feature fires and the control arm proves the strips come from 1:4 partitions |
119+| `a_real_aomenc_inter_sequence_with_an_intra_1to4_strip_decodes_pixel_exact_10bit` | recipe gate | yes, plainly, 1.5 s | `6 frames pixel-exact, … 32x8=12 8x32=7 (control 0/0/0/0), stream 34727 B` | REAL DIAGNOSTIC VALUE | already un-ignored, correctly |
117 120
118 `pinned_warp_stream_decodes_pixel_exact` is still `#[ignore]`d at the base commit and is in the121 `pinned_warp_stream_decodes_pixel_exact` is still `#[ignore]`d at the base commit and is in the
119-measured set below (11 pins walked, `warp_selected_hits` 0→1→5→6→8…, all pixel-exact, 1.2 s).122+measured set above (11 pins walked, `warp_selected_hits` 0→1→5→6→8…, all pixel-exact, 1.2 s).
123+
124+### The suite-red flag is WITHDRAWN — measured, not inferred
125+
126+On `298f75c4` these three gates were 40-stream sweeps that asserted the feature had fired, and they
127+red on their own non-vacuity guards. I flagged to Main that the wave had un-ignored them and that
128+they would red the suite. **They do not.** The wave REWROTE them into feature-armed gates, and on
129+`745c60e7`, release, plain (non-`--ignored`), lane-private target dir:
130+
131+```
132+$ cargo test -p ec-av1 --lib --release -- --test-threads=1 a_real_aomenc_
133+test result: ok. 185 passed; 0 failed; 0 ignored; 0 measured; 564 filtered out; finished in 833.35s
134+```
135+
136+The flag was wrong because I read it off two reports and one older tree instead of running it. The
137+general rule it exercised is now in the report's closing section.
120 138
121 ## Summary of buckets139 ## Summary of buckets
122 140
@@ -130,8 +148,8 @@ measured set below (11 pins walked, `warp_selected_hits` 0→1→5→6→8…, a
130 need operator-supplied env vars, and three of them die inside the ffmpeg oracle with a148 need operator-supplied env vars, and three of them die inside the ffmpeg oracle with a
131 frame-size assert rather than a "you forgot the variable" message.149 frame-size assert rather than a "you forgot the variable" message.
132 - **ROBUST-RED (1 of the 38)** — `probe_split`: a real signal, in `bd_rate`, not in the decoder.150 - **ROBUST-RED (1 of the 38)** — `probe_split`: a real signal, in `bd_rate`, not in the decoder.
133- (The three `a_real_aomenc_*` recipe gates were ROBUST-RED too, but the wave un-ignored them, so151+ (The three `a_real_aomenc_*` recipe gates red the same way on the older tree, but the wave
134- they are no longer part of the ignored set — see the table above.) **0 decoder defects.**152+ REWROTE them into feature-armed gates that now pass; measured, see above.) **0 decoder defects.**
135 - **DEAD WEIGHT (0)** — nothing in the set is dead: every item produced a number or a verdict on some153 - **DEAD WEIGHT (0)** — nothing in the set is dead: every item produced a number or a verdict on some
136 tree. What *is* dead is the reason text: **11 items carried a reason that misdescribed them**154 tree. What *is* dead is the reason text: **11 items carried a reason that misdescribed them**
137 (4 bare `#[ignore]`, `filter_stage_wall_film` naming a film it does not read off the library,155 (4 bare `#[ignore]`, `filter_stage_wall_film` naming a film it does not read off the library,
@@ -254,3 +272,28 @@ the overlap quantified (70.54 − 8.57 = 61.97 ms sits outside bucket 0), it is
254 to `accounted` because adding it would double-count the shared candidates, and the residual is272 to `accounted` because adding it would double-count the shared candidates, and the residual is
255 labelled for what it now demonstrably contains. The accounting closes: 107.27 + 157.56 = 264.83 ms273 labelled for what it now demonstrably contains. The accounting closes: 107.27 + 157.56 = 264.83 ms
256 against a 264.82 ms wall.274 against a 264.82 ms wall.
275+
276+## The rule this lane exercised (and broke once)
277+
278+**An `#[ignore]` reason must name the UNBLOCK CONDITION — the one thing that makes the item runnable
279+or true. A gate that asserts "this feature fires" has exactly one unblock (it fires), so
280+un-ignoring it is a claim about the decoder, not a tidy-up.**
281+
282+Concretely, the discipline is three questions per ignored item:
283+
284+1. **What is the precondition to RUN it?** (a host with N cores, an env var, a clip path, a
285+ library) — that goes in the reason, with the measured wall and the host floor.
286+2. **What is the precondition for it to PASS?** If that is a decoder behaviour rather than an
287+ environment fact, the honest state is `#[ignore]` with that behaviour named — because a gate
288+ whose contract is "this must fire" cannot be un-ignored while it does not fire: it converts a
289+ known-open item into a permanent suite red that hides the next real failure.
290+3. **If the reason cannot be phrased as an unblock, the reason is a lane label** (`lane-rectx r3
291+ scratch sweep`) and it is worse than no reason, because it reads as if someone had said
292+ something.
293+
294+I broke rule 2 once: I told Main that three gates the wave had un-ignored would red the suite,
295+having read it off two reports and one older tree instead of running them. On the base commit they
296+pass (185/185 in the `a_real_aomenc_` filter), because the wave rewrote them into feature-armed
297+gates whose feature demonstrably fires (`32x8=8 8x32=11` strips, with the
298+`--enable-1to4-partitions=0` control at `0/0/0/0`; 48 `delta_q` groups and 17 drift hits, with the
299+`--deltaq-mode=0` control at 0/0). The flag is withdrawn. The measurement is the disposition.