Lane-sbpart r9 charter -- rank the 25 refusals, then close them in frequency order
Browse files at this commit6ba4dab17b06abc3526044be9faf4fa7dd7d84b2Parent: e673d71- docs
- lane-sbpart r9 charter -- rank the 25 refusals, then close them in frequency order
1 changed file +39 -0
- lanes/sbpart-r9.charter.md +39 -0
lanes/sbpart-r9.charter.mdadded+39 -0
| @@ -0,0 +1,39 @@ | |||
| 1 | +# lane-sbpart r9 — stage 2 | ||
| 2 | + | ||
| 3 | +At main-merged HEAD. r8 CLOSED the rect64 luma corner defect (nz_map offsets are | ||
| 4 | +indexed by the raw `tx_size`; the 32x64 and 64x32 tables genuinely differ from | ||
| 5 | +the square one) and it is merged to main. Read `lanes/sbpart-r8.report.md`. | ||
| 6 | + | ||
| 7 | +The gate now reads 15/40 pixel-exact, 25 named refusals, 0 mismatches, | ||
| 8 | +`sb_rect_hits=36`. **Twenty-five refusals is the number to attack**: each one is | ||
| 9 | +a case a real default-ish aomenc stream produces that this decoder still will | ||
| 10 | +not decode. Start by listing them with counts — which refusal fires how often | ||
| 11 | +across the 40 attempts — and put that table in your report. That ranking decides | ||
| 12 | +this round's order, and it is worth more to the lane than any single fix. | ||
| 13 | + | ||
| 14 | +Then take them in frequency order. Two are already known and in scope: | ||
| 15 | +- the 32x32 `part32` values under a superblock strip (stage 2 proper); | ||
| 16 | +- `"a superblock-level HORZ/VERT strip with a split transform (per-unit rect | ||
| 17 | + prediction is not ported)"`. | ||
| 18 | + | ||
| 19 | +For each: gate the case fires, implement, prove pixel-exact, lift the refusal and | ||
| 20 | +update `refusal_inventory.rs` in the SAME commit. Declare every new refusal you | ||
| 21 | +add — the inventory test fails the build otherwise. | ||
| 22 | + | ||
| 23 | +r8's own class note: the same raw-vs-adjusted `tx_size` table indexing is worth a | ||
| 24 | +grep sweep in anything touching transforms above 32. It checked the one sibling | ||
| 25 | +site (`decode_block`'s plain 64x64 corner) and found it genuinely square, so | ||
| 26 | +nothing else is owed right now — but if you add a size-indexed table lookup, | ||
| 27 | +check which size libaom indexes it by. | ||
| 28 | + | ||
| 29 | +## Budget discipline | ||
| 30 | +75 turns, no reset on resume. At about turn 55, stop starting new work: commit | ||
| 31 | +what is green and write your report. | ||
| 32 | + | ||
| 33 | +Hard rules: `CARGO_TARGET_DIR=$HOME/.cache/cargo-target-sbpart`; foreground | ||
| 34 | +`nice -n 19 cargo ... -j4`; every `cargo test` a timeout >= 600000 ms; | ||
| 35 | +`EC_AV1_REQUIRE_AOMENC=1`; aomenc `--threads=1 --row-mt=0 --sb-size=64`, and | ||
| 36 | +this gate's recipe needs `--enable-tx-size-search=0`. Oracle rung 11 is yours and | ||
| 37 | +already live. Sibling worktrees have live agents — never build in or edit them. | ||
| 38 | +Never push, never merge into main; I handle merges. End with | ||
| 39 | +`lanes/sbpart-r9.report.md`, VERDICT on line 1. | ||