the 4:2:2 census re-derived at current main: neither table was wrong, they describe different trees -- 44/51 exact now, and a NEW luma-breaking 4:2:2 class is found
Browse files at this commita4ebe6c5e56d7ad230c8c8f5fb079a8d2aa0386cParent: 06424911 changed file +572 -0
- lanes/av1422census2.report.md +572 -0
lanes/av1422census2.report.mdadded+572 -0
| @@ -0,0 +1,572 @@ | ||
| 1 | +# lane-av1422census2 — the 4:2:2 census re-derived at current main, with the DELTA against `cc9f2668` | |
| 2 | + | |
| 3 | +**Outcome in one line: the census was right about its own tree and the later lane was | |
| 4 | +right about the current one — measured on both, the skipped-intrabc-DV-copy fix | |
| 5 | +(`b8eed69f`, landed in `1686dc8a`) closed 8 of the 17 diverging 4:2:2 cells outright, | |
| 6 | +shrank 2 more without closing them, and left 7 diverging (6 in 4:2:2, 1 in 4:4:4).** | |
| 7 | +Current numbers at `main` = `ed7c99bc`: **44 of 51 4:2:2 cells byte-exact, 7 diverging, | |
| 8 | +51 of 51 refusing by name on the shipped tree.** | |
| 9 | + | |
| 10 | +Tip: `main` = `ed7c99bc`. Worktree `/home/user/.cache/wt/av1422census2`, branch | |
| 11 | +`lane-av1422census2`. Two trees were used, both with the same instrument and the same | |
| 12 | +cells: | |
| 13 | + | |
| 14 | +* **post** = `ed7c99bc` (current main) — worktree `av1422census2`, | |
| 15 | + `CARGO_TARGET_DIR=/home/user/.cache/tgt/av1422census2` | |
| 16 | +* **pre** = `cc9f2668` (the census's own tip) — worktree `av1422census2-pre`, | |
| 17 | + branch `lane-av1422census2-pre`, `CARGO_TARGET_DIR=/home/user/.cache/tgt/av1422census2-pre` | |
| 18 | + | |
| 19 | +The pre tree exists so the delta is measured, not inferred from the old report. **The | |
| 20 | +only source edit ever applied is the `if false &&` 4:2:2 sequence-header bypass; both | |
| 21 | +trees carry no source diff now** (`stream.rs:1803` reads | |
| 22 | +`if seq.subsampling_x != seq.subsampling_y {` in both). No fix, no push, no merge, no | |
| 23 | +rustfmt. **This report recommends no product decision**; §7 states what is not measured. | |
| 24 | + | |
| 25 | +--- | |
| 26 | + | |
| 27 | +## 0. The contradiction, settled | |
| 28 | + | |
| 29 | +The census (`lanes/av1422census.report.md`, measured at `cc9f2668`) lists | |
| 30 | +`Q_odd320x242`, `O_odd322x242`, `AB_inter_warp_odd` and `S_odd326x242_10b` as DIVERGING. | |
| 31 | +`lanes/av1422ctintrabc.report.md` lists the same four as BYTE-EXACT on the later tree. | |
| 32 | +**Neither was wrong; they are two trees.** Measured here on both, with one instrument and | |
| 33 | +one cell list: | |
| 34 | + | |
| 35 | +| cell | pre (`cc9f2668`) Y/U/V | post (`ed7c99bc`) Y/U/V | | |
| 36 | +|---|---|---| | |
| 37 | +| `Q_odd320x242` | 0 / **9603 / 14456** | 0 / 0 / 0 | | |
| 38 | +| `O_odd322x242` | 0 / **985 / 722** | 0 / 0 / 0 | | |
| 39 | +| `AB_inter_warp_odd` | 0 / **3705 / 4366** | 0 / 0 / 0 | | |
| 40 | +| `S_odd326x242_10b` | 0 / **301 / 751** | 0 / 0 / 0 | | |
| 41 | + | |
| 42 | +And the census's own numbers are **reproduced exactly** on my pre tree — all 17 of its | |
| 43 | +diverging cells return its published counts to the sample (§4). So the census's tables | |
| 44 | +are a faithful record of `cc9f2668`; they are not wrong, they are **superseded**. | |
| 45 | + | |
| 46 | +--- | |
| 47 | + | |
| 48 | +## 1. The comparator, and its liveness proof (re-proven, not inherited) | |
| 49 | + | |
| 50 | +Same instrument as the census (`cmp422.py`, `run.py`, `liveness.py`, copied to | |
| 51 | +`/home/user/.cache/census422b/`), same four disciplines: | |
| 52 | + | |
| 53 | +1. **Geometry is an explicit argument**, parsed from aomdec's OWN y4m header | |
| 54 | + (`W320 H242 … C422` / `C422p10 XYSCSS=422P10`), never from a file size. A frame whose | |
| 55 | + byte length disagrees is a hard error. | |
| 56 | +2. **Plane attribution is per frame**, from that frame's own plane lengths, with a | |
| 57 | + monotone cursor. | |
| 58 | +3. **A wrong SAMPLE is one `bps`-wide unit**; at 10-bit the comparator walks 16-bit | |
| 59 | + samples, so the top bits cannot hide. | |
| 60 | +4. **A count over zero frames is a hard error**, naming the vacuous 0/0/0. | |
| 61 | + | |
| 62 | +### 1.1 The flip control — 14 cells x 3 planes = 42 arms, 42 PASS, 0 FAIL | |
| 63 | + | |
| 64 | +One oracle sample flipped per plane, per cell, in a named decode frame; the count must | |
| 65 | +move by **exactly +1 in that plane** with every other plane and every other frame | |
| 66 | +unchanged. Coverage spans the classes that have each broken a census before: | |
| 67 | + | |
| 68 | +| cell | geometry | frame | baseline Y/U/V | Y arm | U arm | V arm | | |
| 69 | +|---|---|---|---|---|---|---| | |
| 70 | +| `W_intrabc` | 320x240 ss=10 d8 | 0 | 0/0/0 | `51`→`50` +1 Y | `5a`→`5b` +1 U | `f0`→`f1` +1 V | | |
| 71 | +| `Q_odd320x242` | 320x242 ss=10 d8 | 0 | 0/0/0 | +1 Y | +1 U | +1 V | | |
| 72 | +| `Q_odd320x242` | 320x242 ss=10 d8 | 7 | 0/0/0 | +1 Y | +1 U | +1 V | | |
| 73 | +| `Y_intrabc_10b` | 320x240 ss=10 d10 | 0 | 0/0/0 | `4401`→`4501` | `6801`→`6901` | `c003`→`c103` | | |
| 74 | +| `S_odd326x242_10b` | 326x242 ss=10 d10 | 0 | 0/0/0 | +1 Y | +1 U | +1 V | | |
| 75 | +| `AB_inter_warp_odd` | 322x242 ss=10 d8 | 42 (last of 43) | 0/0/0 | +1 Y | +1 U | +1 V | | |
| 76 | +| `ll420_a` | 320x240 ss=11 d8 | 0 | 0/0/0 | `96`→`97` | `8f`→`8e` | `9b`→`9a` | | |
| 77 | +| `ll444_a` | 320x240 ss=00 d8 | 0 | 0/0/0 | +1 Y | +1 U | +1 V | | |
| 78 | +| `s422_320x242` | 320x242 ss=10 d8 | 0 | 0/0/0 | +1 Y | +1 U | +1 V | | |
| 79 | +| `s422_322x240` | 322x240 ss=10 d8 | 5 | **0/22969/22534** | +1 Y | +1 U | +1 V | | |
| 80 | +| `s422_320x246` | 320x246 ss=10 d8 | 11 | **0/8339/5903** | +1 Y | +1 U | +1 V | | |
| 81 | +| `s422_384x240` | 384x240 ss=10 d8 | 14 | **0/1982/2081** | +1 Y | +1 U | +1 V | | |
| 82 | +| `s422_416x250_10b` | 416x250 ss=10 d10 | 5 | **103250/64191/62834** | +1 Y | +1 U | +1 V | | |
| 83 | +| `s444_352x242_10b` | 352x242 ss=00 d10 | 4 | **0/1166/1413** | +1 Y | +1 U | +1 V | | |
| 84 | + | |
| 85 | +The load-bearing rows are the **non-zero baselines**: the flip must move a plane that is | |
| 86 | +ALREADY wrong by thousands of samples, by exactly one more, and must not disturb the | |
| 87 | +other planes. A comparator that attributed a plane to the wrong frame, dropped chroma, | |
| 88 | +or compared our samples with themselves fails at least one of these. The exact-cell rows | |
| 89 | +are the ones that can be a false green, and they are included deliberately. | |
| 90 | + | |
| 91 | +The flip is bit 0 of the sample's **low** byte; at 10/12 bit the sample sits in a 16-bit | |
| 92 | +LE container and `2**bitdepth < 2**16`, so +1 is exact by construction rather than hoped | |
| 93 | +for. Each arm is restored before the next, so the planes are independent. | |
| 94 | + | |
| 95 | +--- | |
| 96 | + | |
| 97 | +## 2. The cell list, re-derived | |
| 98 | + | |
| 99 | +Same method as the census §2, re-run from scratch (`discover.py`): | |
| 100 | + | |
| 101 | +1. `find /home/user/.cache/cells -name '*.obu'` → **242 probe cells**. | |
| 102 | +2. All 104 files under `crates/ec-av1/fixtures` (105 tracked; 1 is not `.obu`). | |
| 103 | +3. Every candidate decoded through `aomdec --codec=av1 -o /tmp/o.y4m` and classified from | |
| 104 | + the y4m header — the oracle's own statement of the shape. | |
| 105 | +4. Deduplicated by **content sha256**, not by name. | |
| 106 | + | |
| 107 | +| step | count | | |
| 108 | +|---|---| | |
| 109 | +| 4:2:2 candidates seen | 44 | | |
| 110 | +| after sha256 dedup | **32 distinct 4:2:2 corpus cells** (identical to the census) | | |
| 111 | +| of those, committed (`git ls-files crates/ec-av1/fixtures`) | **9** | | |
| 112 | +| probe-only | 23 | | |
| 113 | +| non-4:2:2 controls kept (the census's 8 probe-cache lossless controls) | 8 | | |
| 114 | +| fresh reproducer `R422_320x242` (from `lane-av1422ctintrabc`) | 1 | | |
| 115 | +| **fresh sweep encodes at the census's recipe** | **54** (36 at 8-bit, 18 at 10-bit) | | |
| 116 | +| **total cells measured** | **95** (51 4:2:2, 22 4:2:0, 22 4:4:4) | | |
| 117 | + | |
| 118 | +The 9 committed 4:2:2 fixtures are `W_intrabc`, `X_intrabc_tiled`, `Y_intrabc_10b`, | |
| 119 | +`422_allskip_2f`, `422_intrabc_sb128_strip`, `422_intrabc_sb128_strip_notxsearch`, | |
| 120 | +`422_residual_compound_warp_16f`, `422_residual_compound_warp_nolr_16f`, | |
| 121 | +`422_sb128_3f` — the same nine the census names. | |
| 122 | + | |
| 123 | +### 2.1 The fresh sweep is the census's sweep, byte for byte | |
| 124 | + | |
| 125 | +The 54 sweep cells were re-encoded from scratch with `mksweep.sh` at the census's recipe | |
| 126 | +and compared to the census's own `.obu` files by sha256: | |
| 127 | + | |
| 128 | +``` | |
| 129 | +for f in sweep/*.obu; do ... done → DIFF lines: 0 | |
| 130 | +``` | |
| 131 | + | |
| 132 | +**All 54 fresh encodes are byte-identical to the census's**, so the sweep table below is | |
| 133 | +a re-measurement of exactly the same bitstreams, not a new corpus that happens to look | |
| 134 | +similar. `aomenc` at this recipe is deterministic. | |
| 135 | + | |
| 136 | +--- | |
| 137 | + | |
| 138 | +## 3. DELTA — per cell, `cc9f2668` → `ed7c99bc` | |
| 139 | + | |
| 140 | +Count columns are wrong **samples** per plane, over DECODE-order frames (hidden alt-refs | |
| 141 | +included). `frames` is the decode-frame count. | |
| 142 | + | |
| 143 | +### 3.1 The 10 cells the fix moved | |
| 144 | + | |
| 145 | +| cell | class | geometry | depth | frames | pre verdict | pre Y/U/V | post verdict | post Y/U/V | | |
| 146 | +|---|---|---|---|---|---|---|---|---| | |
| 147 | +| `Q_odd320x242` | 422 corpus | 320x242 | 8 | 17 | DIVERGES | 0/9603/14456 | **BYTE-EXACT** | 0/0/0 | | |
| 148 | +| `O_odd322x242` | 422 corpus | 322x242 | 8 | 17 | DIVERGES | 0/985/722 | **BYTE-EXACT** | 0/0/0 | | |
| 149 | +| `AB_inter_warp_odd` | 422 corpus | 322x242 | 8 | 43 | DIVERGES | 0/3705/4366 | **BYTE-EXACT** | 0/0/0 | | |
| 150 | +| `S_odd326x242_10b` | 422 corpus | 326x242 | 10 | 17 | DIVERGES | 0/301/751 | **BYTE-EXACT** | 0/0/0 | | |
| 151 | +| `R422_320x242` | 422 fresh reproducer | 320x242 | 8 | 17 | DIVERGES | 0/6337/8398 | **BYTE-EXACT** | 0/0/0 | | |
| 152 | +| `s422_320x242` | 422 sweep | 320x242 | 8 | 17 | DIVERGES | 0/6337/8398 | **BYTE-EXACT** | 0/0/0 | | |
| 153 | +| `s422_326x240` | 422 sweep | 326x240 | 8 | 17 | DIVERGES | 0/734/0 | **BYTE-EXACT** | 0/0/0 | | |
| 154 | +| `s422_326x246` | 422 sweep | 326x246 | 8 | 17 | DIVERGES | 0/24078/25112 | **BYTE-EXACT** | 0/0/0 | | |
| 155 | +| `s422_320x242_10b` | 422 sweep | 320x242 | 10 | 17 | DIVERGES | 0/3915/5612 | **BYTE-EXACT** | 0/0/0 | | |
| 156 | +| `s422_352x250_10b` | 422 sweep | 352x250 | 10 | 17 | DIVERGES | 0/3876/1786 | **BYTE-EXACT** | 0/0/0 | | |
| 157 | +| `s422_320x246` | 422 sweep | 320x246 | 8 | 17 | DIVERGES | 0/38348/59491 | DIVERGES **(shrunk)** | **0/8339/5903** | | |
| 158 | +| `s422_322x246` | 422 sweep | 322x246 | 8 | 17 | DIVERGES | 0/24964/25438 | DIVERGES **(shrunk)** | **0/3603/2324** | | |
| 159 | + | |
| 160 | +Ten cells went from diverging to byte-exact; two more are strictly better but still | |
| 161 | +diverging. **Twelve cells moved in total.** Every one of the ten closures is a 4:2:2 | |
| 162 | +cell; **no 4:2:0 and no 4:4:4 cell changed verdict** (§3.4). | |
| 163 | + | |
| 164 | +The two shrink-only cells are worth a second look, because their wrong-region geometry | |
| 165 | +moved with them — which says the fix removed one writer and a second writer remains in | |
| 166 | +the same rectangle: | |
| 167 | + | |
| 168 | +| cell | plane | pre wrong rows / cols | post wrong rows / cols | | |
| 169 | +|---|---|---|---| | |
| 170 | +| `s422_320x246` | U | rows 46..245, cols 94..157 | rows 46..**201**, cols **134**..157 | | |
| 171 | +| `s422_320x246` | V | rows 48..245, cols 99..159 | rows 48..**202**, cols **135**..157 | | |
| 172 | +| `s422_322x246` | U | rows 60..245, cols 108..160 | rows 60..**203**, cols **134**..160 | | |
| 173 | +| `s422_322x246` | V | rows 61..245, cols 107..160 | rows 61..**203**, cols **134**..160 | | |
| 174 | + | |
| 175 | +The first-divergence coordinates are unchanged (`s422_320x246` frame 0 U(62,144); | |
| 176 | +`s422_322x246` frame 0 U(62,144)), so **the seed is the same writer that the fix did not | |
| 177 | +reach** — the fix shrank the contaminated region, it did not move its origin. | |
| 178 | + | |
| 179 | +### 3.2 Where the split falls, and why | |
| 180 | + | |
| 181 | +The census reported "4:2:2 8-bit: 5 of 12 exact, 7 diverge; 10-bit: 1 of 6 exact, 5 | |
| 182 | +diverge". On the current tree: | |
| 183 | + | |
| 184 | +| | pre (`cc9f2668`) | post (`ed7c99bc`) | | |
| 185 | +|---|---|---| | |
| 186 | +| 4:2:2 8-bit (40 cells) | 32 exact, 8 diverge | **36 exact, 4 diverge** | | |
| 187 | +| 4:2:2 10-bit (11 cells) | 2 exact, 9 diverge | **8 exact, 3 diverge** | | |
| 188 | + | |
| 189 | +The split is not random and it is not a depth property. Ordering the still-diverging | |
| 190 | +cells by their **first-divergence decode frame**: | |
| 191 | + | |
| 192 | +| cell | first bad frame | frames bad | class | | |
| 193 | +|---|---|---|---| | |
| 194 | +| `s422_416x250_10b` | 0 | 17/17 | luma also wrong | | |
| 195 | +| `s422_416x242_10b` | 0 | 17/17 | chroma only | | |
| 196 | +| `s422_322x240` | 0 | 17/17 | chroma only | | |
| 197 | +| `s422_320x246` | 0 | 17/17 | chroma only, region shrunk by the fix | | |
| 198 | +| `s422_322x246` | 0 | 17/17 | chroma only, region shrunk by the fix | | |
| 199 | +| `s422_352x242_10b` | 0 | 17/17 | chroma only | | |
| 200 | +| `s444_352x242_10b` | 0 | 17/17 | 4:4:4, chroma only | | |
| 201 | +| `s422_384x240` | **1** | 11/17 | chroma only | | |
| 202 | + | |
| 203 | +`S_odd326x242_10b` and `s422_352x250_10b` were 10-bit cells that closed; `s422_352x242_10b` | |
| 204 | +and `s422_416x242_10b` are 10-bit cells that did not. So **bit depth does not separate | |
| 205 | +them** — the census's "1 of 6 at 10-bit" was a property of which geometries that recipe | |
| 206 | +happened to land on, not of 10-bit 4:2:2. | |
| 207 | + | |
| 208 | +The split that does hold is **reproducer reachability**, and it is a claim about the | |
| 209 | +encoder's partition search, not about the decoder: the closed cells are those whose | |
| 210 | +decoded block structure the corrected arm actually visits. `s422_384x240` is the one cell | |
| 211 | +that fails from decode frame 1 rather than frame 0 — consistent with a residual whose | |
| 212 | +origin is not the frame-0 intrabc seed, and it is the one cell the census already flagged | |
| 213 | +as starting late. **This census measures the boundary, it does not attribute it**; §8. | |
| 214 | + | |
| 215 | +### 3.3 Corpus 4:2:2 — all 32 cells, current verdicts | |
| 216 | + | |
| 217 | +`pre` = `cc9f2668`, `post` = current. All rows not listed in §3.1 are byte-exact on both. | |
| 218 | + | |
| 219 | +| cell | ss | geometry | depth | frames | pre | post | post Y/U/V | | |
| 220 | +|---|---|---|---|---|---|---|---| | |
| 221 | +| `W_intrabc` (committed) | 10 | 320x240 | 8 | 17 | EXACT | EXACT | 0/0/0 | | |
| 222 | +| `X_intrabc_tiled` (committed) | 10 | 320x240 | 8 | 17 | EXACT | EXACT | 0/0/0 | | |
| 223 | +| `Y_intrabc_10b` (committed) | 10 | 320x240 | 10 | 17 | EXACT | EXACT | 0/0/0 | | |
| 224 | +| `422_allskip_2f` (committed) | 10 | 128x128 | 8 | 2 | EXACT | EXACT | 0/0/0 | | |
| 225 | +| `422_intrabc_sb128_strip` (committed) | 10 | 384x320 | 8 | 5 | EXACT | EXACT | 0/0/0 | | |
| 226 | +| `422_intrabc_sb128_strip_notxsearch` (committed) | 10 | 384x320 | 8 | 5 | EXACT | EXACT | 0/0/0 | | |
| 227 | +| `422_residual_compound_warp_16f` (committed) | 10 | 256x288 | 8 | 16 | EXACT | EXACT | 0/0/0 | | |
| 228 | +| `422_residual_compound_warp_nolr_16f` (committed) | 10 | 256x288 | 8 | 16 | EXACT | EXACT | 0/0/0 | | |
| 229 | +| `422_sb128_3f` (committed) | 10 | 128x128 | 8 | 3 | EXACT | EXACT | 0/0/0 | | |
| 230 | +| `AA_inter_compound` | 10 | 320x240 | 8 | 43 | EXACT | EXACT | 0/0/0 | | |
| 231 | +| `AB_inter_warp_odd` | 10 | 322x242 | 8 | 43 | DIVERGES | **EXACT** | 0/0/0 | | |
| 232 | +| `AD_inter_nogm` | 10 | 320x240 | 8 | 43 | EXACT | EXACT | 0/0/0 | | |
| 233 | +| `A_testsrc2_cpu0` | 10 | 320x240 | 8 | 17 | EXACT | EXACT | 0/0/0 | | |
| 234 | +| `B_testsrc2_cpu6` | 10 | 320x240 | 8 | 17 | EXACT | EXACT | 0/0/0 | | |
| 235 | +| `C_mandel320` | 10 | 320x240 | 8 | 16 | EXACT | EXACT | 0/0/0 | | |
| 236 | +| `D_bars` | 10 | 320x240 | 8 | 16 | EXACT | EXACT | 0/0/0 | | |
| 237 | +| `E_noglobal` | 10 | 320x240 | 8 | 17 | EXACT | EXACT | 0/0/0 | | |
| 238 | +| `F_allintra` | 10 | 320x240 | 8 | 16 | EXACT | EXACT | 0/0/0 | | |
| 239 | +| `H_10bit_testsrc2` | 10 | 320x240 | 10 | 17 | EXACT | EXACT | 0/0/0 | | |
| 240 | +| `I_10bit_mandel` | 10 | 320x240 | 10 | 16 | EXACT | EXACT | 0/0/0 | | |
| 241 | +| `J_10bit_lr0` | 10 | 320x240 | 10 | 17 | EXACT | EXACT | 0/0/0 | | |
| 242 | +| `K_sct` | 10 | 320x240 | 8 | 17 | EXACT | EXACT | 0/0/0 | | |
| 243 | +| `L_tiled` | 10 | 320x240 | 8 | 17 | EXACT | EXACT | 0/0/0 | | |
| 244 | +| `O_odd322x242` | 10 | 322x242 | 8 | 17 | DIVERGES | **EXACT** | 0/0/0 | | |
| 245 | +| `Q_odd320x242` | 10 | 320x242 | 8 | 17 | DIVERGES | **EXACT** | 0/0/0 | | |
| 246 | +| `R_odd322x240` | 10 | 322x240 | 8 | 17 | EXACT | EXACT | 0/0/0 | | |
| 247 | +| `S_odd326x242_10b` | 10 | 326x242 | 10 | 17 | DIVERGES | **EXACT** | 0/0/0 | | |
| 248 | +| `T_tilecols2` | 10 | 320x240 | 8 | 17 | EXACT | EXACT | 0/0/0 | | |
| 249 | +| `U_tilerows1` | 10 | 320x240 | 8 | 17 | EXACT | EXACT | 0/0/0 | | |
| 250 | +| `V_tile2x2_odd` | 10 | 322x242 | 8 | 17 | EXACT | EXACT | 0/0/0 | | |
| 251 | +| `ll422_allintra` | 10 | 320x240 | 8 | 1 | EXACT | EXACT | 0/0/0 | | |
| 252 | +| `ll422_noibc` | 10 | 320x240 | 8 | 16 | EXACT | EXACT | 0/0/0 | | |
| 253 | + | |
| 254 | +### 3.4 Sweep 4:2:2 and the controls | |
| 255 | + | |
| 256 | +| cell | ss | geometry | depth | pre | post | post Y/U/V | | |
| 257 | +|---|---|---|---|---|---|---| | |
| 258 | +| `s422_320x240` | 10 | 320x240 | 8 | EXACT | EXACT | 0/0/0 | | |
| 259 | +| `s422_320x242` | 10 | 320x242 | 8 | DIVERGES | **EXACT** | 0/0/0 | | |
| 260 | +| `s422_320x246` | 10 | 320x246 | 8 | DIVERGES | DIVERGES | **0/8339/5903** | | |
| 261 | +| `s422_322x240` | 10 | 322x240 | 8 | DIVERGES | DIVERGES | 0/22969/22534 | | |
| 262 | +| `s422_322x242` | 10 | 322x242 | 8 | EXACT | EXACT | 0/0/0 | | |
| 263 | +| `s422_322x246` | 10 | 322x246 | 8 | DIVERGES | DIVERGES | **0/3603/2324** | | |
| 264 | +| `s422_326x240` | 10 | 326x240 | 8 | DIVERGES | **EXACT** | 0/0/0 | | |
| 265 | +| `s422_326x242` | 10 | 326x242 | 8 | EXACT | EXACT | 0/0/0 | | |
| 266 | +| `s422_326x246` | 10 | 326x246 | 8 | DIVERGES | **EXACT** | 0/0/0 | | |
| 267 | +| `s422_384x240` | 10 | 384x240 | 8 | DIVERGES | DIVERGES | 0/1982/2081 | | |
| 268 | +| `s422_384x242` | 10 | 384x242 | 8 | EXACT | EXACT | 0/0/0 | | |
| 269 | +| `s422_384x246` | 10 | 384x246 | 8 | EXACT | EXACT | 0/0/0 | | |
| 270 | +| `s422_320x242_10b` | 10 | 320x242 | 10 | DIVERGES | **EXACT** | 0/0/0 | | |
| 271 | +| `s422_320x250_10b` | 10 | 320x250 | 10 | EXACT | EXACT | 0/0/0 | | |
| 272 | +| `s422_352x242_10b` | 10 | 352x242 | 10 | DIVERGES | DIVERGES | 0/4858/3949 | | |
| 273 | +| `s422_352x250_10b` | 10 | 352x250 | 10 | DIVERGES | **EXACT** | 0/0/0 | | |
| 274 | +| `s422_416x242_10b` | 10 | 416x242 | 10 | DIVERGES | DIVERGES | 0/5968/4524 | | |
| 275 | +| `s422_416x250_10b` | 10 | 416x250 | 10 | DIVERGES | DIVERGES | 103250/64191/62834 | | |
| 276 | + | |
| 277 | +**4:2:0 controls: 22 of 22 byte-exact on both trees** (12 fresh 8-bit, 6 fresh 10-bit, | |
| 278 | +4 probe-cache lossless). Not one moved. **4:4:4 controls: 21 of 22 byte-exact on both | |
| 279 | +trees**, with the single exception `s444_352x242_10b` (352x242 10-bit, chroma only, | |
| 280 | +**0/1166/1413 — identical counts on both trees**, so the fix neither helped nor hurt a | |
| 281 | +format that is already on a shipping path). The 8 probe-cache lossless controls | |
| 282 | +(`ll420_a/c/d`, `ll444_a/b/c`, `ll420_allintra`, `ll444_allintra`) are byte-exact on both | |
| 283 | +trees. | |
| 284 | + | |
| 285 | +That the supported formats are bit-identical across the fix is the load-bearing control: | |
| 286 | +the delta in §3.1 is 4:2:2-specific. | |
| 287 | + | |
| 288 | +--- | |
| 289 | + | |
| 290 | +## 4. The census's numbers reproduce exactly on `cc9f2668` | |
| 291 | + | |
| 292 | +Every diverging count the census published, re-measured on my pre tree with my | |
| 293 | +instrument: | |
| 294 | + | |
| 295 | +| cell | census (cc9f2668) | my pre tree | | | |
| 296 | +|---|---|---|---| | |
| 297 | +| `Q_odd320x242` | 0/9603/14456 | 0/9603/14456 | match | | |
| 298 | +| `O_odd322x242` | 0/985/722 | 0/985/722 | match | | |
| 299 | +| `AB_inter_warp_odd` | 0/3705/4366 | 0/3705/4366 | match | | |
| 300 | +| `S_odd326x242_10b` | 0/301/751 | 0/301/751 | match | | |
| 301 | +| `s422_320x242` | 0/6337/8398 | 0/6337/8398 | match | | |
| 302 | +| `s422_320x246` | 0/38348/59491 | 0/38348/59491 | match | | |
| 303 | +| `s422_322x240` | 0/22969/22534 | 0/22969/22534 | match | | |
| 304 | +| `s422_322x246` | 0/24964/25438 | 0/24964/25438 | match | | |
| 305 | +| `s422_326x240` | 0/734/0 | 0/734/0 | match | | |
| 306 | +| `s422_326x246` | 0/24078/25112 | 0/24078/25112 | match | | |
| 307 | +| `s422_384x240` | 0/1982/2081 | 0/1982/2081 | match | | |
| 308 | +| `s422_320x242_10b` | 0/3915/5612 | 0/3915/5612 | match | | |
| 309 | +| `s422_352x242_10b` | 0/4858/3949 | 0/4858/3949 | match | | |
| 310 | +| `s422_352x250_10b` | 0/3876/1786 | 0/3876/1786 | match | | |
| 311 | +| `s422_416x242_10b` | 0/5968/4524 | 0/5968/4524 | match | | |
| 312 | +| `s422_416x250_10b` | 103250/64191/62834 | 103250/64191/62834 | match | | |
| 313 | +| `s444_352x242_10b` | 0/1166/1413 | 0/1166/1413 | match | | |
| 314 | + | |
| 315 | +17 of 17. The census's comparator and cell derivation are sound; only its verdict column | |
| 316 | +is bound to its tree. | |
| 317 | + | |
| 318 | +--- | |
| 319 | + | |
| 320 | +## 5. Recipe dependence, measured (not asserted) | |
| 321 | + | |
| 322 | +Two cells' verdicts have been claimed to depend on the encoder recipe | |
| 323 | +(`lanes/av1422ctrigger.report.md` §2d: the previous sweep's `-cpu-used 6` dodged the | |
| 324 | +defect that `--cpu-used 0` hit). That claim is tested here directly, both on the pre | |
| 325 | +tree and on the current tree: same source (`testsrc2`, 16 frames), same four trigger | |
| 326 | +flags, same geometries, **only `--cpu-used` varied** over {0, 2, 4, 6}, 16 fresh cells. | |
| 327 | + | |
| 328 | +| cell | pre (`cc9f2668`) | post (`ed7c99bc`) | | |
| 329 | +|---|---|---| | |
| 330 | +| `rc0_s422_320x242` | DIVERGES 0/6337/8398 | **BYTE-EXACT** | | |
| 331 | +| `rc0_s422_320x246` | DIVERGES 0/38348/59491 | DIVERGES 0/8339/5903 | | |
| 332 | +| `rc0_s422_322x240` | DIVERGES 0/22969/22534 | DIVERGES 0/22969/22534 | | |
| 333 | +| `rc0_s422_322x242` | BYTE-EXACT | BYTE-EXACT | | |
| 334 | +| `rc2_s422_320x242` | DIVERGES **436945**/225472/227690 | DIVERGES **436945**/225472/227690 | | |
| 335 | +| `rc2_s422_320x246` | DIVERGES 0/5372/28948 | DIVERGES 0/2584/2229 | | |
| 336 | +| `rc2_s422_322x240` | DIVERGES 0/1599/1426 | DIVERGES 0/1599/1426 | | |
| 337 | +| `rc2_s422_322x242` | DIVERGES 0/72126/73078 | **BYTE-EXACT** | | |
| 338 | +| `rc4_s422_320x242` | BYTE-EXACT | BYTE-EXACT | | |
| 339 | +| `rc4_s422_320x246` | BYTE-EXACT | BYTE-EXACT | | |
| 340 | +| `rc4_s422_322x240` | BYTE-EXACT | BYTE-EXACT | | |
| 341 | +| `rc4_s422_322x242` | BYTE-EXACT | BYTE-EXACT | | |
| 342 | +| `rc6_s422_320x242` | BYTE-EXACT | BYTE-EXACT | | |
| 343 | +| `rc6_s422_320x246` | BYTE-EXACT | BYTE-EXACT | | |
| 344 | +| `rc6_s422_322x240` | BYTE-EXACT | BYTE-EXACT | | |
| 345 | +| `rc6_s422_322x242` | BYTE-EXACT | BYTE-EXACT | | |
| 346 | + | |
| 347 | +What this shows, precisely: | |
| 348 | + | |
| 349 | +* **`--cpu-used 4` and `--cpu-used 6` produce 8 of 8 byte-exact cells on BOTH trees.** | |
| 350 | + That is the census's §2d claim confirmed as an encoder-search property: at those | |
| 351 | + efforts libaom's partition search simply never lands on the block structure that | |
| 352 | + reaches the defective arm. The old sweep's "all clean" was a true reading of a | |
| 353 | + search that did not visit the code. | |
| 354 | +* **`--cpu-used 0` still reaches it**, and on the current tree it reaches a *smaller* | |
| 355 | + region than it did on `cc9f2668` — the same shrinkage seen in `s422_320x246`. | |
| 356 | +* **A new fact, not in the census: `--cpu-used 2` reaches a class nothing else does.** | |
| 357 | + `rc2_s422_320x242` diverges **436945 wrong LUMA samples** (33% of the luma plane) plus | |
| 358 | + 225472/227690 chroma, identically on both trees. Every cell in the census and in this | |
| 359 | + report's main sweep except `s422_416x250_10b` has **Y exactly 0**; this is the second | |
| 360 | + luma-breaking 4:2:2 cell in the corpus, and it is a different failure from the one the | |
| 361 | + census's class C describes. It is byte-identical on both trees, so the skipped-intrabc | |
| 362 | + fix does not touch it. | |
| 363 | +* `--cpu-used 2` is also the only effort at which `322x242` diverges at all — the | |
| 364 | + geometry that is exact at 0, 4 and 6. So the recipe axis is not monotone in effort. | |
| 365 | + | |
| 366 | +**Consequence for any verdict:** a 4:2:2 verdict stated without its recipe is not a | |
| 367 | +statement about the decoder. Every verdict in §3 and §5 is tied to a named | |
| 368 | +`--cpu-used`. | |
| 369 | + | |
| 370 | +--- | |
| 371 | + | |
| 372 | +## 6. What the shipped tree does today | |
| 373 | + | |
| 374 | +Measured on the **clean** tree (bypass reverted, `decode_probe` rebuilt from | |
| 375 | +`stream.rs` with the refusal in force), all 95 cells: | |
| 376 | + | |
| 377 | +| chroma | cells | REFUSES | BYTE-EXACT | DIVERGES | | |
| 378 | +|---|---|---|---|---| | |
| 379 | +| 4:2:2 | **51** | **51** | 0 | 0 | | |
| 380 | +| 4:2:0 | 22 | 0 | 22 | 0 | | |
| 381 | +| 4:4:4 | 22 | 0 | 21 | 1 (`s444_352x242_10b`) | | |
| 382 | + | |
| 383 | +**All 51 4:2:2 cells refuse with one identical string** (`unsupported: AV1 | |
| 384 | +decode_stream (a chroma format of 4:2:2 (subsampling_x != subsampling_y): …)`) — one | |
| 385 | +message across every geometry, depth and origin in the corpus, including the nine | |
| 386 | +committed fixtures. The refusal is total and uniform, and it is exactly as unconditional | |
| 387 | +as `stream.rs:1803` reads. It is also the only thing standing between the 4:4:4 defect | |
| 388 | +and shipped pixels. | |
| 389 | + | |
| 390 | +--- | |
| 391 | + | |
| 392 | +## 7. Decision table — numbers and classes only | |
| 393 | + | |
| 394 | +| | 4:2:2 | 4:2:0 control | 4:4:4 control | | |
| 395 | +|---|---|---|---| | |
| 396 | +| corpus cells measured | 32 | 4 | 4 | | |
| 397 | +| corpus byte-exact (**current**) | **32** | 4 | 4 | | |
| 398 | +| corpus diverging (**current**) | **0** | 0 | 0 | | |
| 399 | +| fresh sweep cells | 18 | 18 | 18 | | |
| 400 | +| fresh sweep byte-exact (**current**) | **11** | 18 | 17 | | |
| 401 | +| fresh sweep diverging (**current**) | **7** | 0 | 1 | | |
| 402 | +| fresh reproducer (`R422_320x242`) | 1 exact | — | — | | |
| 403 | +| **total measured** | **51** | **22** | **22** | | |
| 404 | +| **byte-exact (current)** | **44** | **22** | **21** | | |
| 405 | +| **diverging (current)** | **7** | **0** | **1** | | |
| 406 | +| **refusing (shipped tree)** | **51** | 0 | 0 | | |
| 407 | +| of the exact, committed-pin-backed | 9 | 0 | 0 | | |
| 408 | +| of the exact, probe-only (no sha in repo) | 35 | 22 | 21 | | |
| 409 | +| *(was: byte-exact at `cc9f2668`)* | *34* | *22* | *21* | | |
| 410 | +| *(was: diverging at `cc9f2668`)* | *17* | *0* | *1* | | |
| 411 | + | |
| 412 | +### 7.1 Remaining failure classes, with the recipe that reproduces each | |
| 413 | + | |
| 414 | +| class | cells (current) | recipe | worst cell | | |
| 415 | +|---|---|---|---| | |
| 416 | +| **A — chroma-only, U+V, every frame**, the dominant class | 4: `s422_322x240`, `s422_416x242_10b`, `s422_352x242_10b`, `s422_320x246` | `mksweep.sh`, `--cpu-used 0`, 8-bit 4 widths x 3 heights / 10-bit 3 x 2 | `s422_322x240` 45503 samples | | |
| 417 | +| **A' — same class, region shrunk by the intrabc fix, still open** | 2: `s422_320x246`, `s422_322x246` | `--cpu-used 0`, `320x246` / `322x246` | `s422_320x246` 14242 samples | | |
| 418 | +| **B — starts at decode frame 1, not frame 0** | 1: `s422_384x240` (11/17 frames bad) | `--cpu-used 0`, 384x240 | 4063 samples | | |
| 419 | +| **C — luma also wrong, 10-bit** | 1: `s422_416x250_10b` | `--cpu-used 0`, 416x250 10-bit | **230275 samples** | | |
| 420 | +| **D — not 4:2:2: 10-bit 4:4:4 chroma** | 1: `s444_352x242_10b` | `--cpu-used 0`, 352x242 10-bit 4:4:4 | 2579 samples | | |
| 421 | +| **E — NEW, found here: luma desync at `--cpu-used 2`** | 1: `rc2_s422_320x242` | **`--cpu-used 2`**, 320x242 8-bit | **890107 samples** | | |
| 422 | + | |
| 423 | +**Worst current 4:2:2 divergence:** `s422_416x250_10b`, 230275 wrong samples. Worst | |
| 424 | +overall including the new class E: `rc2_s422_320x242`, 890107 wrong samples including | |
| 425 | +436945 luma. Smallest current 4:2:2: `s422_384x240`, 4063. | |
| 426 | + | |
| 427 | +### 7.2 What a production lift would and would not cover today, as arithmetic | |
| 428 | + | |
| 429 | +* Lifting the header refusal would put **44 byte-exact 4:2:2 cells** on a shipping path. | |
| 430 | + **9** of them are committed bytes; the other 35 exist only in | |
| 431 | + `/home/user/.cache/cells/`, `/home/user/.cache/lane-av1422ctintrabc/cells/` and | |
| 432 | + this lane's sweep directory, so a lift would ship **no committed pixel gate** for any | |
| 433 | + of them unless those fixtures are committed first. | |
| 434 | +* A lift would expose **7 diverging 4:2:2 cells** — one in seven of the 4:2:2 corpus | |
| 435 | + measured, down from one in three at `cc9f2668`. Two of them (`s422_416x250_10b`, | |
| 436 | + and class E if a `--cpu-used 2` stream ever arrives) fail in the **luma plane**. | |
| 437 | +* A lift would **not** fix class D: `s444_352x242_10b` is a 4:4:4 defect, already | |
| 438 | + reachable, already diverging with the refusal standing, unchanged by the fix. | |
| 439 | +* A lift would **not** reach class E, which is invisible at every recipe the census swept. | |
| 440 | +* The lift's blast radius is not bounded by this census: §8. | |
| 441 | + | |
| 442 | +**This report recommends no product decision.** The numbers above are the input to one. | |
| 443 | + | |
| 444 | +--- | |
| 445 | + | |
| 446 | +## 8. What is NOT measured | |
| 447 | + | |
| 448 | +1. **12-bit.** No 12-bit cell was encoded or measured. 4:2:2 12-bit remains entirely | |
| 449 | + unmeasured, on both trees. | |
| 450 | +2. **Superres.** No superres 4:2:2 cell. `EC_AV1_FINAL_DUMP` is post-superres so such a | |
| 451 | + cell would be measurable with this instrument; none was built. | |
| 452 | +3. **The `--cpu-used` axis is sampled at {0, 2, 4, 6} only**, on four geometries at 8-bit. | |
| 453 | + Class E was found at one sample point of that axis; the axis is not swept. | |
| 454 | +4. **No other encoder knob is varied.** `--cq-level` is fixed at 24, `--lag-in-frames` at | |
| 455 | + 25, altref and global motion on, `--pass=1`, 16 frames, `testsrc2` only. Per | |
| 456 | + `lanes/av1422ctrigger.report.md` §2e a repeated aomenc flag takes the FIRST occurrence, | |
| 457 | + so a naive flag sweep would silently measure the base arm twice. | |
| 458 | +5. **Film grain, order_hint streams, tiles at odd sizes beyond the corpus.** | |
| 459 | +6. **Frame-size changes within one stream** — untested here. | |
| 460 | +7. **Monochrome and 4:4:0** — not codable, out of scope by the existing gate. | |
| 461 | +8. **Nothing here attributes the residual divergences to a source line.** §3.1 shows the | |
| 462 | + fix's reach exactly, and §3.1's shrink-only pair shows a second writer inside the same | |
| 463 | + rectangle at the same first-divergence coordinate. Which writer, is not answered. | |
| 464 | +9. **The display-order basis was not re-measured.** Everything here is the DECODE basis | |
| 465 | + (`.f<N>` = decode index, hidden alt-refs included), as in the census. For the cells | |
| 466 | + that closed, decode-basis exactness implies display-basis exactness; for the 7 that | |
| 467 | + did not, no display-basis number is claimed here. | |
| 468 | +10. **No committed pixel gate exists for any 4:2:2 cell.** Every number in this report is | |
| 469 | + probe-only evidence, exactly as in the census; the 23 probe-only corpus cells are | |
| 470 | + pinned by no sha in this repository. | |
| 471 | +11. **Nothing was fixed.** Every failure above is a report line. | |
| 472 | + | |
| 473 | +--- | |
| 474 | + | |
| 475 | +## 9. Should `lanes/av1422census.report.md` be annotated as stale? — verdict per line | |
| 476 | + | |
| 477 | +Yes, but only on the **verdict columns and the counts derived from them**. The | |
| 478 | +comparator, the cell derivation, the liveness proof, the encoder-recipe narrative and the | |
| 479 | +negative controls are all confirmed by independent re-measurement and must stand | |
| 480 | +unannotated. Line-precise: | |
| 481 | + | |
| 482 | +**STALE — must be annotated or struck:** | |
| 483 | + | |
| 484 | +| lines | what is stale | replacement | | |
| 485 | +|---|---|---| | |
| 486 | +| **14–19** | "of 50 distinct 4:2:2 cells measured today, 34 decode byte-exact and 16 diverge" | at current main: 51 measured, 44 exact, 7 diverge. The sentence's whole point ("12 of 18 fresh cells diverge") becomes 7 of 18. | | |
| 487 | +| **37–38** | `4:2:2 byte-exact 34` / `4:2:2 diverging 16` | 44 / 7 (and the measured-cell count 50 → 51) | | |
| 488 | +| **210, 223, 224, 226** | corpus table rows for `AB_inter_warp_odd`, `O_odd322x242`, `Q_odd320x242`, `S_odd326x242_10b` | verdict `BYTE-EXACT`, 0/0/0 | | |
| 489 | +| **284, 289, 291, 313, 316** | sweep rows `s422_320x242`, `s422_326x240`, `s422_326x246`, `s422_320x242_10b`, `s422_352x250_10b` | verdict `BYTE-EXACT`, 0/0/0 | | |
| 490 | +| **285, 288** | sweep rows `s422_320x246`, `s422_322x246` | still `DIVERGES`, but the counts shrink: 38348/59491 → **8339/5903**, 24964/25438 → **3603/2324** | | |
| 491 | +| **374–445** (§4 per-cell detail blocks) | the 10 now-exact cells' blocks; the 2 shrunk cells' blocks | delete / restate; the blocks are a correct record of `cc9f2668` | | |
| 492 | +| **447–465** (TOTALS + the `Counter`) | `Counter({'BYTE-EXACT': 77, 'DIVERGES': 17})` and the 16-entry totals list | current over the same 94-cell list: 86 exact, 8 diverge | | |
| 493 | +| **470–488** (§4 class A/B reading) | "13 of the 16 diverging", "Class B — U-only `s422_326x240`", "worst cell `Q_odd320x242` 24059" | class B is **gone** (`s422_326x240` closed); classes shrink to 6 in 4:2:2 + 1 in 4:4:4 | | |
| 494 | +| **491–493** | "Class C — worst cell in the census by an order of magnitude" | still true of this census, but it is no longer the worst 4:2:2 cell measured overall — class E (`rc2_s422_320x242`, 890107) exceeds it and the census never saw it | | |
| 495 | +| **500–519** (§4.1 display basis) | all 16 rows | **not re-measured by me** — annotate as "display basis, measured at `cc9f2668`, not re-verified" rather than restating | | |
| 496 | +| **522–537** (§5) | the "`s444_352x242_10b` decodes, DIVERGES 0/1166/1413" row is **still true**; the "50 of 50 refuse by name" count becomes 51 of 51 | mostly stands; update the count | | |
| 497 | +| **565–592** (§7 decision table) | every number in it: 34/16, corpus 28/4, sweep 6/12, "A lift would expose 16 diverging cells", the class table with 13 + 1 + 1 + 1 | current: 44/7, corpus 32/0, sweep 11/7, 7 diverging exposed, classes A(4) + A'(2) + B(1) + C(1) + D(1) + **E(1, new)** | | |
| 498 | +| **596–603** | "Largest 8-bit: `s422_320x246`, 97839. Smallest: `s422_326x240`, 734." | `s422_326x240` closed; largest current 4:2:2 8-bit is `s422_320x246` at 14242, smallest is `s422_384x240` at 4063 | | |
| 499 | + | |
| 500 | +**NOT stale — leave alone:** | |
| 501 | + | |
| 502 | +| lines | why | | |
| 503 | +|---|---| | |
| 504 | +| 41–145 (§1, comparator + 48-arm flip table) | re-proven independently here, 42/42 arms, same disciplines, plus non-zero-baseline arms the census lacked | | |
| 505 | +| 149–186 (§2, cell derivation) | re-derived from scratch: 242 probe cells, 44 candidates, **32 distinct after sha dedup, 9 committed** — identical | | |
| 506 | +| **29–37** (§0 "the previous sweep used ffmpeg -cpu-used 6 over a rejected y4m") | confirmed and sharpened: `--cpu-used 4` and `6` produce 8/8 byte-exact cells on both trees (§5) | | |
| 507 | +| 236–259 (§3 recipe + grid) | the 54 fresh encodes are **byte-identical sha256** to the census's | | |
| 508 | +| 315–338 (§3.1 controls) | 4:2:0 22/22 exact and the `s444_352x242_10b` 4:4:4 defect all reproduce exactly | | |
| 509 | +| 538–560 (§6 reproducing any row) | paths and recipes all valid | | |
| 510 | +| 611–641 (§8 what is not measured) | still true; item 8's attribution refutation is untouched — and this census does not attribute either | | |
| 511 | +| 645–658 (§9 regression) | the 181-passed baseline reproduces on the current tree | | |
| 512 | + | |
| 513 | +**My recommendation on the annotation:** the block at lines 3–11 that Main already added | |
| 514 | +is correct but under-scoped — it says "every DIVERGES verdict in the tables below for | |
| 515 | +those four cells … and any fresh-sweep cell of the same class". The measured class is | |
| 516 | +**wider than "the same class"**: it is exactly **12 cells** (the 10 closures of §3.1 plus | |
| 517 | +the 2 shrink-only cells, whose counts also changed). A reader who takes "the same class" | |
| 518 | +to mean "cells the fix fully closed" will leave §3.1's two shrunk rows un-annotated and | |
| 519 | +quote 38348/59491 as current. Suggest widening that sentence to name the 12 and to point | |
| 520 | +at §3.1 rather than describing the class. | |
| 521 | + | |
| 522 | +--- | |
| 523 | + | |
| 524 | +## 10. Regression | |
| 525 | + | |
| 526 | +On the clean current tree (bypass reverted), worktree `lane-av1422census2`: | |
| 527 | + | |
| 528 | +``` | |
| 529 | +cargo test -p ec-av1 --lib -- 422 444 420 lossless warp intra \ | |
| 530 | + --skip bitrate_target_lands_within_5_percent_over_48_frames | |
| 531 | +``` | |
| 532 | + | |
| 533 | +``` | |
| 534 | +test result: ok. 181 passed; 0 failed; 2 ignored; 0 measured; 619 filtered out; finished in 355.82s | |
| 535 | +``` | |
| 536 | + | |
| 537 | +Identical to the census's own baseline (181 passed). Baseline for this lane; no source | |
| 538 | +change is proposed, so there is no "after". | |
| 539 | + | |
| 540 | +--- | |
| 541 | + | |
| 542 | +## 11. Reproducing any row | |
| 543 | + | |
| 544 | +```bash | |
| 545 | +# instrument + cells (this lane) | |
| 546 | +D=/home/user/.cache/census422b # cmp422.py run.py liveness.py discover.py mksweep.sh | |
| 547 | + | |
| 548 | +# 1. derive the cell list (aomdec header classification, sha dedup) | |
| 549 | +python3 $D/discover.py /home/user/.cache/wt/av1422census2 $D/cells.json | |
| 550 | +# -> {"probe":242,"fixture":104,"c422":44,"c422_unique":32,"dup_dropped":12} | |
| 551 | + | |
| 552 | +# 2. the sweep, at the census's recipe (deterministic: 54/54 sha-identical to the census) | |
| 553 | +DEPTHS=8 WIDTHS="320 322 326 384" HEIGHTS="240 242 246" OUT=$D/sweep bash $D/mksweep.sh | |
| 554 | +DEPTHS=10 WIDTHS="320 352 416" HEIGHTS="242 250" OUT=$D/sweep bash $D/mksweep.sh | |
| 555 | + | |
| 556 | +# 3. one cell, either tree (both need the patch-run-restore 4:2:2 bypass) | |
| 557 | +EC_AV1_FINAL_DUMP=$W/oracle ~/.cache/aom-oracle/build/aomdec --codec=av1 -o $W/o.y4m CELL.obu | |
| 558 | +EC_AV1_FINAL_DUMP=$W/ours EC_NOMEMGUARD=1 ~/.cache/tgt/av1422census2/debug/examples/decode_probe CELL.obu | |
| 559 | +python3 $D/cmp422.py CELL $W/ours $W/oracle W H SSX SSY DEPTH | |
| 560 | + | |
| 561 | +# 4. liveness (per plane, per cell, per frame) | |
| 562 | +python3 $D/liveness_post.py $D/live_spec.json $D/liveness_post.json # exact + corpus | |
| 563 | +python3 $D/liveness_post.py $D/live_spec_div.json $D/liveness_div.json # diverging baselines | |
| 564 | + | |
| 565 | +# 5. the recipe axis | |
| 566 | +bash $D/mkrecipe.sh && python3 $D/run_post.py $D/cells_recipe.json $D/recipe_post.json | |
| 567 | +``` | |
| 568 | + | |
| 569 | +Trees: `wt/av1422census2` (`ed7c99bc`, `CARGO_TARGET_DIR=…/tgt/av1422census2`) and | |
| 570 | +`wt/av1422census2-pre` (`cc9f2668`, `…/tgt/av1422census2-pre`). Drivers `run_post.py`, | |
| 571 | +`run_pre.py`, `run_ship.py` differ only in `PROBE` and `WORK`; all three carry the | |
| 572 | +identical `cmp422.compare` comparator. |