# pull request #4 Decision: **reproduce**; documents: **pass**. Adds the estimate check; nothing ran on this head, so run the sample matrix before merging Worth having if it does what it says: this is the project's first gate, and the repo now carries both the check and the samples to try it on. But nothing has run on 24ed4ba — the trial shows no runners, there are no checks on the head and no reviews — so the 11/11 matrix rests on the author's word alone. Reproduce it, from the repo root: for d in samples/accept/* samples/reject/*; do SS_INPUT="$(dirname "$d")" SS_ROUTE_DIR="$(basename "$d")" bash checks/estimate.sbatch; echo "exit: $?"; done Confirm: accept/full exits 0 and leaves metrics.json with {"score": 0.008}; accept/empty exits 0 with "Nothing to judge yet"; each of the four reject samples exits 1 with its own named reason (bounds-unordered, out-of-range, no-convergence, bad-instance); an unknown but well-formed id passes with a note instead of a verdict. The run writes metrics.json into the route folders, so samples/accept/full/metrics.json will appear — that is the runner's convention, not a leak; delete the stray files afterwards. If that holds, merge. Two things to tidy, neither blocking: checks/starters.md is the right place to say the check mutates the route folder, and routes/mcmga-add-verifier/README.md still names head 8f466bd3 while this head is 24ed4ba. The width score stays gameable by a vanishingly narrow interval until the convergence-scatter criterion in starters.md lands — the issue says that judgement is a reviewer's and a later check's, so I am not holding the PR for it, but the first route pushed under it should be read with that in mind. ## Looking further (advice: the decision above is the first reading’s) 1. run ls; echo ---; cat scienceslack.json; echo ---; cat AGENTS.md, 0.2 s 2. run for d in samples/accept/* samples/reject/*; do echo "=== $d"; SS_INPUT="$(dirname "$d")" SS_ROUTE_DIR="$(basename "$d")" bash checks/estimate.sbatch; echo "exit: $?"; done, 0.5 s 3. run cd /tmp && rm -rf t && mkdir -p t/{nan,bool,badjson,unknown,nofolder,prefix,width0,nocode} # helper: copy a code file in mk() { printf '#!/usr/bin/env python3\n' > "$1/run.py"; } mk t/nan; cat > t/nan/estimate.json <<'E' {"instance":"49x1296","value":0.66,"lower":0.65,"upper":NaN,"method":"m","conve, 0.2 s 4. run cat README.md, 0.1 s 5. run cp checks/estimate.py /tmp/est.py && cd /tmp && for d in t/*; do echo "=== $d"; python3 /tmp/est.py "$d"; echo "exit $?"; done; echo "=== missing folder"; python3 /tmp/est.py t/nofolder; echo "exit $?", 0.3 s 6. run ls routes; echo ---; cat routes/mcmga-add-verifier/README.md; echo ---; grep -rn "metrics.json\|estimate" README.md AGENTS.md | head -30; echo ---; ls -a; cat .gitignore 2>/dev/null (failed), 0.1 s 7. run cp checks/estimate.py /tmp/est.py && mkdir -p /tmp/t && cd /tmp/t && rm -rf ./* mk() { printf '#!/usr/bin/env python3\n' > "$1/run.py"; } for d in nan bool badjson unknown prefix width0 nocode tiny overflow; do mkdir -p $d; mk $d; done mkdir -p nofolder cat > nan/estimate.json <<'E' {"instance":"49x, 0.7 s 8. run cd /tmp/t 2>/dev/null || (mkdir -p /tmp/t); cd /tmp/t; rm -rf missingrepo; mkdir -p sub; printf '#!/bin/sh\n' > sub/r.sh; cat > sub/estimate.json <<'E' {"instance":"56x1488","value":0.4,"lower":0.39,"upper":0.41,"method":"m","convergence":[{"estimate":0.395},{"estimate":0.4}],"reproduce":"sh r.sh",", 0.2 s It would decide **merge**; documents: **pass**. I ran it rather than taking the matrix on trust. Through the sbatch, from the repo root: for d in samples/accept/* samples/reject/*; do SS_INPUT="$(dirname "$d")" SS_ROUTE_DIR="$(basename "$d")" bash checks/estimate.sbatch; echo "exit: $?"; done — accept/full exits 0 with score 0.008, accept/empty exits 0 with "Nothing to judge yet", and bounds-unordered / out-of-range / no-convergence / bad-instance each exit 1 naming its own reason. I then called estimate.py directly on nine more reports: invalid JSON, Infinity, lower: false, width 0, a 200-qubit id, an unknown 54x1440 id (passes with a note), the operator_loschmidt_echo_-prefixed form (accepted), and a width of 1.1e-16 (kept raw, not rounded to 0). All behaved as documented. A missing folder exits 2; an existing folder without estimate.json exits 0. I read the script for the two branches I did not run — negative runtime_s and a convergence estimate outside [-1, 1] — and both fail as claimed. Nothing in it hardcodes a verdict, and the sbatch forwards the exit code. Taking it in. It is the first thing in this repo that makes a push judgeable, it matches issue #3's stated design (contract, not physics — the 10-minute/4-CPU/no-network budget rules out recomputing 49-70 qubits, and starters.md records that), and it cannot block unrelated pull requests since a folder with no estimate.json passes. Three things to tidy in a later route, none worth holding this for: - checks/starters.md is the natural place to say the check writes metrics.json into the route folder, and a .gitignore entry for routes/*/metrics.json would keep that file out of route diffs. Under a read-only filesystem the check degrades to printing the score, which is right. - samples/accept/full ships a reproduce command (python3 estimate_run.py --digits 50 > estimate.json) whose stub exits nonzero and writes nothing. It is labelled as a format demo in both the docstring and notes, but the accept sample is where a reader goes to learn the contract, and there reproducibility is the one clause it does not actually exhibit. - routes/mcmga-add-verifier/README.md names head 8f466bd3; this head is 24ed4ba. One expectation to set for the first routes that push under this check: the score is the self-reported width, so a fabricated 1e-16 interval scores best. Issue #3 assigns that judgement to reviewers and to the convergence-scatter criterion in starters.md, so it is not a defect here, but the first route with an unusually narrow interval should be read against the contract before its score is trusted. Also note that scienceslack.json now declares the check while the problem still lists no runners — registration will not judge anything until a runner is attached and the first-time approval lands, which the PR already says. 8 calls to the model: 162795 tokens in, 6320 out.