Files
ML-Porosity/scripts/runlog.sh
lamlvh cee2ff0859 P2 diagnosis on dev, P3 dev experiments, lock protocol_p3
- P2: SMC tie posterior (numpy + torch), RML/soft-DTW losses, bank training,
  D2 synthetic generator, scripts 09-13, protocol_p2 (locked) and its outcome
  (G-B failed; H1 not rejected, H3 rejected, H4 not rejected).
- Diagnosis on dev realizations 900/901 only (scripts 14-17, run_p3_dev.sh):
  posterior screen, SMC stability (P = 1024, K = 1), sigma_a misspecification
  stress and training, H3 with the SMC posterior, F3 placement on sigma_post.
- protocol_p3: H2 split into H2a (posterior-mean labels vs point ties) and
  H2b (RML vs posterior mean as a function of sigma_post); H3 descriptive only;
  sigma_a arm; new D2 config d2_synth_p3.yaml; main grid on realizations 8-15.
  Locked by configs/protocol_p3.sha256 and tag protocol-p3.
- runlog: per-run logs and runtime index (logs/index.csv).
- Docs: plan §12 items 10-11, theory, technical overview, report; wording
  aligned with Gunning & Glinsky (2006): the tie posterior is not claimed as new.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 06:03:33 +00:00

9 lines
600 B
Bash
Executable File

#!/usr/bin/env bash
# Run a command, saving log + runtime to logs/runs/<timestamp>_<name>/ and appending one row to logs/index.csv
# (details: ml_porosity/runlog.py). Examples:
# scripts/runlog.sh scripts/15_diag_train.py --rids 900 901 --device cuda:1 # .py files are run with $PY
# scripts/runlog.sh -n h1_rerun --note "re-run after fixing X" -- scripts/12_h1_blur.py --device cuda:1
# scripts/runlog.sh ls # most recent runs
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
exec "${PY:-$ROOT/.venv/bin/python}" -m ml_porosity.runlog "$@"