Repository navigation
fix(cognition): a pass has a runaway bound, twice her measured p90 turn, never below the act cap - #4816
Merged
Conversation
…rn, never below the act cap (Cormac on #4815) With #4815 the allowance is the room the prompt left, which for a pass was the whole reserve (25,024 for Kimi): a loop could hold the lane for minutes. A pass is now bounded at max(ACT_OUTPUT_CAP, 2 x her p90 need) under the reserve. That is far above the one-in-ten tail a p90 lets through, so no real turn is cut by it; unmeasured, the reserve as before. Test: Kimi's need (10,177) bounds a pass at 20,354 under a 25,024 reserve; a small need still gets the act cap; the reserve still binds. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
Contributor
Author
|
APPROVED at 5b19c63, pending its lib-test check. This answers my #4815 question. A pass is now bounded at 2× her measured p90 turn, never below the act cap and never past the reserve; the test pins all three edges (Kimi 20,354, a small need → ACT_OUTPUT_CAP, the reserve binding at 15,436). An unmeasured pass keeps the reserve, the right default: an unknown need is not a guessed one. |
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.
Cormac's question on #4815 (merged). A pass is bounded at
max(ACT_OUTPUT_CAP, 2 × p90 need)under the reserve: far above the one-in-ten tail, finite against a loop. Unmeasured, the reserve as before. Kimi's numbers are pinned (20,354 under a 25,024 reserve). Faculty suite green, hygiene green, no new warnings.🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo