Skip to content

A seek landing reads what its run carries (#481) - #482

Merged
superuser404notfound merged 1 commit into
mainfrom
fix/ae481-landing-axis-reading
Sep 4, 2026
Merged

superuser404notfound merged 1 commit into
mainfrom
fix/ae481-landing-axis-reading

Conversation

@superuser404notfound

Copy link
Copy Markdown
Owner

Fixes the defect measured in #481: a standing axis outlived the stretch it was measured for, so after a seek that opened a new run on a source-true segment the clock stayed off by the whole re-aim for the rest of the session (capErr +9.017 to the end, 3 of 3 runs on two link shapes).

A landing now takes round 7's reading, anchored on the segment the local server answered first after the seek, which is the one whose content opens the run the landing sits in. It goes into a timeline carrying an axis at the seam that axis predicts, and into a timeline carrying nothing at its own playlist position. A wrong candidate matches neither and publishes nothing.

The first version asked the whole PLAN whether a run opened on a playlist position, and the fixture refuted it: 31 boundaries over 120 s against a half-second tolerance wrote a 0.000 axis into a timeline carrying -27.875 s. That case is pinned in the suite.

Measured on one build, same arms, the link as the only variable:

arm before after
re-anchoring seek last, 600 kbps capErr 9.037 to the end 0.037, 2 of 2
24-seek chain, 3200 kbps (composed axis -34.376) mean |capErr| 0.0162 0.0162, no reading fires, 2 of 2
24-seek chain, 600 kbps 0.0230 0.0162
24-seek chain, 1200 kbps 0.0411 0.0162

swift test: 2629 swift-testing in 360 suites and 606 XCTest, both green.

…eriting an axis measured elsewhere (#481)

The #418 axis is published once, at the advertised start of the segment whose gate
re-aimed below its boundary, and it then stands for the whole timeline above that seam.
Measured with `play --picture-probe` on the #418 chain with the re-anchoring seek LAST
(`--seek-count 5 --seek-pattern 65,60,70,58,75` over `Scripts/slowrange.py` at
600 kbps / 300 ms), the picture says the axis is narrower than that: `pic - picItem`
reads -9.000 at item 53.000 and 0.000 at every item the landing goes to afterwards. The
offset belongs to the RUN that segment opened. A seek that opens a new run at a segment
the producer wrote on its planned position lands on a source-true stretch, and nothing
on this side ever looks: `capErr` sat at +9.017 from the landing to the end of the
session, so every cue placed from the clock was 9 s early, permanently.

Ten rounds of #418 never saw it standing because a seek burst heals it inside a second:
the next seek composes a placement, and round 7's reading comes off the changed timeline.
Only a session whose last re-anchoring seek is also its last seek keeps the error, and
the placement verification is armed by a placement and nothing else.

A landing now takes the same reading, anchored on the segment the local server answered
first after the seek, which is the one whose content opens the run the landing sits in.
That segment goes into a timeline carrying an axis at the seam that axis predicts, and
into a timeline carrying nothing at its own playlist position: round 7's two admissible
answers, asked at a landing. A wrong candidate matches neither and publishes nothing.

Asking the PLAN instead of one segment is what the first version did, and the fixture
refuted it: 31 boundaries over 120 s against a half-second tolerance is a coincidence,
and it wrote a 0.000 axis into a timeline carrying -27.875 s, taking `capErr` from +0.092
to -27.883 in one tick. That case is pinned in the suite.

Measured, same build, same arms, `slowrange.py` as the only variable:

| arm | before | after |
| --- | --- | --- |
| re-anchoring seek last, 600 kbps | `capErr` 9.037 to the end | 0.037, 2 of 2 |
| 24-seek chain, 3200 kbps (composed axis -34.376) | mean \|capErr\| 0.0162 | 0.0162, no reading fires, 2 of 2 |
| 24-seek chain, 600 kbps | 0.0230 | 0.0162 |
| 24-seek chain, 1200 kbps | 0.0411 | 0.0162 |

No correction moves the picture: `capErr` stays under a frame across every publication
(+0.008 to +0.017). `swift test`: 2629 swift-testing in 360 suites and 606 XCTest, both
green.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4QpZDsHPJfbz5gkxxPXF7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant