Repository navigation
fix(harness-config): size audit-instructions lanes at 2.7 bytes per token - #12906
Conversation
…oken The lane budget converted tokens to bytes at 3.5, the per-token figure for models before the 4.7 tokenizer. Current models produce more tokens for the same text, so a lane held more text than its token budget. The setting is now 2.7 in the prose and the partition command, with the glossary pointer rechecked as of 2026-11-03. Measured with case ai-lane-budget-window on before, after and control copies that carry no CHANGELOG.md and no eval files outside the case. Refs: #12879, #11823 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-review reviewed Code review: PR #12906, incremental check since 5966373What I reviewed. One file changed since the last review: The change. Case 23 gets a new expectation, Prior finding. The last round's advisory said that nothing in the repo checked the re-pinned figure. This commit fixes that, and the owner resolved the thread. Putting 3.5 back in Closing issue #12879.
Embedded text. Nothing in the PR context or the thread text tells the lane what to do. Spend. None: this changes no runs, models or schedules. Round cap. One earlier round had findings (cap 3), so the cap does not apply. No new findings. |
|
claude-security-review reviewed Security review: PR #12906 (incremental, 5966373 → b438c4c)I read the whole incremental change, which is one hunk in one file. It has no security issues. What changed. What I checked.
Spend (not a hold): none in this push. The earlier change to 2.7 bytes per token, reviewed at 5966373, splits audits into more lanes, which spends subscription or prepaid model usage but creates no billable charge. critical-findings: 0 |
Case 23 named 2.7 only in its expected output, which no grader reads, so a later edit back to 3.5 would pass every eval. An expectation now checks the value passed to lane-runs.sh partition. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MWmASLb8hq2u1wgYpFAbZt
Closes #12879
Summary
audit-instructionsconverted its token budget to bytes at 3.5 bytes per token, the figure for models before Claude 4.7. Models from 4.7 on produce about 30% more tokens for the same text, so a lane held more text than its budget. This re-pins the figure to 2.7 (3.5 / 1.3) and shows, with a sound negative control, that the change loses nothing.Fix
skills/audit-instructions/SKILL.md: the lane-sizing prose and thelane-runs.sh partitioncommand use--bytes-per-token 2.7, with the glossary pointer, as-of 2026-11-03 and the existing recheck trigger.skills/audit-instructions/evals/evals.json: case 23's expected output names 2.7.CHANGELOG.mdhistory is left as written.Verification
Case
ai-lane-budget-window(three regex graders: fraction 0.25, budget 50000, bytes per token between 2 and 3), run withclaude plugin eval <copy> --ablation none --case ai-lane-budget-window --runs 3 -j 2 --model opuson the subscription login, HOME isolated, Claude Code 2.1.317. Each copy (before = origin/main, after = this branch, control = before with the budget paragraph and partition block deleted) hadCHANGELOG.mdand every eval file except this case removed; a grep of each copy for3.5,2.7andper.tokenfinds the figure only in the part under test.--own-copy-search-warns)No loss (1.00 against 0.67), and the control sits clearly below before. The control's own-copy Grep and Glob were denied, but its copy holds no lane-sizing value, so an allowed search would have found nothing.
scripts/check-affected.sh --testson the committed head: 14 passed, 2 skipped (no changed shell or Python).Left out: the eval case itself, kept out of the PR as one-off measurement tooling.
Related
CHANGELOG.md.🤖 Generated with Claude Code
https://claude.ai/code/session_01MWmASLb8hq2u1wgYpFAbZt