Repository navigation
feat(tb4): expose verifier test counts in rollout results - #4466
Merged
Merged
Conversation
Signed-off-by: Frederic Lafrance <[email protected]>
Contributor
Author
|
/ok to test 9889bf0 |
giuliolovisotto
marked this pull request as ready for review
October 12, 2026 10:18
giuliolovisotto
self-requested a review
October 12, 2026 10:18
giuliolovisotto
approved these changes
Oct 12, 2026
Contributor
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/38236682121 |
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.
What does this PR do?
Expose
num_tests_passed,num_tests_total,num_tests_failed, andnum_tests_skippedin TB4 rollout responses and persisted verifier results. This makes a failed task with 95/96 tests passed distinguishable from one with 3/96 passed, while retaining the official reward.Read the canonical CTRF summary or the supported case-count report. Top-level counts participate in generic aggregate metrics; unavailable reports yield null counts, and numbered reports are not added together. No separate issue is needed for this additive verifier metadata.
Validation
Replayed seven retained verifier reports through mini-SWE response serialization and generic metric aggregation. Example-data validation and full
pre-commit run --all-fileschecks passed.Rollouts
N/A for a fresh model rollout: this change reads existing verifier reports after execution. Retained real reports cover partial passes with zero reward.
Compatibility and benchmark impact
Official rewards and evaluation-completion rules are unchanged. Existing records without counts remain readable; unsupported or malformed reports produce null counts and parsing diagnostics.