Skip to content

fix(workflow): preserve seed across refinement and grading - #17

Open
rudycelekli wants to merge 2 commits into
google-research:mainfrom
rudycelekli:fix/runner-seed-identity
Open

rudycelekli wants to merge 2 commits into
google-research:mainfrom
rudycelekli:fix/runner-seed-identity

Conversation

@rudycelekli

Copy link
Copy Markdown

The end-to-end runner scripts forward --seed to refinement but omit it from judging and reporting. A seeded run therefore tries to grade an unseeded namespace; if an older unseeded summary exists, the script can instead report that different experiment.

Preserve the final explicit --seed value in the shared arguments passed to refinement, judging and reporting. Both --seed N and --seed=N work, including negative seeds and repeated overrides. Seedless runs keep their arguments.

Validation runs the actual three Bash scripts with local command-boundary stand-ins for argument checks. An additional LAB workflow uses the actual TaskResult summary writer, disk score-cache reader and real judge/report CLIs, with missing and stale unseeded summaries as controls. Before:11 failing subcases and1 passing seedless control. After:3 focused methods and8 full unittest methods pass under macOS Bash3.2/Python3.13 with external network denied. Ruff, Bash syntax and gitdiffcheck pass. No model, benchmark executor or external service is run.

ipa-vsp pushed a commit to ipa-vsp/harness2 that referenced this pull request Oct 21, 2026
…search#17)

- `harness2 run --detach` starts the same run as a background process,
  logging to <run>/run.log, and returns its name, pid and log path at
  once (an immediate failure is reported with the log's tail).
- A running run records itself in <run>/run.pid; a second start of the
  same run is refused, and `harness2 stop [NAME]` asks it to stop: the
  calls in flight finish, the run exits, and rerunning resumes it. Only
  a detached run's own process group is signalled, never the shell or
  agent that launched a foreground run.
- With --json, a failing command prints {"error", "exit_code"} on
  stdout instead of an error line; `diff --json` returns the changes
  and per-file diffs.
- `apply -i` and `chat` refuse to start without a terminal instead of
  waiting for input, and the agent guide says how to change init's
  choices with `config set`.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.

2 participants