Address simulated GP referee reports: E1-E6 and A1-A9 (exploratory), theory scope, per-well field and anchor-error tables, scorer v1.1, paper_gp and response letter

Experiments declared and hashed before computing (docs/research/gp-review-*.md). The SMC-mean gain holds against a practitioner tie, all budgets and a same-target point tie, but is lost at anchor errors of 2 ms or less and reverses with per-well bulk error. No locked protocol, verdict or threshold changed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-17 11:20:54 +00:00
parent 883dccfe21
commit eff975cc96
91 changed files with 8595 additions and 14266 deletions

34
scripts/run_gp_review.sh Executable file
View File

@@ -0,0 +1,34 @@
#!/usr/bin/env bash
# GP review, Phases 2-3 (declared in docs/research/gp-review-analyses.md and gp-review-experiments.md, hashed before
# the first run; exploratory; outside every lock and the reproduction archives).
# scripts/run_gp_review.sh a # A1-A9 on existing outputs (scripts/51)
# scripts/run_gp_review.sh e5 # E5: posterior-mean labels with the Gaussian likelihood (scripts/52)
# scripts/run_gp_review.sh e6 # E6: seven registered methods at 125/250/500 iterations (scripts/52)
# scripts/run_gp_review.sh e4 # E4: point tie optimizing the SMC target (scripts/52)
# scripts/run_gp_review.sh e3 # E3: one shift per well (only if A3 is not sufficient; scripts/52)
# scripts/run_gp_review.sh e2 tune|budget|train # E2: practitioner-grade tie (scripts/53)
# scripts/run_gp_review.sh e1 <stage> # E1: anchor-noise misspecification on realizations 24-31 (scripts/54)
# scripts/run_gp_review.sh summary # summaries of every finished experiment
# Every stage skips jobs that already have a CSV, so any stage can be restarted with the same command.
set -euo pipefail
cd "$(dirname "$0")/.."
PY="${PY:-.venv/bin/python}"
DEVICE="${DEVICE:-cuda:0}"
WORKERS="${WORKERS:-4}"
THREADS="${THREADS:-2}"
export OMP_NUM_THREADS=$THREADS MKL_NUM_THREADS=$THREADS OPENBLAS_NUM_THREADS=$THREADS NUMEXPR_NUM_THREADS=$THREADS \
NUMBA_NUM_THREADS=$THREADS VECLIB_MAXIMUM_THREADS=$THREADS PYTHONHASHSEED=0
stage="$1"; shift
echo "== gp_review $stage $* ($(date -u +%FT%TZ))"
case "$stage" in
a) CUDA_VISIBLE_DEVICES= "$PY" scripts/51_gp_review.py "$@" ;;
e3|e4|e5|e6) "$PY" scripts/52_gp_experiments.py --stage "$stage" --device "$DEVICE" --workers "$WORKERS" "$@" ;;
e2) "$PY" scripts/53_gp_practitioner_tie.py --stage "$1" --device "$DEVICE" --workers "$WORKERS" "${@:2}" ;;
e1) "$PY" scripts/54_gp_anchor_noise.py --stage "$1" --device "$DEVICE" --workers "$WORKERS" "${@:2}" ;;
summary)
CUDA_VISIBLE_DEVICES= "$PY" scripts/52_gp_experiments.py --stage summary
[[ -f scripts/53_gp_practitioner_tie.py ]] && CUDA_VISIBLE_DEVICES= "$PY" scripts/53_gp_practitioner_tie.py --stage summary || true
[[ -f scripts/54_gp_anchor_noise.py ]] && CUDA_VISIBLE_DEVICES= "$PY" scripts/54_gp_anchor_noise.py --stage summary || true ;;
*) echo "unknown stage $stage" >&2; exit 2 ;;
esac
echo "== gp_review $stage done ($(date -u +%FT%TZ))"