Repository navigation
fix(abstention): match standalone judge grades - #5403
Open
deavgprime wants to merge 1 commit into
Open
deavgprime wants to merge 1 commit into
deavgprime wants to merge 1 commit into
Conversation
Signed-off-by: devgprime <[email protected]>
This branch has not been deployed
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 changed
The abstention judge parser reads the A in
Answer: Band awards full correctness reward. It also reads the A inC: NOT_ATTEMPTED.Match standalone grade letters instead. Preserve the existing preference for a bare grade on the final line and the B fallback when no grade can be selected. Multiple different grades now use that fallback rather than favoring A.
Fixes #5380.
Validation
gym env test --resources-server abstention +skip_venv_if_present=true +should_validate_data=true: 66 tests pass and example data validates.402020a8; 13 controls pass. Coverage includes word boundaries, punctuation, conflicting grades, final-line precedence, rewards, verdicts, and omniscience index.pre-commit run --all-files: passes. The private guardword catalog is unavailable, so that scan is skipped.git diff --check: passes.\boxed{Paris}; a separate judge call to the same model returned A; reward was 1.0. This checks integration, not judge accuracy. No external model API was used.Result compatibility
Bare grades and explicit
[IDK]abstentions are unchanged. Previously misparsed or conflicting judge responses can receive different rewards, so results containing those responses should be rescored. Malformed responses still use the existing incorrect-answer fallback; this change does not introduce a new judge-failure policy.Proposed labels:
bug,area:environment,needs-review.