--- name: clean-reproduce description: Rebuilds and reruns a project from a fresh copy at a recorded commit, inside a sandbox, following its README literally, and compares the numbers it produces with the pinned claim. Use after pin-the-claim on any verification, and whenever a result has only been seen on the author's machine. --- # Clean reproduce A result that only appears on one machine is an anecdote. This skill checks whether the project's own instructions produce its own numbers, on a clean copy, without the author's environment. Part of the Verification Bench (case file: see `verify`). ## Steps 1. **Fresh clone, pinned commit.** ```sh git clone clone && cd clone && git checkout && git rev-parse HEAD ``` Record the hash. If the code arrived as an archive, record its SHA-256. If it isn't a git repo at all, hash the tree instead and use that in place of a commit: ```sh find . -type f -not -path './.git/*' | LC_ALL=C sort | xargs sha256sum | sha256sum ``` 2. **Sandbox it.** Untrusted code never runs on your own machine directly. Install dependencies with network, then run with none: ```sh docker run --rm -it -v "$PWD":/work -w /work bash # install step docker run --rm -it --network none --memory 8g -v "$PWD":/work -w /work bash # run step ``` Images: `python:3.12`, `rust:1`, `node:22`, `gcc:14`. No secrets, no SSH keys, no home folder mounted. No Docker? On Linux, run each command with no network and an empty environment, on a copy: `unshare -rn env -i PATH=/usr/bin:/bin HOME=/tmp `. Otherwise use a throwaway VM. Write down which sandbox you used. 3. **Follow the README literally.** Every deviation you need (a missing step, a pinned version, a typo) is a finding: write it down before fixing it. 4. **Build the way the claim was measured.** Lockfiles honoured (`pip install -r requirements.txt` with pins, `cargo build --release --locked`, `npm ci`). Record tool versions (`python -V`, `rustc -V`, `node -v`). 5. **Run the headline command N times** (the `Runs` from the pinned claim, at least 5). Save each run's full output to a file; don't summarise from memory. 6. **Measure noise.** Report median and spread (min to max). If the spread is larger than the claimed effect, say so: the claim can't be resolved at this noise level. 7. **Compare with the pinned pass mark** and write the case-file entry. ## Results - **PASS**: the median meets the pass mark within tolerance. This only means the project's own command gives its own number. It says nothing yet about how the number was made: that's what the rest of the route is for. - **FAIL**: it runs, and the median misses the pass mark. - **INCONCLUSIVE**: it won't build or run from a clean copy, or noise swamps the effect. Record exactly where it broke. ## Entry ```markdown ### clean-reproduce · · PASS | FAIL | INCONCLUSIVE - Commit: ; sandbox: , network off during runs - Ran: `` ×; tools: - Saw: median , spread – (claim: ) - README deviations: ```