forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to lanes/av1444rect.report.mdClear filter

2026-09-28

docs(av1444rect): round 6 -- the fork's caller is NAMED: decode_intrabc_rect's non-lossless rect arm, one gather taken at the luma footprint serving a 4x8 chroma unitAhmet Kaan Gümüş · 9e73b94
docs(av1444rect): round 6 -- the fork's caller is NAMED: decode_intrabc_rect's non-lossless rect arm, one gather taken at the luma footprint serving a 4x8 chroma unit

Main asked for the caller of the read_coeffs_rect(4,8,skip_ctx=0) shape at
bit 6893. Named with #[track_caller] on read_coeffs_rect and
read_inter_plane_rect, so every call site carries its own file:line and no
per-site edit was needed. The fork is decode.rs:13184 (plane 1) and 13202
(plane 2), inside decode_intrabc_rect at 12955: one
around_mi_rect((mi_r, mi_c), bw, bh) gathered at the LUMA footprint and
reused for a 4x8 chroma unit under a 4x16 luma plane block. At ss (1,1) the
two coincide after subsampling, which is why the 4:2:0 twin is byte-exact;
at ss (0,0) they do not. This is the sub-8 unit walk, the prior Agent142-2's
census established.

Also recorded, explicitly NOT claimed: at that bit the oracle reports mi
(90,108) while our unit sits at px (208,184) / mi (46,52), with every prior
read paired exactly. Either the oracle's xd->mi does not name the same block
our x,y does, or there is a position divergence not yet localised. Left for
the next lane rather than guessed at.

No decoder change this round; the probes are removed and the tree is clean
(grep EC_RCALL and EC_UCNT read 0 at HEAD, git diff empty against the
previous commit apart from this report).

(cherry picked from commit 0beaf6c53e97a9348ddafb31e08a6cdf6cbdeccc)
docs(av1444rect): §8 RETRACTED and rewritten -- Agent00-2's first ablation never ran its 4e151813 arm, and the corrected 2x2 puts BOTH of their cells in this lane's classAhmet Kaan Gümüş · a654932
docs(av1444rect): §8 RETRACTED and rewritten -- Agent00-2's first ablation never ran its 4e151813 arm, and the corrected 2x2 puts BOTH of their cells in this lane's class

I published their four-arm ablation and relayed its conclusion to Main as
"independent; my fix does not reach those cells". That arm never ran:
git checkout -- <files> restores from the INDEX, the index still held both
cherry-picks, and cargo did not even relink on byte-identical sources. The
conclusion was a phantom. Struck.

Corrected 2x2 (git reset --hard 4155c7c7, verified rebuild with mtime printed
per arm, 4/4 decode-order frames vs aomdec): base DIVERGENT on both cells;
base+rung+4e151813 byte-identical to base on both; base+rung+f92776ba EXACT 4/4
on both; base+rung+both EXACT 4/4 on both. So both cells are this class,
f92776ba alone fixes them, 4e151813 contributes nothing (its two tu_reach
sites sit inside decode_rect4_16_strip's lossless_pair arm; both cells are
4:4:4 lossy on the else-if-skip path), and f92776ba has no prerequisite on
4155c7c7 so merge order is free. Red-before on both cells with the counter in
place: the (16,8) mutation gives sr444 76404 samples first wrong Y(192,0) --
the sweep's exact number -- and odd444_130x122 9203 samples first wrong
Y(100,32) on frame 3.

Scope therefore ENLARGES: two more witnesses of the class at geometries the
128x96 gate does not cover (130x122 partial-frame right edge; 256x128 with
CDEF+LR live on the last two frames).

Second method note added: git checkout -- <files> is not a tree reset. It
restores from the index, so a staged cherry-pick survives it and the arm
measures the tree you thought you removed. A per-arm ablation needs
git reset --hard <base> and a rebuild whose mtime is printed.
docs+ec-av1: lane-av1444rect r5 -- the counters document that they prove reach, not that the fix bites; the retraction derives its length from plane extentsAhmet Kaan Gümüş · 4b6247d
docs+ec-av1: lane-av1444rect r5 -- the counters document that they prove reach, not that the fix bites; the retraction derives its length from plane extents

Main's two notes, both taken.

1. Both route counters now say in their own doc comments that a non-zero
   count proves REACH and nothing more, and point at
   skill://ec-av1-pipeline-gate-counters: a counter needs a DIFFERS-style
   assertion to carry a claim. The intra-BC one is also recorded as
   deliberately armed OUTSIDE the own444 expression, so the mutation still
   increments it and the red lands on the pixel/entropy arm -- what carries
   the claim is the measured fork move (read 11750 -> 12465, luma first wrong
   164416 -> 205264, 455240 -> 390380) and the mutation, not the count.

2. The retraction's re-measurement wrote assert len(ours) == 2 * len(ref).
   That factor is a coincidence of 4:4:4 against 4:2:0 at the same geometry --
   it is the bits-per-sample ratio (our dump_yuv emits u16, the oracle's 8-bit
   dump is u8) and has nothing to do with chroma, so it is wrong at 4:2:2, at
   any high bit depth, or on any fixture where the two sides disagree on bit
   depth. The report now says to derive the expected byte length from the
   plane extents and the two bit depths and assert the oracle dump against
   that, never against a copied constant.

