Repository navigation
fix(math-with-judge): select the last explicit verdict - #4155
Merged
Merged
Conversation
Signed-off-by: Igor Gitman <[email protected]>
Kipok
marked this pull request as ready for review
October 7, 2026 00:57
bxyu-nvidia
previously approved these changes
Oct 8, 2026
Contributor
|
/ok to test 48bb6c3 |
@bxyu-nvidia, there was an error processing your request: See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/2/ |
Contributor
|
/ok to test 48bb6c3 |
@bxyu-nvidia, there was an error processing your request: See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/2/ |
Contributor
|
/ok to test 48bb6c3 |
bxyu-nvidia
enabled auto-merge
October 8, 2026 16:45
github-merge-queue
Bot
removed this pull request from the merge queue due to a conflict with the base branch
Oct 8, 2026
Signed-off-by: Igor Gitman <[email protected]>
Contributor
|
/ok to test 9907944 |
bxyu-nvidia
approved these changes
Oct 8, 2026
ananthsub
enabled auto-merge
October 8, 2026 18:42
Contributor
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/37828103207 |
This was referenced Oct 12, 2026
This branch was previously 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.
Summary
Use the last recognized
[[A=B]]/[[A!=B]]marker in the existing finaloutput_textblock instead of the first. This allows explicit judge self-corrections such asdifferent [[A!=B]] ... Final: [[A=B]]to determine the per-call verdict.This is an intentional scoring-policy change, separate from whitespace normalization in #4151. It targets current main independently; it does not include that patch or change the accepted marker syntax. Both changes can compose: normalize the selected text, then select the last marker.
Preserved behavior
Conflicting-marker responses can now change the reward or the number of judge calls. In particular, a saved negative-first response cannot simply be rescored positive offline if its reverse-order evaluation is missing. Pin the Gym revision when comparing benchmark results.
Validation
pre-commit run --all-files: passed after formatting.git diff --check: passed.Draft for author review. A fresh real-model smoke on this revision remains outstanding before marking ready; offline replay and unit tests are not a substitute. This focused PR serves as the change proposal, so no separate issue is needed. Prior math parsing work (#3095) and its discussion were reviewed; answer extraction and formatting rules remain unchanged.