Repository navigation
test-writing rule: per-test gate is 15 s, baselined tests fail at 2.5x (Part of #5166) - #6674
Merged
Merged
Conversation
…2.5x, as time_ratchet.py does (Part of #5166) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
1 similar comment
Contributor
|
No description provided. |
Contributor
3 of 14 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.
Part of #5166. Doc-only:
.claude/rules/test-writing.mdsaid the per-test gate is 10 s and the baseline factor 2x;tests/tools/time_ratchet.py(FAIL_S = 15.0,FACTOR = 2.5, owner 2026-10-15) anddocs/ci.mdsay 15 s / 2.5x. The rule now matches the code.Premise check
The slice as briefed was already on main before this worktree was cut:
time_ratchet.py(check/over/budget/update/seed), the seededtests/test_time_baseline.json,tests/tools/test_time_ratchet.py(30 tests), thetimeentry inpr_gates.py --ratchets,docs/ci.md"Test-time ratchet (#5166)", and the rules note. Nothing to rebuild; no code changed.Checklist: partial [c:6881f547] -- gate, baseline and docs already on main; this PR only corrects the rule text (15 s fail / 10-15 s warn, owner 2026-10-15, not a hard 10 s)
Checklist: partial [c:a9db9d08] -- ratchet tests and ci.md exist on main; budget-delta coverage not re-verified here
Class / Sibling gaps
Class: documents that state the ratchet thresholds (rules file, docs/ci.md, time_ratchet.py docstring). Rules file fixed here; docs/ci.md and the script already agree. Sibling gaps: none.
Remaining slices: whole-suite budget (c:11753cc1) and the section C slow-test fixes (c:6c05b408 through c:58dcbf54), untouched.
Lessons for agents
cat > filewith no heredoc waits on stdin and hangs the Bash tool; never chain one before a heredoc.🤖 Generated with Claude Code