You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make metrics consume reward_components directly #2137
BaseMultiRewardVerifyResponse defines reward_components as the canonical multi-reward representation, but aggregate metrics and reward profiling only inspect top-level numeric fields.
Verifiers must therefore duplicate every component:
Teach generic metrics consumers to read reward_components directly, including:
Aggregate metrics
Reward profiling and rollout_infos
Pass/majority metrics where applicable
Other code that generically extracts numeric verifier fields
Preserve existing output names such as mean/correctness.
During migration, matching duplicated values should be deduplicated; conflicting values should produce a clear error.
Acceptance criteria
Per-component metrics work without duplicate top-level fields.
Scalar-only verifiers remain unchanged.
Existing unrelated top-level numeric fields still work.
Missing, inconsistent, and conflicting components have documented behavior.
Update the multi-reward example, tests, and documentation to remove the duplication workaround.
NeMo RL already consumes reward_components directly for GDPO, so this aligns evaluation with the training contract.
A focused implementation is available on this fork branch (commit 3ba1dcd). It reads canonical components in aggregate metrics, saved rollout details and pass/majority metrics, deduplicates matching top-level fields, and rejects conflicting values. Missing objectives remain unobserved rather than becoming zero.
On current main facc4ddecf, 217 metrics/scaffold/reader tests pass, along with all 9 multi-reward example tests, data validation and pre-commit. The 19 focused regressions produce 17 failures before the production fix and all pass afterward. The full native core run on the preceding a38b363d3 base has 66 failures, all also present on untouched main; Linux/full-matrix qualification remains outstanding, so I have not opened an upstream PR while contribution requirements are being completed.
@sven-rankov, if your earlier claim has a public implementation, please link it so the work can be coordinated.
Activity
sven-rankov commentedon Sep 25, 2026
Hi @init-nikhil, I'd like to work on this (feel free to assign me)
cenab commentedon Nov 5, 2026
A focused implementation is available on this fork branch (commit 3ba1dcd). It reads canonical components in aggregate metrics, saved rollout details and pass/majority metrics, deduplicates matching top-level fields, and rejects conflicting values. Missing objectives remain unobserved rather than becoming zero.
On current main
facc4ddecf, 217 metrics/scaffold/reader tests pass, along with all 9 multi-reward example tests, data validation and pre-commit. The 19 focused regressions produce 17 failures before the production fix and all pass afterward. The full native core run on the precedinga38b363d3base has 66 failures, all also present on untouched main; Linux/full-matrix qualification remains outstanding, so I have not opened an upstream PR while contribution requirements are being completed.@sven-rankov, if your earlier claim has a public implementation, please link it so the work can be coordinated.