Lane-lr r9 charter -- run the gate after r8's SGR table fix, then merge main
Browse files at this commitd516ed5cb4310a2c8e65ffea927c64d594e00bc4Parent: 09e8afa- docs
- lane-lr r9 charter -- run the gate after r8's SGR table fix, then merge main
1 changed file +42 -0
- lanes/lr-r9.charter.md +42 -0
lanes/lr-r9.charter.mdadded+42 -0
| @@ -0,0 +1,42 @@ | |||
| 1 | +# lane-lr r9 — finish what r8 started | ||
| 2 | + | ||
| 3 | +At 7ad6d77. Read `lanes/lr-r8.charter.md` (still your charter — r8 never got to | ||
| 4 | +report) and the r7 section of `lanes/lr.report.md`. | ||
| 5 | + | ||
| 6 | +r8 stopped at its turn cap having done two things: | ||
| 7 | +1. **Found and fixed a real defect** — `SGR_X_BY_XPLUS1` was mistranscribed at | ||
| 8 | + `av1_x_by_xplus1[101]` and `[165..=169]`, committed at 7ad6d77. Whether that | ||
| 9 | + closes the 3110-vs-3109 gap is UNKNOWN to me: the round never reported a | ||
| 10 | + gate result. **Run the LR gate first and find out** before assuming either | ||
| 11 | + way — and say plainly in your report which it was. | ||
| 12 | +2. Started a merge of an already-stale `main`. I aborted it; nothing of yours | ||
| 13 | + was lost. Redo it against current `main` (a8724cb, far ahead: tile rows, | ||
| 14 | + delta_q/delta_lf, key-frame superres, palette-Y, a `bit_depth != 8` refusal, | ||
| 15 | + and two guard tests that will fail until this branch's refusal list matches). | ||
| 16 | + | ||
| 17 | +If the gate is still red, the r8 charter's method stands and has not been tried: | ||
| 18 | +decode the ONE pinned stream `fixtures/lr-sgr-r7.obu` (seed 46, `EC_AV1_GATE_DUMP` | ||
| 19 | +already wired at `stream.rs` ~4791) instead of the 40-attempt sweep, with a dump | ||
| 20 | +keyed CALL-UNIQUELY to the failing call — r6's coordinate-keyed dump | ||
| 21 | +(`v_start == 60`) captured some other invocation and cost a whole round | ||
| 22 | +([[dump-not-call-unique]]). `lr_sample`, the box-sum formula and the fast arm are | ||
| 23 | +independently reconfirmed correct; do not re-suspect them. | ||
| 24 | + | ||
| 25 | +Note that r8's find is itself the lesson: a mistranscribed constant in a 256-entry | ||
| 26 | +table is invisible to every by-hand review and shows up as a one-off arithmetic | ||
| 27 | +gap. If the gate is still red, diff the OTHER SGR tables against libaom | ||
| 28 | +wholesale — `av1_one_by_x`, the `sgr_params` rows — before tracing anything. | ||
| 29 | + | ||
| 30 | +Merge `main` into this branch, resolve it yourself, and land the round green so | ||
| 31 | +the SGR fix can reach main either way: a correct table fix is worth merging even | ||
| 32 | +if the last pixel is still out, provided the gate's status is stated honestly. | ||
| 33 | + | ||
| 34 | +Hard rules: `CARGO_TARGET_DIR=$HOME/.cache/cargo-target-lr`; foreground | ||
| 35 | +`nice -n 19 cargo ... -j4`; every `cargo test` a timeout >= 600000 ms; | ||
| 36 | +`EC_AV1_REQUIRE_AOMENC=1`. The oracle at `~/.cache/aom-oracle` is SHARED with | ||
| 37 | +five sibling lanes — instrument only via env-gated rungs in | ||
| 38 | +`scripts/instrument-aom-oracle.sh`, never a throwaway patch left in the tree, and | ||
| 39 | +note that rung numbers 6, 7, 8 and 8b are already taken on main; take 9. Sibling | ||
| 40 | +worktrees have live agents — never build in or edit them. Never push, never merge | ||
| 41 | +this branch into main. 75-turn cap, does not reset: COMMIT AT EVERY GREEN STEP. | ||
| 42 | +End with `lanes/lr-r9.report.md`, VERDICT on line 1. | ||