Repository navigation
Description
What
A re-check of the #4883 audit against current main (8b0a2d02c6, Nov 30) shows that failures are still scored as model results in many components. #6393 records a rollout scored despite a failure (observe_scored_despite_failure), but it changes no reward, mask or retry, so those rollouts still count as 0.
Of the 174 components the audit covered, 159 still have an open row. 112 of those have a definite scored-failure row, and 26 of the 112 ship a training split. The 75 components added since the audit are not in its inventory. 9 of them, plus the heavier changes to existing ones, arrived with a definite gap, and 23 more need a decision.
This issue tracks closing those gaps as small, focused PRs under #3180. Related: #4883, #4882, #6344, NVIDIA-NeMo/RL#4968.
Status (Dec 1)
A re-scan of the rows whose code changed (97 of 421; #6984 assumed merged, main at b6ae624) moves the open rows (everything not fixed or deliberate) from 326 to 304: FIXED 95 to 113, RECORDED_ONLY 20 to 24, NOW_CORRECT 0 to 4. It also found 15 new gaps.
- fix(resources_servers): record verifier failures that are scored as model results #6984 (WP1) records, and does not change, the scores of the seven servers. fix(resources_servers): record failures scored as model results in perceptionbench, agentic_turn_simulation_judge and opencode_sandboxed_agent #7041 records four more of the new gaps.
- fix(swe): mask verifications without a verdict and block agent egress in more SWE servers #6670, by another author, already masks a verification without a verdict in
swe_gym,r2e_gym,scale_swe(legacy path) andswemer_ultra, so most of WP2 is done. What remains there is a test timeout graded as a completed 0, which the code documents as deliberate (fix(deepswe): score tests that hit their time limit as unresolved #6198). - fix(finance): isolate python_exec, stage the EDGAR index, mask unresolved rubrics #6671 fixed
finance_agent_v2.big_financestill scores an empty rubric 0.0. - fix(arena): count a judge game with no verdict as a failed rollout #6371 changed
arena: a game with no verdict is now an unmasked 0.0 withfailure_kindjudge_no_verdict, where it used to raise. This needs a decision, since training still sees the zero.
Rules for every PR below
- Additive and opt-in. No default reward, mask or retry change before the matching decision (D1-D4) is made.
- Mask-vs-raise follows tracking: audit reward-zero and fake-success failure producers #4883: the model's own failure is scored; an infrastructure failure a retry may fix is raised; one a retry will not fix, or any failure on the
legacy_agentrelay (where a raise ends the run unlessroute_failures_to_sidecaris on), is masked with afailure_kind. - Tests assert behavior at the final response boundary: the infrastructure failure, a real wrong answer that stays 0, and a pass.
Decisions needed (they block only the default flips, not the opt-in code)
- D1 (Q1): a run fails after the model started working. Whose failure? Proposal: the environment states it when it knows; otherwise
unknown, not counted against the model. Add an opt-in toagent_outcome_policyfor a failed response with no classified outcome first. - D2 (Q2): a judge replied but the verdict is unreadable.
nemo_gym/verification/judge.pyalready documents it as a legitimate wrong answer. Proposal: keep that for benchmarks; training configs opt in tomaskwithjudge_unparseable, through theunparseable_verdict_policyknobwebvoyager_judgealready has. - D3 (Q3/Q6): retry vs final, and benchmarks that count failures as 0. Proposal: route through the shared
OutcomePolicyConfig/choose_action, not new per-server flags. - D4 (Q5): a tool or provider outage mid-episode that the model sees. Proposal: bounded retry inside the tool, then end the rollout as an infrastructure failure.
Work packages
- WP1 - small definite bugs.
critpt,officeqa,big_finance,image_tools,lc_niah,asr_with_pc,denovo_swe. One PR: fix(resources_servers): record verifier failures that are scored as model results #6984, which records the failures and changes no score. Follow-up for three more components: fix(resources_servers): record failures scored as model results in perceptionbench, agentic_turn_simulation_judge and opencode_sandboxed_agent #7041 (draft). - WP2 - coding (SWE) training servers, the highest training exposure:
swe_gym,r2e_gym,denovo_swe,scale_swe(legacy path),swerl_gen,swe_pivot. Move whatswe_rebenchalready does (maskverifier_errorfor patch-capture failure, missing spec,evaluation_completed=False, sandboxerror_type) into one shared helper inresources_servers/swebench. Mostly done by fix(swe): mask verifications without a verdict and block agent egress in more SWE servers #6670 (see Status). Remaining: record a test timeout that a provider may have caused, anddenovo_swe(partly recorded in fix(resources_servers): record verifier failures that are scored as model results #6984). - WP3 - ratchet and onboarding gate. An AST test under
tests/unit_tests/tooling/that flags a broadexceptinverify()/run()returning a zero reward or a paddedcompletedresponse without raising, masking or recording. Its allowlist may only shrink. Adds the Producers do not declare the outcome of the failures they emit, so each one re-decides retry vs mask vs score #6344 declared-outcome contract. - WP4 - judge reply handling (about 15 servers). Generalize
unparseable_verdict_policy: zero|mask|raiseintonemo_gym/verification/judge.py, defaultzero. Move judge errors swallowed inside servers undercall_judge. - WP5 - failed agent runs padded as completed (about 10 agents). An opt-in in
agent_outcome_policyfor a failed response with no outcome; per agent, returnstatus=failedwith a classified outcome on the legacy and host paths. - WP6 - make the feat: record rollouts that were scored despite a failure #6393 records actionable. Add
observe_scored_despite_failureto the open paths, training servers first; then a collection-time opt-in that masks those rows with theirfailure_kindthrough the shared outcome policy. Needs feat(grpo): add exclude_infra masked-reward policy for infra-masked rollouts RL#4968, because masked rows still move GRPO statistics under RL's default. - WP7 - tool outage shown to the model (D4). Pilot
enterpriseops_gym, thentavily_search,hle_web_tools,agentic_mme_agent,legal_agent_bench_native,critpt_custom_grader. - WP8 - the rest, per family.
Done means
- Open rows in the re-check fall from 326, and the ratchet allowlist only shrinks.
- No
type: trainserver keeps an open definite row. - A smoke run with forced infrastructure failures (kill the sandbox, break the judge) shows failure rows and
rollout_scored_despite_failureevents, not zeros.
Not in scope
Training include/exclude policy (NVIDIA-NeMo/RL#4968), session adoption and TTL (#3037), and reward changes for benchmarks that must match an official score without an explicit opt-in (Q6).
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDev Todo
- StatusShow more project fieldsDev Todo
Activity
fix(resources_servers): keep model- and agent-caused failures as scor…
fix(resources_servers): record verifier failures that are scored as m…
fix(lc_niah): record an unreadable expected_answer exactly when the g…
fix(resources_servers): record more verifier failures in denovo_swe a…
fix(opencode_sandboxed_agent): record the two failures a check return…
fix(denovo_swe): record a failed listing of the untracked files at seed
yuhezhang-ai commentedon Dec 1, 2026
Could we narrow the blanket “additive and opt-in” rule so that clearly unusable measurements can be corrected by default, without waiting for unrelated attribution decisions?
For example, an unreadable
lc_niahreference giving an empty answer reward 1.0 is not a valid measurement of model performance. Recording that failure is useful, but users should not need to opt into excluding it once its intended scoring contract is established.I’d propose these defaults for focused follow-up PRs:
failure_kind. Repeating the same invalid input should not consume retries. Examples include missing Hallucination audio duration, an unusable expected action, and an empty BigFinance rubric when usingrubric_pointsscoring. Other BigFinance reward modes do not require rubric points.Benchmark compatibility needs a separate check even when fault attribution is clear. Where an official benchmark deliberately counts a failure as zero, preserve a documented reproduction mode or version and make any default change explicit, with its effect on reported scores.
For training, verify both loss masking and exclusion of infrastructure rewards from group statistics. NVIDIA-NeMo/RL#4968 has merged; the integration should use a version containing that behavior.
I would keep #6984’s recording work separate from this decision. My suggestion is a follow-up that changes defaults for agreed definite cases, while leaving the genuinely unresolved D1–D4 cases behind their respective decisions.
fix(resources_servers): address review of the scored-failure records …