Repository navigation
fix(swe-atlas): mask inconclusive grading and preserve cleanup retries - #5105
Conversation
Signed-off-by: Christian Munley <[email protected]>
|
/review |
|
/ok to test eda0552 |
svcnvidia-nemo-ci
left a comment
There was a problem hiding this comment.
SHIP WITH CARE — the source changes look correct; one RISK remains in the benchmark validation evidence.
RISK — Add the required before/after reward-profile comparison
Failure/evidence: The new zero-scored branch changes which samples contribute to this fixed evaluation benchmark. The description supplies a successful smoke rollout and controlled failure replays, but no paired base/head reward-profile comparison. The selected review rubric explicitly requires that comparison for fixed-benchmark verifier changes. Unintended distribution changes remain unmeasured; this is an evidence gap, not a demonstrated scoring defect.
Correction: Could you add a paired comparison using the same representative saved answers/tasks and judge configuration against base and head? Report the sample count, completed/masked counts, strict-pass distribution, mean reward, and aggregation denominator for each revision. Separate the intended exclusion of wholly unscored runs from results whose grading completed. No implementation rewrite is requested.
Preservation and acceptance: The comparison should show unchanged rewards for fully scored and partially scored answers, including a scored-but-failing answer. Missing/empty answers must remain completed, unmasked zero rewards. A controlled wholly unscored evaluation should change from a completed zero at base to an incomplete, masked zero at head. Retain the concrete assertions in the score-preservation and empty-answer tests. These are proposed acceptance checks; I did not execute them.
Both changed files and directly affected scoring, session-cleanup, shutdown, harness, and aggregation contracts were inspected. The delegated scoring report was unavailable, so that topic was independently completed during consolidation. Review was static-only; the reported test and rollout results were not independently reproduced.
Review generated by codex. This was a full review. Request a full review with /review reset=true.
…ltered (NVIDIA-NeMo#5355) On NVIDIA's inference API, azure/anthropic/claude-opus-4-* answers some rubric calls on the security-tool tasks with finish_reason=content_filter and no content. The evaluator leaves those rubrics unscored, and since NVIDIA-NeMo#5105 a rollout with none scored is masked, so the affected tasks drop out of the score. In one 124 x 3 run judged by azure/anthropic/claude-opus-4-6, 17% of rubric calls were filtered and 58 of 366 rollouts (23 tasks) had no rubric scored; aws/anthropic/bedrock-claude-opus-4-6 graded the same calls normally. Signed-off-by: Khushi Bhardwaj <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
What does this PR do?
Fix three verifier failure paths found while reviewing the merged SWE Atlas Q&A integration from #4777. No separate issue is needed for these focused corrections.
Validation
pytest resources_servers/swe_atlas_qa/tests responses_api_agents/harness_agent/tests --cov=resources_servers.swe_atlas_qa.app --cov=resources_servers.swe_atlas_qa.prepare --cov-report=term-missing:skip-covered --cov-fail-under=95 -q: 109 passed, 98.43% production coverage.gym env test +entrypoint=resources_servers/swe_atlas_qa +should_validate_data=true, using the existing isolated test environment via+skip_venv_if_present=trueand+uv_venv_dir: 67 passed, example data validated.pre-commit run --all-filesandgit diff --check: passed. The optional private guardword catalog was unavailable. The diff contains only server code and tests.Rollouts
One fresh Hermes + self-hosted DeepSeek-V4.1-Flash rollout on OpenSandbox, using the unchanged Scapy task
task-6905333b74f22949d97ba9bd:evaluation_completed=trueandmask_sample=false.This is integration evidence, not a benchmark score reproduction. The targeted regressions separately exercise controlled judge/provider failures that a successful smoke does not cover.
Compatibility and benchmark impact
No configuration, dataset, harness, or public API changes. Missing or empty answers remain completed, unmasked zero rewards. Partially scored answers retain the upstream scoring policy. Completely unscored judge runs are now excluded as inconclusive, so runs affected by judge outages can have different aggregate scores. Private grader assets and credentials are still staged only after the task sandbox closes successfully.
Checklist