Repository navigation
Tests: assert_linear meta-test on a deterministic fake clock (Closes #8132) - #8133
Merged
Merged
Conversation
…rt of #8132) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
squid-protocol
added a commit
that referenced
this pull request
Nov 8, 2026
Picks up #8133 (assert_linear meta-test on a deterministic fake clock), whose timing flake failed full-suite part 2/3 on this PR. Co-Authored-By: Claude Opus 5.5 <[email protected]>
2 of 3 tasks
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.
What
test_assert_linear_passes_linear_and_still_fails_quadratictimed a millisecond-scale toy quadratic with the wall clock (ideal ratio 4x vs the 3.2x pass bound), so runner jitter made itDID NOT RAISEon main (run 42519219524, the only failure, part 3/3). No engine defect.assert_linear/best_oftake an injectabletimer; the meta-test now uses a deterministic fake clock (linear passes, quadratic fails every attempt, noisy first attempt retried).Class
Meta-tests of a timing helper that rely on real wall-clock measurement. Siblings: the other
assert_linearcallers time real engine code and already have the retry logic (unchanged, 66 tests pass);test_livecode_strict.assert_linear_redos_scalinghas its own noise floor. No gaps.Closes #8132
Gates
pytest on the 5 files using assert_linear: 66 passed; ruff format clean. No golden impact.
🤖 Generated with Claude Code