Skip to content

feat(tb4): expose verifier test counts in rollout results - #4466

Merged
lafrancef merged 1 commit into
mainfrom
flafrance/tb4-test-counts
Oct 12, 2026
Merged

lafrancef merged 1 commit into
mainfrom
flafrance/tb4-test-counts

Conversation

@lafrancef

Copy link
Copy Markdown
Contributor

What does this PR do?

Expose num_tests_passed, num_tests_total, num_tests_failed, and num_tests_skipped in 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-files checks 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.

@lafrancef lafrancef added feature New capabilities, enhancements, or enablement work area:environment Individual environments, benchmarks, verifiers, and environment-specific resources servers labels Oct 12, 2026
@copy-pr-bot

copy-pr-bot Bot commented Oct 12, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@lafrancef

Copy link
Copy Markdown
Contributor Author

/ok to test 9889bf0

@lafrancef
lafrancef added this pull request to the merge queue Oct 12, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/38236682121

Merged via the queue into main with commit 7ece899 Oct 12, 2026
43 of 45 checks passed
@lafrancef
lafrancef deleted the flafrance/tb4-test-counts branch October 12, 2026 10:46

This branch was previously deployed

1 inactive deployment
public — 9889bf08 Deployed Oct 12, 2026 by copy-pr-bot[bot] via release / finalize / notify #5021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:environment Individual environments, benchmarks, verifiers, and environment-specific resources servers feature New capabilities, enhancements, or enablement work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants