Repository navigation
fix(evals): the Claude runner sends --effort - #1289
Merged
Merged
Conversation
The Claude runner left --effort out of its model selection, so every Claude sample ran at the adapter's default effort. It now passes it as the selection's effort option, as J5 sends it, and the README says how each harness takes it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Jacksondr5
enabled auto-merge (squash)
November 28, 2026 22:02
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 10 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
2 of 8 tasks
This branch was successfully deployed
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.
Problem
The
evals/j5-cliClaude runner never passed--effortto Claude Code.run.tshandseffortto both runners, butclaude.tsdidn't put it in the Claude model selection, somakeClaudeQueryOptionsfell back to the adapter's default,medium. Every Claude sample has run at medium, even though the runner's default is--effort high. Codex was unaffected.What changed
runClaudesends the effort as the model selection'seffortoption (options: [{ id: "effort", value }]), the same shape J5's Claude adapter receives from a thread. That's wherecompileClaudeModelSelectionreads it.--effortnow says how each harness takes it. It also notes that Claude'sultrathinkprompt prefix isn't added: only J5's adapter prepends it, and no eval usesultrathink.Verified:
check:changedpassed on the pre-rebase commit193576d19d. The rebase ontoc1deeb4a27(fix(evals): j5-cli runner on v0.1.11 #1228's squash) applied cleanly, and the only later edit is the README wording.makeClaudeQueryOptions: with no option the SDK getseffort: "medium", and with the option it gets the value passed.Effect on earlier results: Claude j5-cli numbers from before this PR were measured at medium effort. That includes the #957 and #1194 runs and the smoke runs in #1228.
Checklist
evals/j5-cliis J5's)Claude Opus 5.5 in Claude Code (J5 Code).
🤖 Generated with Claude Code