forge
Explore
Log in

Don't you dare go Hollow

The search-free arm, the fire-share census, the decision (LAST2 ships off) and the handover

Browse files at this commit

707505a27a3738b63979b6f03156122f4cb24aa4Ahmet Kaan GümüşParent: 7254fd0
  • docs
    • the search-free arm, the fire-share census, the decision (LAST2 ships off) and the handover
Show full message
docs(last2): the search-free arm, the fire-share census, the decision (LAST2 ships off) and the handover
lanes/last2.report.mdmodified+63 -0
@@ -1,5 +1,25 @@
1 # lane-last2 — a second past reference (LAST2) on the pyramid1 # lane-last2 — a second past reference (LAST2) on the pyramid
2 2
3+> **HANDOVER (session closed mid-lane).** What is DONE: the DPB/slot
4+> bookkeeping, the search offer at 32x32, the witness, and both 12-frame
5+> arms on both films — the lever is REFUTED on the gate and ships OFF
6+> (`LAST2 = false`, `EC_AV1_LAST2=1` turns it on). What is STILL OWED:
7+> (a) the three suite split arms (`--skip stream::` / `stream:: --skip 10bit`
8+> / `10bit`) were never run on this branch; (b) `cargo check --workspace
9+> --all-targets` was green BEFORE the last two commits (the `EC_AV1_LAST2_NEW`
10+> knob and the gate's reference census) — re-run it; (c) the preset-6
11+> invariant arm failed ONLY on
12+> `the_encoders_own_streams_are_byte_identical_to_their_pins` (q=150: 9846 vs
13+> the 8562 pin) with `EC_AV1_LAST2=0`, i.e. with every one of this lane's
14+> paths switched off — the pins are DEFAULT-preset pins and `EC_AV1_SPEED=6`
15+> moves the stream, so this is believed pre-existing and NOT this lane's, but
16+> it was not confirmed against main; confirm it there first. Preset 0 with
17+> `EC_COMP_MISMATCH=1` passed all six invariants including the pins.
18+> (d) the compound `LAST_LAST2` step (charter step 4) was not built: with
19+> LAST2 winning only 1.3–1.7% of inter blocks as a single reference and both
20+> single-ref arms losing, its ceiling is too small to spend the wall on.
21+> No long-GOP arm was run because nothing ships (same reasoning as lane-refs).
22+
3 Worktree `edith_codecs-last2`, branch `lane-last2` off main e6df5196.23 Worktree `edith_codecs-last2`, branch `lane-last2` off main e6df5196.
4 Charter: `lanes/refs.report.md` §6. Every gate arm is the prebuilt release24 Charter: `lanes/refs.report.md` §6. Every gate arm is the prebuilt release
5 lib-test binary running `bd_rate_screen_native` (12 pictures, `gop 12`, four25 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
108 arm costs +16% / +23% encoder wall, on the stage the user's speed order is128 arm costs +16% / +23% encoder wall, on the stage the user's speed order is
109 about. So the searched arm is refuted.129 about. So the searched arm is refuted.
110 130
131+| LAST2 search-FREE (`EC_AV1_LAST2_NEW=0`) | +21.5 / −4.5 | **+27.3 / −0.0** | 194.3 s / 171.3 s |
132+
133+The charter's "free arm" does not rescue it: film A is 0.2 down on libaom and
134+0.1 up on rav1e, film B is 0.4 / 0.6 the wrong way on both columns. The wall
135+comes back (194 s / 171 s against the control's 208 s / 165 s, i.e. inside the
136+gate's own wall noise), so the cost of the searched arm was indeed the second
137+motion search — but the reference itself does not pay for its own syntax.
138+
139+**Fire share, on the real film rows** (the census the gate now prints):
140+
141+| clip | LAST | LAST2 | GOLDEN | ALTREF | LAST2 share |
142+|---|---|---|---|---|---|
143+| film A | 41871 | 780 | 1349 | 916 | 1.7% |
144+| film B | 39412 | 566 | 1894 | 1807 | 1.3% |
145+| bars 1080p | 22626 | 58 | 4067 | 206 | 0.2% |
146+
147+So the tool DOES fire on real film (it is not a dead knob — the witness and
148+these counters are the [[gate-blind-to-feature]] proof), it is simply chosen
149+by 1 block in 60 and those blocks do not pay back the `single_ref` symbol they
150+spend. Read against `refs.report.md` §1's census (38% of blocks preferring the
151+older picture by SAD): a pure-SAD best-of-two over-counts the lever by more
152+than an order of magnitude once the block also has NEAR/NEAREST/DRL off LAST,
153+a backward `ALTREF` at every leaf, and a rate term.
154+
155+## 5. Decision
156+
157+`LAST2` ships **OFF** (`const LAST2: bool = false`). The machinery stays: it
158+is the only way the census's remaining claim can ever be re-measured, it is
159+witnessed end to end, and it costs the default path nothing (a `None` picture
160+is filtered out of the `extra` list and the header is untouched — the pins are
161+byte-identical with the lever off).
162+
163+## 6. Deferred / dropped
164+
165+* **The compound `LAST_LAST2` pair (charter step 4) — dropped, not deferred.**
166+ Its input is the single-reference arm, which loses on both films with a
167+ 1.5% fire share.
168+* **The ARF-level LAST2 (charter step 1) — dropped as a stale premise**, §0.
169+* **The RD pricer charges `ALTREF` as if it were `LAST`** (`single_ref_bits`,
170+ `encode.rs`): a backward reference codes `p1=1,p2=1`, two different symbols
171+ from LAST's `p1=0,p3=0,p4=0`. Left alone here because fixing it moves every
172+ shipped stream, so it needs its own gate arm — deferred, unblocked by a lane
173+ that can re-pin. Found while adding LAST2's own leaf to that same tree.