Repository navigation
Det durations: warn at 25% unmeasured, fail only past 50%; measure 27 missing cases - #9127
Merged
Merged
Conversation
…t 50%; 27 more cases measured Cause: the nightly det sweep feeds a CI cache, never tests/equivalence/det_sweep_durations.json; the file changes only when a PR adds cases by hand or when the evidence-refresh bot PR lands (#8564 sat stale six days). It fell to ~25% unmeasured, so a PR that added three cases tripped the single 25% cliff in check_measured and failed four planner tests, though every unmeasured case already plans at the measured median. Now: warn past MAX_UNMEASURED, fail past FAIL_UNMEASURED (the feed has stopped). Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
squid-protocol
marked this pull request as ready for review
November 23, 2026 15:31
…past 25% unmeasured, fail past 50%) Two tests in tests/cics_crucible/test_shards_5498.py still expected the old hard failure at 25% and failed CI. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
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.
Why. #8873 failed four planner tests because the committed
tests/equivalence/det_sweep_durations.jsonlacked timings for ~25% of det cases andcheck_measuredhad one 25% cliff. Every unmeasured case already plans at the measured median, so the failure was about file freshness, not a broken plan.Root cause. The nightly det sweep writes its measurements to a CI cache, never to the committed file. The file changes only when a PR adds cases by hand, or when the evidence-refresh bot PR lands (#8564 sat stale for six days). So it drifts until the next PR that adds a few cases tips it over.
What this changes.
ci_shard_plan.check_measured: past 25% unmeasured it prints a::warning::and plans at the median; it fails (PlanError) only past 50%, where the feed has clearly stopped.test_ci_shard_plan.py, andtest_det_sweep_plan.py.Tested. 246 planner tests pass (and the durations tool's tests). Not done: nothing yet writes nightly measurements back to the committed file, so it will drift again, slowly and now only as a warning. A real fix is a step that opens or updates a small bot PR from the nightly cache; not built here.
🤖 Generated with Claude Code