Also recorded in the method notes: the 636-vs-1086 chroma and 2052-vs-1309
luma unit-count asymmetry from the round-4 census is explicitly NOT claimed
as a defect, since luma is pixel-exact to 205264 and the surplus is most
likely a counting-shape difference (our var-tx leaves vs libaom's unit walk).
docs(av1444rect): round 4 -- the intraBC 4:4:4 chroma root is not a token-order defect; the unit census rules it out and bounds what is leftAhmet Kaan Gümüş · cc3c8e3
docs(av1444rect): round 4 -- the intraBC 4:4:4 chroma root is not a token-order defect; the unit census rules it out and bounds what is left

Main asked for the unit count before any value-level chase, after Agent10-2's H5
turned out to be a 16x token-order blowup. Counted on the 1016 B witness
(one frame, ours via per-reader traces, oracle via EC_COEFF_STEP tag=all_zero
which is not skipped on eob=0 and so counts the same thing): 2688 unit reads
against the oracle's 2395; luma 1213 square + 839 rect against 1309; chroma
636 against 1086. Same range, no blowup -- the defect is NOT ordering. Second
lane to reach that conclusion about a 4:4:4 chroma fork.

Both originally-named candidates remain eliminated by measurement, so the
root is still unbounded and is handed back rather than patched blind.
ec-av1: lane-av1444rect r2 -- the same class, second instance, in the intra-BC 1:4 strip; plus an H3 retractionAhmet Kaan Gümüş · 2bcb6de
ec-av1: lane-av1444rect r2 -- the same class, second instance, in the intra-BC 1:4 strip; plus an H3 retraction

RETRACTION. My previous report said the 4:4:4 lossless + tile-columns stream
(77847 B, sha256 87b0d1a5...) was "byte-exact 6/6". It is not, and the claim
is withdrawn. My throwaway compare script carried the H1 fixture's 128x96
geometry, so it zipped our first 36864 samples against the oracle's 98304-byte
dump -- zip truncates to the shorter operand, making it a PREFIX compare, and
the divergence at x >= 108 fell outside the window. Re-measured with the right
geometry: 63-162 wrong chroma samples in every frame, first at U(110,26),
luma exact. H3 is OPEN and belongs to Agent142-2; no H3 gate is pinned here.
The crate's own decode_all_frames_vs_oracle asserts frame length before
comparing, which is why the committed gates were never exposed to this.

THE CLASS, SECOND INSTANCE. decode_rect4_16_intrabc applied the 4:2:0 pair
geometry at every ss: (pw, ph) = (16,8)/(8,16), pair_mi = lmi - 1, cpx =
pair_mi * MI / 2. At ss (0,0) is_chroma_reference makes an intra-BC 1:4
strip its own chroma reference, so libaom codes a 16x4 chroma block at the
strip's own origin, not an 8x4 a quarter of the way off.

It is LIVE, not latent: a testsrc2 640x480 --tune-content=screen
--enable-intrabc=1 --enable-palette=1 --cq-level=60 stream (1016 B, sha256
7fe888ed..., 17 intrabc 16x4 strips at ss (0,0)) diverges 455240/921600 with
the entropy fork at read 11750. --enable-intrabc=0 is byte-exact and the
4:2:0 twin is byte-exact.

One own444 = ss_x == 0 && ss_y == 0 gate on (pw, ph), (cw, ch), pair_mi and
(cpx, cpy); 4:2:0 and 4:2:2 keep every constant verbatim. Measured per
plane: the luma first-wrong sample moves 164416 -> 205264 and the entropy
fork 11750 -> 12465, but both chroma planes still first diverge at 20532 and
390380 of 921600 samples are still wrong.

This is a PARTIAL improvement and is committed as one: no exactness is
claimed, and the gate is a progress gate, not an exactness gate. It pins both
fixtures, requires intrabc_rect4_own_chroma444_hits() > 0 (18 on the 4:4:4
witness, 0 on the 4:2:0 twin, armed outside the mutated expression so the
mutation fails on the pixel arm), compares the 4:2:0 twin byte-for-byte
through the length-asserting helper, and asserts the 4:4:4 LUMA plane is
byte-exact to sample 205264 -- a floor that only grows, so the next lane's
fix cannot turn it red. The untouched chroma divergence is named, never
asserted exact. Mutation: own444 = false turns it red at 164416.

Handed on: the remaining 4:4:4 intra-BC divergence is in CHROMA, first at
U/V index 20532 (x=52, y=32), entropy fork read 12465 at mi (90,108), not
yet localized to a line.

Identity on this tip: the crate's 444 family (10), intrabc (20), rect_strip
(10), 1to4 (11) and the 16-level rect-leaf gate, plus all three new
chroma-format-sweep gates run in ~/.cache/wt/av1fmt against this decode.rs.