Skip to content

feat(profbench): add a decisions solver for profbench_judge - #218

Open
abhinav-pola wants to merge 4 commits into
mainfrom
devin/1796492516-profbench-decisions-solver
Open

abhinav-pola wants to merge 4 commits into
mainfrom
devin/1796492516-profbench-decisions-solver

Conversation

@abhinav-pola

@abhinav-pola abhinav-pola commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

TL;DR

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
  • Documentation is updated where needed

🟢 Devin Review found nothing to fix · View findings · Follow Devin's work

Devin Review

@devin-ai-integration

Copy link
Copy Markdown
Contributor

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>

=== BEGIN THREAD HISTORY (in #agents-benchmarks) ===
Abhinav Pola (U090K0G7JF3) [ts=1796316882.734439]: @Devin are we able to onboard healthbench meta-eval? harbor or kepler?
=== END THREAD HISTORY ===
Channel ID: C0BAKP8P5C3
Thread URL: https://openrouter.slack.com/archives/C0BAKP8P5C3/p1796316882734439?thread_ts=1796316882.734439&amp;cid=C0BAKP8P5C3

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.

@devin-ai-integration
devin-ai-integration Bot marked this pull request as ready for review December 5, 2026 17:45
@devin-ai-integration
devin-ai-integration Bot requested a review from a team as a code owner December 5, 2026 17:45

@devin-ai-integration devin-ai-integration Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 finding. Devin automatically fixed it.

Fixed by Devin (1)
  • Disabled timeout blocks Decisions grading — timeoutMs <= 0 now means no deadline, which matches the chat model.

View findings in Devin Review · Follow Devin's work

Devin Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant