Skip to content

Fix Claude Eval quota pauses below 85% - #1621

Merged
JacobStephens2 merged 6 commits into
mainfrom
issue-1618
Oct 29, 2026
Merged

JacobStephens2 merged 6 commits into
mainfrom
issue-1618

Conversation

@JacobStephens2

@JacobStephens2 JacobStephens2 commented Oct 29, 2026 •

Copy link
Copy Markdown
Owner

Summary

Closes #1618.

Claude's status-only check paused Experiments and Scoring at 77% utilization. Claude now uses the same named 85% threshold as Codex:

Claude rate_limit_event
  rejected        -> stop Evals
  allowed_warning -> stop if any readable utilization >= 85%
                     stop if no utilization is readable
                     otherwise continue

The check includes top-level utilization and every unifiedWindows entry. Ordinary Runs retain their existing policy. The guide, Trial protocol, generated manual and hand-written site pages describe the threshold and fallback.

Evidence

  • Before: cargo test --bin thirdshift harness::interpretation_tests::claude_plan_limit_warning_below_85_percent_does_not_pause_evals -- --exact failed: the seven-day warning at 77% with a five-hour window at 5% incorrectly raised a plan limit. Removing window names, surpassedThreshold and the second window still reproduced it with just allowed_warning and utilization: 0.77.
    After: the same command passes (1 passed, 0 failed), including both the minimized and original events.
  • The new all-window test also failed before window decoding was added: a top-level 77% warning with a five-hour window at 85% was incorrectly allowed. All 38 interpretation tests now pass, including Codex quota cases, rejection, unreadable-utilization fallback and ordinary completion.
  • Test seams: live Harness interpretation (decode, plan_limit_reached, completion); the existing CLI Experiment pause/resume, Scoring resume and ordinary Ticket-run checks are covered by final affected validation.
  • npm run docs:check --prefix site, cargo fmt --check and git diff --check pass.
  • Ran scripts/affected-tests origin/main with the installed Chromium cache and a local PATH entry selecting Python 3.11. All 56 site checks and 1,575 Rust unit tests passed. Initial setup failures were a missing browser at the environment's /opt path and Python 3.9 lacking tomllib; the existing Bug-origin regression passed under Python 3.11.
  • The local cargo test attempt stopped after 429.34s on a concurrent Console scoring test (HTTP 400 instead of 303). That exact test passed alone; cargo test --test console -- --test-threads=3 then passed all 149 Console tests (1 ignored).
  • Full Linux CI passed on final head 15f80f8498ce29af7982a0d3f6f1dfd39ee7cffb: 3,515 tests passed, 75 skipped, including Experiment pause/resume, Scoring and ordinary Runs. cargo nextest run took 893.65s, plus 46.74s test compilation; formatting and clippy also passed. Used this exact-head result for the remaining Rust coverage and stopped the local remainder, following docs/testing.md's CI-reuse policy. The macOS gate, site and Console CI jobs also passed.

Review coverage

Independent Standards and Spec reviews against main, pinned at 21b337493493372c2e6f2a1c75b73e3d2f040e7f (origin/main), each raised 0 findings. Both read all eight changed files, including generated HTML hunks and the Trial-protocol follow-up. No changed files remain unread and no generated output was excluded. Reports and finding counts are retained in .thirdshift-review-9J0SYg/ with the Session trace.

Unaddressed findings

  • Standards: none.
  • Spec: none.
  • Security: none. Single-session guidance review against pinned merge base 21b337493493372c2e6f2a1c75b73e3d2f040e7f covered all eight changed files and supporting Harness event parsing, sticky limit evidence, ordinary Run policy, and Scoring/Experiment stop paths. No introduced security findings or source fixes. Reused successful CI on the unchanged head, 15f80f8498ce29af7982a0d3f6f1dfd39ee7cffb, under the repository's CI-reuse policy.

Security review outcome

No unaddressed introduced findings.

Merge Danger

Door: two-way

Reverting restores the previous quota pause behavior; no stored data or formats change.

Blast Radius: Evals

Claude quota detection for Experiments and Scoring; Codex's threshold and ordinary Run stop policy remain the same.

Built with codex codex-cli 0.162.0 · gpt-6.1-sol · xhigh

JacobStephens2 and others added 6 commits October 29, 2026 11:21
Resolve site/architecture/index.html against #1623's compact overviews:
keep main's layout and carry the 85% quota wording into the moved
Scoring paragraph.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Keep the compact architecture layout from #1623 and preserve #1618's quota-stop wording in the relocated Scoring details.
Preserve both origin/main merge commits and retain the validated quota-stop wording, including Bug-origin analysis.
@JacobStephens2
JacobStephens2 merged commit 94a2874 into main Oct 29, 2026
18 checks passed
@JacobStephens2
JacobStephens2 deleted the issue-1618 branch October 29, 2026 16:35
@JacobStephens2 JacobStephens2 mentioned this pull request Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A Claude plan-limit warning below 85% pauses Experiments and Scoring; Codex waits for 85%

1 participant