Repository navigation
fix(eval): count final failures as 0 in reverification metrics - #4875
Closed
AdamRajfer wants to merge 1 commit into
Closed
AdamRajfer wants to merge 1 commit into
AdamRajfer wants to merge 1 commit into
Conversation
Review finding 4338966652 (follow-up to NVIDIA-NeMo#4844). Reverification already treats a final sidecar failure as final for its resume, but its metrics read only the main rollouts file, so a run with one success and one final verifier failure scored 1.0 there and 0.5 in gym eval aggregate. Reverification now adds metrics-only zeros for the final failures, chosen by the same selection gym eval aggregate uses with no retryable class (a key that succeeded is skipped, retry_terminal_timeouts is honoured). Retryable failures and data gaps stay out of the score; the sidecar, the exports and the returned rows are unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Adam Rajfer <[email protected]>
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.
Follow-up to #4844, stacked on it: merge after #4844. From review finding 4338966652.
What and why.
gym eval aggregatecounts every final failure as 0, but reverification aggregated only its main JSONL, so the same artifacts could give two different scores. Reverification now adds a metrics-only 0 for each final sidecar failure, using the selectiongym eval aggregateuses with[](no retryable class). Retryable failures and data gaps stay out of the score. The sidecar and rollouts files are unchanged.Eval scores. Reverified runs with final failures move down to match
gym eval aggregate.Unit tests.
tests/unit_tests/test_rollout_reverification.py::test_reverification_counts_final_failures_as_zero_like_gym_eval_aggregate, which fails without the fix. The reverification suites pass.🤖 Generated with Claude Code