Repository navigation
fix(workflow): preserve seed across refinement and grading - #17
Open
rudycelekli wants to merge 2 commits into
Open
rudycelekli wants to merge 2 commits into
rudycelekli wants to merge 2 commits into
Conversation
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>
rux001
approved these changes
Oct 27, 2026
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.
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.