Repository navigation
fix(tier3): retain partial arm evidence in collector JSON - #670
Merged
chrisknvidia merged 8 commits intoNov 16, 2026
Merged
Conversation
Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
chrisknvidia
requested review from
mosheabr,
rmalani-nv and
rng1995
as code owners
November 16, 2026 16:27
Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
…sing In a stop-on-pass run, an unscored attempt before the first pass was labelled as skipped, so a crash followed by a pass hid the crash behind a skipped marker and showed zero missing attempts. Only unscored attempts after the first pass are skipped on purpose. Missing attempts are now counted from the admitted attempt ordinals up to the first pass, minus scored and recovered ones, so a slot the budget never admitted is neither missing nor skipped. Applies to both arms. Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
rng1995
reviewed
Nov 16, 2026
rng1995
left a comment
Collaborator
There was a problem hiding this comment.
Reviewed the collector change and the comparison gating. The _build_comparison per-arm gating looks right. Two inline findings on the partial-arm retention; I reproduced the first locally against this head.
Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
rng1995
reviewed
Nov 16, 2026
rng1995
left a comment
Collaborator
There was a problem hiding this comment.
Reviewed e5394b7, including the follow-up integrity gate and unresolved-case accounting. No additional actionable findings. Latest focused regression run: 45 passed, 140 deselected. The earlier broader collector/baseline-timeout/truth run on 2a2d91e had 451 passed, 4 skipped, and 4 engine tests failing because the local Harbor installation lacks harbor.agents.agent_auth_resolution; those failures do not exercise the changed collector paths.
rng1995
enabled auto-merge (squash)
November 16, 2026 17:41
…s-json Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
…s-json Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
chrisknvidia
deleted the
fix/christopherk/keep-partial-baseline-attempts-json
branch
November 16, 2026 18:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
When a Tier 3 arm executed only partly (for example, one baseline attempt was scored and another ended with a non-zero agent exit), the Harbor collector discarded the arm's scored evidence before writing
result.json. The reward was extracted, butpass_at_k.<arm>became{}and the arm's score maps were cleared. As a result, the visible "1 of 2 attempts scored" could not be checked against the results JSON.The collector now keeps the pass summary and per-arm scores for an arm with
0 < scored_attempts < expected_attempts:attempts_missingand no scored rows, and are not counted as failures (failed_casescounts only scored cases).rate/rate_intervalstaynull. The arm staysfailed, and overall score, lift, completed-agent result and publication eligibility stay unavailable, as before.comparison.jsonnow also gates each arm on its own execution status, so a failed arm's retained scores reportnullthere (and lift isnull) even when the agent was tolerated as succeeded.This builds on the merged change that keeps failed arms out of terminal quality headlines. It also works with the failed-arm per-trial diagnostics: attempts and tokens are not double-counted.
Verification
make lintmake testmake buildRan
ruff checkandruff format --checkon the changed files. Rantests/reporting(includingtest_failed_arm_trials.py), the Harbor collector tests and the result-display, benchmark-contract and results-location tests: 3413 passed, 95 skipped. In a real Docker/Harbor run where one Claude Code baseline attempt was interrupted after the other scored,result.jsonkeeps the scored attempt (attempts_used: 1,max_attempts_possible: 2,rate: null), and the interrupted case hasattempts_missing: 1.Release Impact
CHANGELOG.md