Skip to content

Add the E0 sweep run2 rerun script - #79

Merged
RodCor merged 1 commit into
mainfrom
cursor/e0s-rerun-run2
Nov 20, 2026
Merged

RodCor merged 1 commit into
mainfrom
cursor/e0s-rerun-run2

Conversation

@RodCor

@RodCor RodCor commented Nov 20, 2026

Copy link
Copy Markdown
Owner

Adds scripts/experiments/e0s/rerun_run2.sh, the script that reruns run2 of the E0 sweep (#68) on the box, byte-identical to the copy running there (sha256 0580084a8586919a84c61734672ef8f043cd9fe0753bde5554c44b196eca7545).

The original run2 stopped at conv-26 q198 after a box reboot. This script is run_e0s.sh as committed at cc7b729 (sha256 4b4155f1…, the runner run1 used) with these changes:

  • no rebuild: it reuses bin/kimetsu-e0s and checks its sha256 against run1's binary (262f17de…)
  • the eval loop runs only run2; run1 results stay as they are
  • preflight accepts a worktree that differs from 61dc9f0 only under scripts/experiments/e0s, checks every hash in wrapper-sha256.txt, and checks the model files against run1's model-sha256.before
  • build-toolchain preflight checks are dropped, and logs go to *.rerun2.* file names

Eval env, eval commands, data, summary, determinism diff and manifest steps are unchanged. The full diff is in rerun_run2.vs-run_e0s-4b4155f1.diff. The script keeps the box paths under /workspace/fuse, so it is archival rather than a general runner; run_e0s.sh on main stays the rerunnable one.

Tests: bash -n scripts/experiments/e0s/rerun_run2.sh. No Rust or workflow changes.

@RodCor RodCor left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fail (narrow): no must-fix. the added script is sha256 0580084a8586919a84c61734672ef8f043cd9fe0753bde5554c44b196eca7545, as claimed, and rerun_run2.vs-run_e0s-4b4155f1.diff matches diff -u against run_e0s.sh at cc7b729 (sha256 4b4155f1…). no unsourced benchmark numbers. writes stay under the documented /workspace/fuse paths (BENCH_E and /home/box only appear in unused build arrays / the manifest text). bash -n is clean.

should-fix:

  • scripts/experiments/e0s/rerun_run2.sh:124 — manifest still cites memavailable.log after the write was renamed to memavailable.rerun2.log
  • scripts/experiments/e0s/rerun_run2.sh:127 — overwrites $RES/MANIFEST.md (the 2026-11-13 run1 manifest)

nit (inherited from cc7b729, already fixed on main's run_e0s.sh): exit 0 swallows the determinism-diff status; dataset counts are hardcoded. shellcheck 0.10.0 only warns: unused BENCH_E (expected once toolchain copies were dropped), intentional for r in run2, and the inherited unquoted $(eval_cmd ...).

if this pr is only an archive of the box copy, say so and these can stay as known defects — fixing them would change the sha256. if the script has not yet been the run-of-record, fix first.

ci on 264a994 (pending, no failures): success on cargo-audit, clippy, rustfmt, python eval self-tests, test ubuntu-latest, typescript sdk, version sync, decision provider examples, integration asset drift, npm staging, analyze actions/js-ts/python. codeql neutral. still running: test macos-15, test windows-latest, test (embeddings, ubuntu), analyze rust x2. no rust or workflow changes. base main, mergeable, 1 linear commit, no force-push.

echo "- eval commands:"
for r in "${RUNS[@]}"; do for ds in "${DATASETS[@]}"; do echo " - TMPDIR=$S/tmp/$r $(eval_cmd "$r" "$ds")"; done; done
echo "- results: $RES/run{1,2} (JSONL, meta, stdout, summary.md/json, capsule-hist.md/json), $RES/determinism-diff.md (exit $DET), $RES/resolved-config-per-arm.json"
echo "- hashes: $S/wrapper-sha256.txt. memcap log: $S/memcap.log. MemAvailable trace: $LOGS/memavailable.log"

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should-fix: this still names $LOGS/memavailable.log, but line 64 writes $LOGS/memavailable.rerun2.log. the other rerun2 log names were updated; this one was not. the manifest will point at the run1 trace, or at a missing file.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok as a known defect. keeping the script byte-identical to the copy that ran on the box makes sense. the real files on the box are logs/memavailable.rerun2.log and friends, so the results report and corrections note need to cite those paths. closed from my side.

echo "- hashes: $S/wrapper-sha256.txt. memcap log: $S/memcap.log. MemAvailable trace: $LOGS/memavailable.log"
echo; echo "## run1 summary"; echo; cat "$RES/run1/summary.md"
echo; cat "$RES/run1/capsule-hist.md"
} > "$RES/MANIFEST.md"

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should-fix: this overwrites $RES/MANIFEST.md, which is the original run1 manifest from 2026-11-13. write MANIFEST.rerun2.md (and consider including the run2 summary, not only run1) so the first manifest stays put.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

verified on the box: /workspace/fuse/e0s/results/ holds only run1/, run2/ and run2.died-20261117/, with no MANIFEST.md. so line 127 creates the manifest and nothing from run1 gets lost. withdrawn, closed.

@RodCor

RodCor commented Nov 20, 2026

Copy link
Copy Markdown
Owner Author

Keeping the script byte-identical to the copy that ran on the box (sha256 0580084a…), so both items stay as known defects and the hash in the PR doesn't change. Editing the box copy mid-run isn't an option either, because bash reads the script incrementally.

  1. Manifest log paths: line 124 cites logs/memavailable.log and memcap.log. The rerun actually writes logs/memavailable.rerun2.log and memcap.rerun2.log. The results report will cite the real paths, and I'll add a corrections note to the generated MANIFEST.md.
  2. MANIFEST.md overwrite: there is no run1 manifest to lose. results/MANIFEST.md doesn't exist on the box. The original runner writes it only after run2, and run2 died, so line 127 creates the file instead of replacing a 2026-11-13 one.

@RodCor
RodCor merged commit bcfd133 into main Nov 20, 2026
22 checks passed
@RodCor
RodCor deleted the cursor/e0s-rerun-run2 branch November 20, 2026 22:05
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