Skip to content

fix(report): exclude grades from superseded selections - #238

Open
GoldArowana wants to merge 1 commit into
google-research:mainfrom
GoldArowana:fix/harness2-report-current-selection-20261126
Open

GoldArowana wants to merge 1 commit into
google-research:mainfrom
GoldArowana:fix/harness2-report-current-selection-20261126

Conversation

@GoldArowana

Copy link
Copy Markdown
Contributor

Problem

After changing a task's source material and rerunning just one mode, the scheduler removes the other mode's old selection from the task summary. The report still counts the old cached grade for the removed selection, even after judging both modes again.

An offline run with two tasks and both modes starts with four current results. After correcting one task and rerunning parallel only, the judge sees three current selections. The report on main still counts two graded tasks for sequential.

Fix

While reading task summaries for the report, check that each cached row matches the current mode's selected run ID and selection timestamp. Skip stale rows when the current summary records a different selection or no longer contains that mode. Existing judged-only snapshots remain reportable when there is no corresponding task summary. The report leaves the cache unchanged.

Validation

  • The offline scheduler → judge → report regression covers the stale row before and after rejudging, preservation of the unaffected task, recovery after rerunning the second mode, and a judged-only snapshot.
  • All 72 offline Python 3.12 tests passed.
  • OpenAI Codex implemented and tested this change, and a separate Codex agent reviewed the exact proposed commit and independently ran the two focused tests. The tests use deterministic local rollouts and make no model or benchmark-provider calls.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant