Repository navigation
A seek landing reads what its run carries (#481) - #482
Merged
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
capErr9.037 to the endswift test: 2629 swift-testing in 360 suites and 606 XCTest, both green.