forge
Explore
Log in

Don't you dare go Hollow

Lane-sbpart r5 charter -- entropy or reconstruction, answer that first

Browse files at this commit

d3ce9a268774b2c17103439117e4f42f97ea4c4aAhmet Kaan GümüşParent: 1677429
  • docs
    • lane-sbpart r5 charter -- entropy or reconstruction, answer that first
Show full message
docs(av1): lane-sbpart r5 charter -- entropy or reconstruction, answer that first
lanes/sbpart-r5.charter.mdadded+47 -0
@@ -0,0 +1,47 @@
1+# lane-sbpart r5 — the rect64 bisect, third attempt
2+
3+At 2f51dc1. Read `lanes/sbpart-r4.charter.md` and `lanes/sbpart-r2.report.md`.
4+
5+Two rounds have now died at the cap on this without reporting. r4 stopped while
6+adding "one more targeted trace print to pin down whether the desync is in symbol
7+reading or purely in reconstruction" — I committed its edits verbatim, trace
8+prints included, state unverified. **Answer that exact question first**, because
9+it splits the search in half:
10+- If the ENTROPY stream desyncs (a symbol read that libaom does not write, or
11+ vice versa), it is a range-ladder problem: compare msac RANGE element by
12+ element against the oracle, never `tell()` ([[compare-range-not-tell]]), and
13+ remember that a reference range that does not move where ours does means we
14+ read a symbol it never wrote ([[equal-range-means-unread]]).
15+- If the symbols match and only pixels differ, it is reconstruction: the
16+ corner-embed stride versus `dequant_and_inverse_typed_wh`'s w/h ordering for
17+ 64x32 vs 32x64, or `default_scan(TX32)` versus the shared `scan32`. If you
18+ touch scanning, sweep the transposed copy in the SAME round
19+ ([[scan-weights-cross-axis]]).
20+
21+Report which of the two it is even if you fix nothing else. That answer is worth
22+more than another partial trace, and it is what the last two rounds failed to
23+deliver.
24+
25+Then merge `main` into this branch (now 913df61 — loop restoration filters
26+landed on top of tile rows, superres, palette-Y and delta_q/delta_lf) and resolve
27+it yourself. Watch for the merge shape that has now bitten three times: git
28+merges the text cleanly while a newer gate calls a decoder whose signature this
29+branch changed. Compile after every merge, not just at the end.
30+
31+Gate-recipe facts already paid for: `--enable-tx-size-search=0` is REQUIRED, and
32+`--enable-ab-partitions=0` does NOT gate AB at 64x64, so use plain
33+`gradients_source`.
34+
35+## Budget discipline (I am serious about this)
36+You have 75 turns and they do NOT reset if you are resumed. At roughly turn 55,
37+STOP starting new work: commit what is green, and write your report. Five rounds
38+in the last batch died mid-edit with nothing reported, and each cost a whole
39+round to recover. A round that ends with an honest report beats one that ends
40+five turns deeper into an edit.
41+
42+Hard rules: `CARGO_TARGET_DIR=$HOME/.cache/cargo-target-sbpart`; foreground
43+`nice -n 19 cargo ... -j4`; every `cargo test` a timeout >= 600000 ms;
44+`EC_AV1_REQUIRE_AOMENC=1`; aomenc `--threads=1 --row-mt=0 --sb-size=64`. Oracle
45+rungs 6, 7, 8, 8b are taken — take 9; the oracle is SHARED, env-gated rungs only.
46+Sibling worktrees have live agents — never build in or edit them. Never push,
47+never merge into main. End with `lanes/sbpart-r5.report.md`, VERDICT on line 1.