Skip to content

tracking(core): close the remaining gaps where failures are scored as model results #6983

In progress

Description

@oyilmaz-nvidia

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.

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_agent relay (where a raise ends the run unless route_failures_to_sidecar is on), is masked with a failure_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 to agent_outcome_policy for a failed response with no classified outcome first.
  • D2 (Q2): a judge replied but the verdict is unreadable. nemo_gym/verification/judge.py already documents it as a legitimate wrong answer. Proposal: keep that for benchmarks; training configs opt in to mask with judge_unparseable, through the unparseable_verdict_policy knob webvoyager_judge already 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

Done means

  • Open rows in the re-check fall from 326, and the ratchet allowlist only shrinks.
  • No type: train server 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_failure events, 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).

Activity

  1. yuhezhang-ai commented on Dec 1, 2026

    @yuhezhang-ai
    Contributor

    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_niah reference 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:

    • Definite bad task data: reject it during dataset validation where possible; otherwise exclude the unusable runtime result with an appropriate 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 using rubric_points scoring. Other BigFinance reward modes do not require rubric points.
    • Definite infrastructure failures: stop failed setup before starting the model. Use bounded retries when the failure may be transient, then exclude an unresolved result. Specify what is retried: grading a saved answer, verification, or an entire episode. Raising alone does not guarantee recovery—the legacy relay can end the run instead.
    • Unresolved attribution or scoring semantics: retain an explicit decision or compatibility setting. A sandbox failure after the model starts may be model-caused; a received-but-unusable judge reply overlaps D2. Unexpected scorer exceptions can also be deterministic bugs, so they should not automatically trigger repeated judge calls.
    • Legitimate model failures: keep their valid penalty, such as a wrong answer or an attributable task-budget failure.

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions