Repository navigation
fix(lint): a judge in the solver's own agent is a warning, not an error - #886
Merged
Merged
Conversation
Lint's errors are what breaks a run or is silently ignored. A judge in the agent under test breaks nothing: the run grades, and the grade is the solver's own, which may be the point. So judge-as-solver warns, and its message names a judge of its own with the solver's files loaded into it, since leaving agent_name unset drops those files. Training still refuses such a task, as its rollouts would train on the solver's own grading. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
What changes
judge-as-solver, from #879, is now a warning, not an error.task lintand every command that lints print it, and nothing is refused.training.harness). It readsjudges_in_solverdirectly, not lint's severity: there, a rollout would train the solver on its own grading.The message names a fix that keeps the solver's files. The old advice, leaving
agent_nameunset, deploys a fresh judge that doesn't see the solver's files. Judges read only what's loaded into their agent; nothing hands themcollect_artifacts' output. So the message now names the pattern the docs give under "Grade with a judge":Why a warning
Where G6 draws the line.
Why this is a warning. A judge in the agent under test breaks nothing. The run grades, and the grade is the solver's own. That may be the point, as when a task measures self-assessment. Decided with Edgar after #879 merged.
Tests
lint_test.py:agent-env run --dry-runof such a task prints the warning and runs.The cases it leaves alone, and junk names, are unchanged. Training's refusal test (
harness_test.py, "self-judged is left out") passes unchanged.E2E (fresh install of this branch)
On a copy of the shipped
hellobundle with a self-graded task:agent-env task lint bundleprintstasks/self-graded.json: warning: step 'verify': its judge runs in 'default-agent', …and exits 0.agent-env run bundle --task self-graded --dry-runprints the warning, thenWould run: tasks/self-graded.json v1, and exits 0.Docs
For FD-6446:
judge-as-solvergoes in lint's warnings, with the separate-judge pattern as its fix.Part of FD-5929 (G13).
🤖 Generated with Claude Code


Confidence Score: 5/5
This PR appears safe to merge.Summary
Changes
judge-as-solverfrom an error to a warning.earakely-scaleexplicitly describes allowing self-grading outside training as intentional, including for self-assessment tasks.Tests were inspected, not run.
Reviews (1) · Last reviewed commit: "fix(lint): a judge in the solver's own a..." · Reviewed by Greptile