Skip to content

fix(verifiers): judge with the configured judge model in a rubrics verifier built in code - #339

Open
mpfaffenberger wants to merge 2 commits into
scaleapi:mainfrom
mpfaffenberger:fix-judge-default-model
Open

mpfaffenberger wants to merge 2 commits into
scaleapi:mainfrom
mpfaffenberger:fix-judge-default-model

Conversation

@mpfaffenberger

@mpfaffenberger mpfaffenberger commented Oct 26, 2026 •

Copy link
Copy Markdown

A rubrics verifier read from a task took the [model.roles] judge model, but one constructed in code,
as the A2A validator constructs its skill, snapshot and install rubrics, fell back to
claude-sonnet-4-6 whatever the config said, so validating against an endpoint without that model
failed those checks. Resolve the default in the constructor, so both paths take the judge role.

Found while validating the Pydantic AI agent against an endpoint that serves no claude-sonnet-4-6. Adds tst/unit/task_step/verifiers/test_rubrics_verifier_judge_model.py.

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge, with the previous test isolation issue fixed.

Summary

Rubrics verifiers built in code now choose the configured judge model, matching verifiers read from tasks.

  • Rubric verifiers use the configured judge model when no model is named.

Reviews (2) · Last reviewed commit: "test(verifiers): give each judge-model t..." · Reviewed by Greptile

…rifier built in code

A rubrics verifier read from a task took the [model.roles] judge model, but one constructed in code,
as the A2A validator constructs its skill, snapshot and install rubrics, fell back to
claude-sonnet-4-6 whatever the config said, so validating against an endpoint without that model
failed those checks. Resolve the default in the constructor, so both paths take the judge role.
@mpfaffenberger
mpfaffenberger requested a review from a team as a code owner October 26, 2026 21:47
Comment thread tst/unit/task_step/verifiers/test_rubrics_verifier_judge_model.py Outdated
…cover the default model a judge role falls back to

This branch has not been deployed

No deployments
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