diff --git a/lanes/last2.report.md b/lanes/last2.report.md index f3a8459a..b9b4a711 100644 --- a/lanes/last2.report.md +++ b/lanes/last2.report.md @@ -1,5 +1,25 @@ # lane-last2 — a second past reference (LAST2) on the pyramid +> **HANDOVER (session closed mid-lane).** What is DONE: the DPB/slot +> bookkeeping, the search offer at 32x32, the witness, and both 12-frame +> arms on both films — the lever is REFUTED on the gate and ships OFF +> (`LAST2 = false`, `EC_AV1_LAST2=1` turns it on). What is STILL OWED: +> (a) the three suite split arms (`--skip stream::` / `stream:: --skip 10bit` +> / `10bit`) were never run on this branch; (b) `cargo check --workspace +> --all-targets` was green BEFORE the last two commits (the `EC_AV1_LAST2_NEW` +> knob and the gate's reference census) — re-run it; (c) the preset-6 +> invariant arm failed ONLY on +> `the_encoders_own_streams_are_byte_identical_to_their_pins` (q=150: 9846 vs +> the 8562 pin) with `EC_AV1_LAST2=0`, i.e. with every one of this lane's +> paths switched off — the pins are DEFAULT-preset pins and `EC_AV1_SPEED=6` +> moves the stream, so this is believed pre-existing and NOT this lane's, but +> it was not confirmed against main; confirm it there first. Preset 0 with +> `EC_COMP_MISMATCH=1` passed all six invariants including the pins. +> (d) the compound `LAST_LAST2` step (charter step 4) was not built: with +> LAST2 winning only 1.3–1.7% of inter blocks as a single reference and both +> single-ref arms losing, its ceiling is too small to spend the wall on. +> No long-GOP arm was run because nothing ships (same reasoning as lane-refs). + Worktree `edith_codecs-last2`, branch `lane-last2` off main e6df5196. Charter: `lanes/refs.report.md` §6. Every gate arm is the prebuilt release lib-test binary running `bd_rate_screen_native` (12 pictures, `gop 12`, four @@ -108,3 +128,46 @@ both columns, or one ≥0.5 down and the other flat ±0.3") is not met — and t arm costs +16% / +23% encoder wall, on the stage the user's speed order is about. So the searched arm is refuted. +| LAST2 search-FREE (`EC_AV1_LAST2_NEW=0`) | +21.5 / −4.5 | **+27.3 / −0.0** | 194.3 s / 171.3 s | + +The charter's "free arm" does not rescue it: film A is 0.2 down on libaom and +0.1 up on rav1e, film B is 0.4 / 0.6 the wrong way on both columns. The wall +comes back (194 s / 171 s against the control's 208 s / 165 s, i.e. inside the +gate's own wall noise), so the cost of the searched arm was indeed the second +motion search — but the reference itself does not pay for its own syntax. + +**Fire share, on the real film rows** (the census the gate now prints): + +| clip | LAST | LAST2 | GOLDEN | ALTREF | LAST2 share | +|---|---|---|---|---|---| +| film A | 41871 | 780 | 1349 | 916 | 1.7% | +| film B | 39412 | 566 | 1894 | 1807 | 1.3% | +| bars 1080p | 22626 | 58 | 4067 | 206 | 0.2% | + +So the tool DOES fire on real film (it is not a dead knob — the witness and +these counters are the [[gate-blind-to-feature]] proof), it is simply chosen +by 1 block in 60 and those blocks do not pay back the `single_ref` symbol they +spend. Read against `refs.report.md` §1's census (38% of blocks preferring the +older picture by SAD): a pure-SAD best-of-two over-counts the lever by more +than an order of magnitude once the block also has NEAR/NEAREST/DRL off LAST, +a backward `ALTREF` at every leaf, and a rate term. + +## 5. Decision + +`LAST2` ships **OFF** (`const LAST2: bool = false`). The machinery stays: it +is the only way the census's remaining claim can ever be re-measured, it is +witnessed end to end, and it costs the default path nothing (a `None` picture +is filtered out of the `extra` list and the header is untouched — the pins are +byte-identical with the lever off). + +## 6. Deferred / dropped + +* **The compound `LAST_LAST2` pair (charter step 4) — dropped, not deferred.** + Its input is the single-reference arm, which loses on both films with a + 1.5% fire share. +* **The ARF-level LAST2 (charter step 1) — dropped as a stale premise**, §0. +* **The RD pricer charges `ALTREF` as if it were `LAST`** (`single_ref_bits`, + `encode.rs`): a backward reference codes `p1=1,p2=1`, two different symbols + from LAST's `p1=0,p3=0,p4=0`. Left alone here because fixing it moves every + shipped stream, so it needs its own gate arm — deferred, unblocked by a lane + that can re-pin. Found while adding LAST2's own leaf to that same tree.