Repository navigation
A re-aim must not step over the sample that covers its boundary (#423) - #426
Merged
Merged
Conversation
…undary (#423) Each re-aim attempt opens on the first sync sample at or above where it aimed, and everything above the previous aim is already proven empty, so the DISTANCE between two attempts is the worst case by which the gate can overshoot the last sample that would have covered the boundary. The backoff doubled, which spends that error exactly where it is largest. On the AE#408 fixture (sync samples at 38.417 and 43.0, drought to 55.0, boundary 52.0), resuming at 53 s: before aims 48.0, 44.0, 36.0 opens 38.417 presentedShift=-13583 after aims 48.0, 44.0, 40.0 opens 43.000 presentedShift=-9000 Three attempts either way. The 8 -> 16 jump simply flew over the 43.0 between it and the boundary. seektest settles the same improvement from the seek side: settleError 3.80 s against 8.38 s before, same burst, same throttle. Even steps cost no more to walk, which is why this is a spacing change and not a trade. gateProvenEmptyFromPts stops each scan at the PREVIOUS aim rather than at the boundary (AE#408 built that), so an attempt reads its own window and not the drought; a doubling list buys reach the last entry already provides and pays for it in the one place the accuracy comes from. Reach is unchanged at 32 s. Only visible because AE#418 made the axis honest: until then the landing claimed the target either way. Control fixture (Cues ARE its sync samples): zero re-aims and axisErr +0.000 on both arms. 2082 tests green. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01RbWZLwBVLGM1xUVXa9NeJ1
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.
A spacing change, not a trade: the same reach and the same number of attempts, with the landing error cut where the accuracy actually comes from.
The mechanism
Each re-aim attempt opens on the first sync sample at or above where it aimed, and everything above the previous aim is already proven empty. So the DISTANCE between two attempts is the worst case by which the gate can overshoot the last sample that would have covered the boundary. The list doubled (4, 8, 16, 32), which spends that error exactly where it is largest.
On the AE#408 fixture (sync samples at 38.417 and 43.0, drought to 55.0, boundary 52.0), resuming at 53 s:
Three attempts either way. The 8 → 16 jump flew over the 43.0 sitting between it and the boundary. 43.0 is the last sync sample below 52.0, so the remaining 9 s is the drought itself and not a choice.
seektestsettles the same improvement from the seek side:settleError3.80 s against 8.38 s before, same burst and same throttle.Why even steps are free
gateProvenEmptyFromPtsstops each scan at the PREVIOUS aim rather than at the boundary (AE#408 built that), so an attempt reads its own window and not the whole drought. Walking 4, 8, 12, … costs the same as 4, 8, 16, …; a doubling list buys reach the last entry already provides, and pays for it in the one place the accuracy comes from. Reach is unchanged at 32 s, so no source that used to be recoverable stops being one.Note
Only visible because AE#418 made the axis honest. Until then the landing claimed the target either way, which is why this sat under a fix that was measured and shipped without anyone seeing it.
Control fixture (Cues ARE its sync samples): zero re-aims and
axisErr=+0.000on both arms. 2082 tests green.🤖 Generated with Claude Code
https://claude.ai/code/session_01RbWZLwBVLGM1xUVXa9NeJ1