Repository navigation
Give the judge model room to think, and ask again when it runs out - #283
Merged
Merged
Conversation
) qwen3 thinks before it answers and the thinking counts against max_tokens. Over 26 identical variant requests it used 326 to 1851 tokens and once ran past 2000, returning nothing. The budget is now 6000, and a call that still runs out is asked once more with twice that, not the same budget: the verdicts run at temperature 0, where it would most likely be cut off again. All three judge calls (consistency, refusal, variant proposals) now go through one helper, ask_judge, so budget and retry are the same for each.
Contributor
Author
Other infos
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
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.
Closes #279
The judge model (qwen3-8-27b) is a reasoning model: it thinks before it answers, and the thinking counts against
max_tokens. Measured over 26 identical variant requests, it used 326 to 1851 tokens (typically about 800) for an answer under 100 tokens, and once ran past the 2000 cap while still weighing a single word, returning nothing.JUDGE_MAX_TOKENSis now 6000. Unused budget costs nothing.finish_reason="length"is asked once more with twice the budget. Not the same budget: the verdicts run at temperature 0, where the same budget would most likely cut it off at the same point. An empty reply for any other reason is not retried.JudgeUnavailable, so an empty reply never becomes a verdict.ask_judge, instead of three copies of the same call-and-check code.🤖 Generated with Claude Code