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
feat(profbench): add a decisions solver for profbench_judge - #218
profbench_judge gets a solver: "decisions" option that grades each report-criterion pair with a Decisions API model instead of a chat model.
What changed?
ProfbenchJudgeOptionsSchema.solver: chat (default, unchanged) or decisions.
Decisions samples put the report (and the task when includePrompt is set) in input and the criterion (plus the verified guidance when selected) in metadata.decisionsInstructions.
The decisions solver sends one noul question to /api/alpha/decisions. met is P(true) >= 0.5. The probability is kept in the completion. A refusal is skipped by the scorer, not counted as not met. Token usage and cost come from the response usage.
judge/decisions.ts: shared request helper, new decisionNoul, HTTP status kept on DecisionsError so 429/5xx go through the normal retry schedule.
defineSingleTurnBenchmark accepts an optional makeSolverLayer. It falls back to makeSolver when it returns undefined.
Why?
To meta-evaluate Decisions API models against the ProfBench human labels next to chat judges.
How to test
bun run bench --benchmark profbench_judge --model cloudflare/clef-flash --limit 12 \
--solver-config '{"solver":"decisions","graderPrompt":"verified"}'
Expected: 12 scored samples with Yes/No answers and a non-zero cost. Verified locally with google/gemini-decision-1 and cloudflare/clef-flash.
Benchmark impact
None for existing runs. solver defaults to chat.
Reviewer focus
The fixed 0.5 threshold.
makeSolverLayer in define-single-turn-benchmark.ts.
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_judgegets asolver: "decisions"option that grades each report-criterion pair with a Decisions API model instead of a chat model.What changed?
ProfbenchJudgeOptionsSchema.solver:chat(default, unchanged) ordecisions.includePromptis set) ininputand the criterion (plus theverifiedguidance when selected) inmetadata.decisionsInstructions.noulquestion to/api/alpha/decisions.metisP(true) >= 0.5. The probability is kept in the completion. A refusal is skipped by the scorer, not counted as not met. Token usage and cost come from the responseusage.judge/decisions.ts: shared request helper, newdecisionNoul, HTTP status kept onDecisionsErrorso 429/5xx go through the normal retry schedule.defineSingleTurnBenchmarkaccepts an optionalmakeSolverLayer. It falls back tomakeSolverwhen it returnsundefined.Why?
To meta-evaluate Decisions API models against the ProfBench human labels next to chat judges.
How to test
bun run bench --benchmark profbench_judge --model cloudflare/clef-flash --limit 12 \ --solver-config '{"solver":"decisions","graderPrompt":"verified"}'Expected: 12 scored samples with
Yes/Noanswers and a non-zero cost. Verified locally withgoogle/gemini-decision-1andcloudflare/clef-flash.Benchmark impact
None for existing runs.
solverdefaults tochat.Reviewer focus
makeSolverLayerindefine-single-turn-benchmark.ts.Checklist
🟢 Devin Review found nothing to fix · View findings · Follow Devin's work