You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(profbench): read grader verdicts from structured output - #216
ProfBench graders now return a JSON {"met": boolean} verdict through structured output, instead of a free-text Yes/No reply that the scorer had to parse.
What changed?
profbench grader calls (judgeCall) and the profbench_judge solver request text.format with the profbench_verdict JSON schema.
parseJudgeVerdict reads the met field. It replaces parseJudgeLabel, which checked completion.trim().startsWith("Yes").
A reply that does not match the schema is now a failure, not "not met": profbench_judge skips the sample, and profbench skips the report (the same path as any other grading failure).
The prompt's last line changes from "Only answer Yes or No." to "Set met to true if the criterion is satisfied and false if it is not." for both upstream and verified prompts.
Why?
The prefix check scored any reply that did not start with the exact text Yes as not met. Judges often reply **Yes** with an explanation, or return reasoning with an empty answer. In a full profbench_judge run, this flipped 688 of 3,486 verdicts for one judge and lowered its MF1-BI from about 0.74 to 0.55.
How to test
bun test src/benchmarks/profbench
A live check sent one request with this schema to 12 judge models (Gemini, Claude and GPT families, small to extra-large). All 12 returned a valid {"met": ...} JSON object.
Benchmark impact
profbench and profbench_judge scores can change for every grader, mostly for graders that add markdown or explanations to the verdict. Results from earlier runs are not directly comparable. Runs on routes without structured-output support now show skipped samples instead of silent "not met" verdicts.
Reviewer focus
Skip vs. score-as-not-met on an invalid verdict.
extraBody.text in the profbench_judge solver: it merges with any caller extraBody and sets the response format.
Checklist
Tests cover changed behavior
Public API or configuration changes are backward compatible, or the break is documented
Benchmark changes document dataset provenance and licensing
No credentials, private results, or restricted dataset contents are included
I'll fix CI failures and address comments from users with write access that start with 'Devin'.
Disable automatic comment, CI, and merge conflict monitoring
Original prompt from Abhinav
SYSTEM:
<latest_message>
Abhinav Pola (U090K0G7JF3) [ts=1796316882.734439]: @Devin are we able to onboard healthbench meta-eval? harbor or kepler?
</latest_message>
The <latest_message> is the message that you should use to guide your goals + task for this session, and you should use the rest of the slack thread as context.
A [ts=...] marker on a Slack message is that message's timestamp. To act on a specific message with the slack tool (e.g. adding an emoji reaction via the reaction command), pass that value as timestamp along with the Channel ID — no extra lookup call is needed.
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
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.
TL;DR
ProfBench graders now return a JSON
{"met": boolean}verdict through structured output, instead of a free-text Yes/No reply that the scorer had to parse.What changed?
profbenchgrader calls (judgeCall) and theprofbench_judgesolver requesttext.formatwith theprofbench_verdictJSON schema.parseJudgeVerdictreads themetfield. It replacesparseJudgeLabel, which checkedcompletion.trim().startsWith("Yes").profbench_judgeskips the sample, andprofbenchskips the report (the same path as any other grading failure).upstreamandverifiedprompts.Why?
The prefix check scored any reply that did not start with the exact text
Yesas not met. Judges often reply**Yes**with an explanation, or return reasoning with an empty answer. In a fullprofbench_judgerun, this flipped 688 of 3,486 verdicts for one judge and lowered its MF1-BI from about 0.74 to 0.55.How to test
bun test src/benchmarks/profbenchA live check sent one request with this schema to 12 judge models (Gemini, Claude and GPT families, small to extra-large). All 12 returned a valid
{"met": ...}JSON object.Benchmark impact
profbenchandprofbench_judgescores can change for every grader, mostly for graders that add markdown or explanations to the verdict. Results from earlier runs are not directly comparable. Runs on routes without structured-output support now show skipped samples instead of silent "not met" verdicts.Reviewer focus
extraBody.textin theprofbench_judgesolver: it merges with any callerextraBodyand sets the response format.Checklist
Link to Devin session: https://openrouter.devinenterprise.com/sessions/28482f0181cd48cc9582f91fdb52f6ef
Open in Devin Desktop: https://openrouter.devinenterprise.com/desktop/session/28482f0181cd48cc9582f91fdb52f6ef?variant=devin
Requested by: @abhinav-pola
🟢 Devin Review found nothing to fix · View findings · Follow Devin's work