Repository navigation
fix(eval): preserve planned repeats through aggregation and reverification - #6017
Draft
katerynaCh wants to merge 92 commits into
Draft
katerynaCh wants to merge 92 commits into
katerynaCh wants to merge 92 commits into
Conversation
Signed-off-by: Kateryna Chumachenko <[email protected]>
Signed-off-by: Kateryna Chumachenko <[email protected]>
Register the multimodal harness and configure its conformance episodes. Provision the pinned OpenCode runtime, image dependencies, and Bubblewrap sandbox in CI so the checks run without manual environment setup. Signed-off-by: Kateryna Chumachenko <[email protected]>
Provide an opt-in verifier entrypoint that removes trailing EOS markers before answer extraction. Preserve standard matching rules and the original response, with coverage for suffixes and case-sensitive comparisons. Signed-off-by: Kateryna Chumachenko <[email protected]>
Signed-off-by: Kateryna Chumachenko <[email protected]>
Signed-off-by: Kateryna Chumachenko <[email protected]>
Signed-off-by: Kateryna Chumachenko <[email protected]>
Signed-off-by: Kateryna Chumachenko <[email protected]>
Preserve failed-rollout capture invalidation alongside typed upstream outcomes. Reuse upstream capture identity compatibility and adapt multimodal conformance to the endpoint map API. Signed-off-by: Kateryna Chumachenko <[email protected]>
…sions Signed-off-by: Kateryna Chumachenko <[email protected]>
Signed-off-by: Kateryna Chumachenko <[email protected]>
Signed-off-by: Kateryna Chumachenko <[email protected]>
Signed-off-by: Kateryna Chumachenko <[email protected]>
Adapt multimodal component dependency locks and judge failure retries to upstream contracts. Preserve the training capture and failed-rollout handling. Signed-off-by: Kateryna Chumachenko <[email protected]>
…-onboarding-compliance Signed-off-by: Kateryna Chumachenko <[email protected]>
…ce command denies Signed-off-by: Kateryna Chumachenko <[email protected]>
Signed-off-by: Kateryna Chumachenko <[email protected]>
Reuse the shared OpenSandbox policy helper while retaining namespace enforcement for local and Enroot execution. Translate multimodal network modes without changing the shared agent defaults, and preserve both harness conformance registrations. Signed-off-by: Kateryna Chumachenko <[email protected]>
Signed-off-by: Kateryna Chumachenko <[email protected]>
Use canonical sandbox network modes and explicit benchmark tool policies. Preserve a private Python runtime for sandbox execution and document the supported controls. Add benchmark task-data validation, resumability coverage, and verifier evidence recording with representative fixtures. Signed-off-by: Kateryna Chumachenko <[email protected]>
Separate infrastructure failures from model errors, repair benchmark extraction and pass@5 defaults, validate judges and task metadata, and fix process cleanup and configuration wiring. Remove BabyVision and document shared compatibility and source provenance. Host-proc isolation and Agent-X permission remain deferred. Signed-off-by: Kateryna Chumachenko <[email protected]>
Use the deepest typed HTTP cause for native judge retry decisions instead of a proxy carrier status. Keep the controlled conformance model separate from enforced visual gateway budgets and cover both paths with regressions. Signed-off-by: Kateryna Chumachenko <[email protected]>
Signed-off-by: Kateryna Chumachenko <[email protected]>
Signed-off-by: Kateryna Chumachenko <[email protected]>
Signed-off-by: Kateryna Chumachenko <[email protected]>
Signed-off-by: Kateryna Chumachenko <[email protected]>
Signed-off-by: Kateryna Chumachenko <[email protected]>
Signed-off-by: Kateryna Chumachenko <[email protected]>
Signed-off-by: Kateryna Chumachenko <[email protected]>
Signed-off-by: Kateryna Chumachenko <[email protected]>
Signed-off-by: Kateryna Chumachenko <[email protected]>
Contributor
Author
|
/ok to test 5b36ae8 |
Contributor
Signed-off-by: Kateryna Chumachenko <[email protected]>
Signed-off-by: Kateryna Chumachenko <[email protected]>
Signed-off-by: Kateryna Chumachenko <[email protected]>
Signed-off-by: Kateryna Chumachenko <[email protected]>
Signed-off-by: Kateryna Chumachenko <[email protected]>
Signed-off-by: Kateryna Chumachenko <[email protected]>
Signed-off-by: Kateryna Chumachenko <[email protected]>
…cation Signed-off-by: Kateryna Chumachenko <[email protected]>
Signed-off-by: Martyna Patelka <[email protected]>
katerynaCh
force-pushed
the
kchumachenko/planned-repeat-accounting
branch
from
November 12, 2026 16:46
2595e8a to
e5ecf93
Compare
Contributor
Author
|
/ok to test e5ecf93 |
This was referenced Nov 12, 2026
7 tasks done
This branch had an error being deployed
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.
Depends on #5135. This PR is stacked on the benchmark branch and should merge only after #5135. Once that PR lands, this branch will be rebased onto main and retargeted so the diff contains only repeat-accounting changes.
What does this PR do?
Prevents an incomplete repeated evaluation from being reported as complete when an entire repeat is absent from the saved results.
For example, an evaluation requests two attempts for each of three tasks. If only attempt 0 succeeds for every task, the three surviving rows still look balanced: every task has one result. Inferring completeness from those rows loses the fact that six measurements were requested. The same problem occurs when unsuccessful attempts are written to failure sidecars rather than the scored output.
This change carries the requested attempt plan from materialized inputs to aggregation:
expected_rollout_indicestoAggregateMetricsRequest, mapping each task index to its planned rollout indices.Validation
Final commit:
5b36ae84d1c97e75ab1e97cd6b8c196153b45b55.3,288 tests passed. The following pytest arguments were executed through an isolated Python runner that selected this checkout and its test helpers, avoiding another editable Gym installation:
Checks cover uniformly missing or masked repeats, restored completeness after recovery, failure-sidecar accounting, cached/fresh reverification, original environment routing, ambiguous routes, interrupted materialized records, and compatibility with existing aggregation callers.
Available pre-commit checks and diff whitespace checks passed. The private guardword catalog was unavailable locally, so that scan still requires remote CI. The commit has a DCO sign-off.
Rollouts
Verified the missing-repeat bug with the same synthetic aggregation fixture against parent commit
cdc828124and this branch at5b36ae84d. The fixture requests three tasks × two repeats, then removes repeat 1 from every task while retaining the full six-attempt plan.complete: trueand headline metrics.complete: false; headline metrics are withheld and partial metrics remain available.This before/after reproduction covers VStar, HRBench8K, and VTCBench. It specifically tests missing repeats without removing any task entirely.
As a separate compatibility check, re-aggregating 191 saved VStar results with their materialized plan preserved completeness and 92.67% accuracy. Removing one result produced a partial report. That single-repeat check exercises existing missing-task detection; it is not evidence of the missing-repeat bug.
No fresh model or judge calls were needed for this aggregation-only change. Agent execution and per-rollout grading are unchanged. The compatibility check reused saved results without modifying the source artifacts.
Compatibility and benchmark impact
The aggregation request field is optional and defaults to
None, meaning the planned inventory is unknown. Existing aggregators can continue usingverify_responsesand ignore the new field. Normal collection and supported aggregation/reverification paths supply the inventory automatically when materialized inputs are available.Direct callers of the visual benchmark aggregator must supply
expected_rollout_indicesto establish planned-attempt completeness. Without it, the aggregator reports partial metrics rather than certifying a complete evaluation. Historical artifacts with unavailable plans or ambiguous routing may therefore no longer produce a headline score without supplying the original materialized inputs and routing evidence.Correctness rewards, tool rewards, prompts, judge behavior, sampling, and training are unchanged. Complete evaluations retain their scores. Incomplete evaluations may lose a previously misleading headline score; partial metrics remain available. Execution-evidence forwarding remains separately opt-in and defaults to off.
Checklist
pre-commit run --all-files) (so CI lint/format checks pass).git commit -s) (so the DCO check passes).