forge
Explore
Log in

Don't you dare go Hollow

Lane-rectres report -- the rect/AB residual arm measures inert and exact on server-2, 0 search / 0 writer fires on every gate clip so BD is flat within 0.1 on both gates (long-GOP film A +20.9/-9.0 and film B +70.5/-2.1 against a control that reproduces the standing table to the digit, all five native rows within 0.1, wall +1-4 percent of pure trial cost), disposition stays-off with EC_AV1_RECTRES kept as the witnessed arm's gate

Browse files at this commit

1ae2432c9928a0000ea8f818db88995c0d21751aAhmet Kaan GümüşParent: ff133e7
  • docs
    • lane-rectres report -- the rect/AB residual arm measures inert and exact on server-2, 0 search / 0 writer fires on every gate clip so BD is flat within 0.1 on both gates (long-GOP film A +20.9/-9.0 and film B +70.5/-2.1 against a control that reproduces the standing table to the digit, all five native rows within 0.1, wall +1-4 percent of pure trial cost), disposition stays-off with EC_AV1_RECTRES kept as the witnessed arm's gate
    • pins unmoved at 8291 / 33227
Show full message
docs(av1): lane-rectres report -- the rect/AB residual arm measures inert and exact on server-2, 0 search / 0 writer fires on every gate clip so BD is flat within 0.1 on both gates (long-GOP film A +20.9/-9.0 and film B +70.5/-2.1 against a control that reproduces the standing table to the digit, all five native rows within 0.1, wall +1-4 percent of pure trial cost), disposition stays-off with EC_AV1_RECTRES kept as the witnessed arm's gate; pins unmoved at 8291 / 33227
lanes/rectres.report.mdmodified+100 -50
@@ -1,11 +1,12 @@
1 # lane-rectres — non-skip residual on Rect128/Ab128 pieces1 # lane-rectres — non-skip residual on Rect128/Ab128 pieces
2 2
3-Base: `3b4673fe` (lane-rectres worktree). Disposition: **stays-off (BD3+Base: `3b4673fe` (lane-rectres worktree). Disposition: **stays-off**
4-unmeasured — fixtures prerequisite missing; see §4)**. `EC_AV1_RECTRES`4+(inert + exact — the RD takes 0 rect/AB residual fires per frame on every
5-keeps its default (off): OFF is today's behavior bit for bit — the search5+gate clip). `EC_AV1_RECTRES` keeps its default (off): OFF is today's
6-never flips a rect/AB piece to non-skip, so the writer's lifted refusal is6+behavior bit for bit — the search never flips a rect/AB piece to non-skip,
7-never reached. Pins untouched at 8291 / 33227 (no default change, so no pin7+so the writer's lifted refusal is never reached. Pins untouched at
8-run, no lib suite). Never merged, never pushed.8+8291 / 33227 (no default change, so no pin run, no lib suite). Never
9+merged, never pushed.
9 10
10 ## 1. What shipped (commit `26a9b79e`)11 ## 1. What shipped (commit `26a9b79e`)
11 12
@@ -69,51 +70,100 @@ run, no lib suite). Never merged, never pushed.
69 "writer coded 2760; 64x64 CDEF units taking another unit's literal: 62",70 "writer coded 2760; 64x64 CDEF units taking another unit's literal: 62",
70 ok. LOADAVG 7.90/7.85/9.32 before, 9.39/8.16/9.37 after.71 ok. LOADAVG 7.90/7.85/9.32 before, 9.39/8.16/9.37 after.
71 72
72-## 3. BD measurement — NOT RUN (prerequisite missing)73+## 3. BD measurement (server-2, per Main's recipe)
73-74+
74-The control attempt of `bd_rate_film_long_gop` (gated75+The worktree has no `fixtures/`, so all four gates ran on server-2
75-`systemd-run --user -p MemoryMax=14G --wait76+(user@host-a, 4 vCPU, MemoryMax=5G units, ffmpeg PATH shim). The
76---unit=rectres-longgop-control`) skipped by name: the worktree has no77+sanity gate PASSED before drawing any conclusion: the control run
77-`fixtures/` — `h264-1080p/2160p...mp4` and78+reproduces the standing table (b128res.report §2/§3) to the digit —
78-`real-library-manifest.tsv` are absent, and the gate resolves fixtures at79+long-GOP film A +20.9/-9.0 and film B +70.4/-2.2, and all five native
79-`CARGO_MANIFEST_DIR/../../fixtures` INSIDE this worktree80+rows identical (±0.0 per cell, requirement was ±0.2).
80-(`~/.cache/rectres/longgop-control.log`: five "SKIP ... missing" lines,81+
81-"SKIP bd_rate_film_long_gop: no clip"). Media files are read-only and the82+### 3a. Long-GOP BD (deciding; 48 pictures, gop=48, both films)
82-main checkout must not be touched, so the gate needs the worktree's83+
83-fixtures directory populated (copy or symlink of the main checkout's84+Control = default (off), arm = `EC_AV1_RECTRES=1`, same HEAD. BD-rate,
84-`fixtures/`) before control and arm (`EC_AV1_RECTRES=1`) runs. Neither BD85+lower better:
85-table, fire census per clip, nor wall deltas exist yet; the keep rule is86+
86-UNMEASURED.87+| row | off vs libaom | off vs rav1e | on vs libaom | on vs rav1e |
87-88+|---|---|---|---|---|
88-UNBLOCK (verified 2026-09-12): the media fixtures themselves DO exist in89+| film A (1080p) 1920x768 | +20.9% | -9.0% | +20.9% | -9.0% |
89-the main checkout's `fixtures/` (e.g.90+| film B (2160p HDR) 1920x1024 | +70.4% | -2.2% | +70.5% | -2.1% |
90-`/home/user/Documents/Code/Rust/edith_codecs/fixtures/video/av1-1080p-23.976-8bit.mp4`91+
91-and `real-library-manifest.tsv`); only the worktree's copy is missing.92+Wall ours: film A 1394.1s -> 1417.6s (+1.7%), film B 1076.6s -> 1118.3s
92-From the worktree root: `ln -s ../edith_codecs/fixtures fixtures` (a93+(+3.9%).
93-worktree-side symlink; the media stays read-only), then re-run the two94+
94-gates: control (`cargo test -p ec-av1 --release --lib -- --ignored95+EVIDENCE: ~/.cache/rectres/longgop-control.log | server-2 gate, MemoryMax=5G,
95---exact --nocapture encode::tests::bd_rate_film_long_gop`) and the same96+ffmpeg shim PATH | film A +20.9%/-9.0%, film B +70.4%/-2.2%; three-way
96-under `EC_AV1_RECTRES=1`, then `bd_rate_screen_native` both ways, each97+exactness assertion held at every clip x q x frame. LOADAVG 0.15/0.17/0.18
97-under `systemd-run --user -p MemoryMax=14G --wait --unit=rectres-<name>`,98+before, 1.08/1.09/1.09 after.
98-one at a time, LOADAVG before/after.99+EVIDENCE: ~/.cache/rectres/longgop-arm.log | server-2 gate, EC_AV1_RECTRES=1,
99-100+MemoryMax=5G | film A +20.9%/-9.0%, film B +70.5%/-2.1%. LOADAVG
100-## 4. Disposition101+0.14/0.23/0.58 before, 1.05/1.08/1.08 after.
101-102+
102-`stays-off`. Charter branches: mismatch → stopped (none: all witnesses103+### 3b. 12-frame native guard (all five rows)
103-exact); keep rule met → ships-on (unmeasurable here); inert+exact → stays104+
104-off. With BD unrun the only safe disposition is default OFF — which is105+| row | off vs libaom | off vs rav1e | on vs libaom | on vs rav1e | wall ours off->on |
105-bit-exact today's behavior by construction (the knob gates the only path106+|---|---|---|---|---|---|
106-that flips a piece to non-skip). `fix-now | deferred(<unblock>) |107+| bars 1080p | -3.3% | -19.0% | -3.4% | -19.0% | 424.8s -> 435.7s |
107-accepted`: BD control+arm runs and the census report are108+| bars 2160p | +8.4% | -13.9% | +8.5% | -13.9% | 365.0s -> 372.8s |
108-`deferred(worktree fixtures/ populated with the real-library manifest)`;109+| film A | +17.9% | -6.3% | +17.8% | -6.4% | 369.4s -> 376.9s |
109-witnesses, writer, search arms, owner map and census line are shipped and110+| film B | +22.6% | -3.8% | +22.5% | -3.9% | 311.9s -> 318.4s |
110-accepted. Pins unmoved at 8291 / 33227. No suite run (default did not111+| screen capture | +14.4% | -33.2% | +14.4% | -33.2% | 246.4s -> 249.2s |
111-flip).112+
112-113+EVIDENCE: ~/.cache/rectres/native-control.log | server-2 gate, five rows,
113-## 5. Non-goals respected114+MemoryMax=5G | table above, "off" columns; matches the standing table to
115+the digit. LOADAVG 0.09/0.20/0.56 before, 1.14/1.15/1.09 after.
116+EVIDENCE: ~/.cache/rectres/native-arm.log | server-2 gate, five rows,
117+EC_AV1_RECTRES=1 | table above, "on" columns. LOADAVG 0.08/0.42/0.77
118+before, 1.07/1.10/1.09 after.
119+
120+### 3c. Fire census (arm runs; per clip, over the four-q ladder)
121+
122+| clip | rect/AB residual fires (search / writer) |
123+|---|---|
124+| film A long-GOP (192 frames) | 0 / 0 |
125+| film B long-GOP (192 frames) | 0 / 0 |
126+| bars 1080p (48 frames) | 0 / 0 |
127+| bars 2160p (48 frames) | 0 / 0 |
128+| film A 12f (48 frames) | 0 / 0 |
129+| film B 12f (48 frames) | 0 / 0 |
130+| screen capture (48 frames) | 0 / 0 |
131+
132+ZERO fires everywhere under the knob: unlike the parked whole-128 arm
133+(0.4-1.9 writer fires/frame), the RD never once finds a non-skip rect/AB
134+piece worth taking on real content. The arm is not merely flat — it never
135+fires. The wall deltas above (+1-4%) are the trial cost paid on every
136+skip-winning rect/AB piece for a win that never comes.
137+
138+## 4. Keep rule — NOT met; disposition
139+
140+One film row >=0.5 BD down on a column: best delta anywhere is -0.1.
141+Other film row flat within +/-0.3: yes. Screen not worse by 0.3: yes.
142+Wall <= +15%: yes. The deciding column fails and the arm is inert
143+(0 fires) — the charter's stays-off branch, now on measurement rather
144+than on a missing fixture. Default stays OFF; no pins, no suite (default
145+did not flip). `fix-now | deferred(<unblock>) | accepted`: nothing
146+deferred — the measurement asked by the charter is complete; the arm
147+itself stays parked behind `EC_AV1_RECTRES`, witnessed exact if a future
148+cost model ever makes it fire.
149+
150+## 5. Procedure notes (server-2 gates)
151+
152+Three setup snags hit and solved, for the next lane running gates there:
153+`systemd-run --user` units start in $HOME, not the caller's cwd — put the
154+`cd` inside the unit (`--pipe bash -lc 'cd ... && cargo ...'`); the
155+rsync'd worktree's `.git` FILE (a worktree pointer, not covered by
156+`--exclude /.git/`) must be `rm -f .git && git init -q .` on the server or
157+the repo's memguard test-runner (`git rev-parse --show-toplevel`) refuses
158+every test binary; and a failed unit needs
159+`systemctl --user reset-failed <unit>` before the name is reusable.
160+`pkill -f` with the unit name in the pattern kills your own ssh session.
161+
162+## 6. Non-goals respected
114 163
115 Main checkout untouched, never pushed/merged, no repo-wide formatters (a164 Main checkout untouched, never pushed/merged, no repo-wide formatters (a
116 scoped rustfmt reflow of the two edited files was fully reverted by165 scoped rustfmt reflow of the two edited files was fully reverted by
117 restoring HEAD bytes and replaying the semantic edits — the committed diff166 restoring HEAD bytes and replaying the semantic edits — the committed diff
118-is semantic-only, 643+/39-), media files read-only, one gate at a time,167+is semantic-only, 643+/39-), media files read-only, one gate at a time
119-logs under ~/.cache/rectres/.168+(both locally and on server-2), logs under ~/.cache/rectres/ and
169+/home/user/gates/logs/.