- 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>
15 lines
749 B
Bash
Executable File
15 lines
749 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Run P1: build wells → wavelet/tie QC → LOWO (requires protocol.yaml to match its hash) → summary.
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
PY="${PY:-.venv/bin/python}"
|
|
# Log + runtime: the whole pipeline goes to logs/runs/<timestamp>_p1/, one subdirectory per step, one row per step in
|
|
# logs/index.csv (ml_porosity/runlog.py).
|
|
[[ -n "${RUNLOG_DIR:-}" ]] || exec "$PY" -m ml_porosity.runlog -n p1 -- bash "scripts/$(basename "$0")" "$@"
|
|
step() { "$PY" -m ml_porosity.runlog -- "$@"; }
|
|
step "$PY" scripts/01_build_wells.py
|
|
step "$PY" scripts/04_wavelet_tie.py
|
|
step "$PY" scripts/05_lowo.py --only B0a,B0b,B1
|
|
step "$PY" scripts/05_lowo.py --only B2,B3a,B3b --workers "${WORKERS:-12}"
|
|
step "$PY" scripts/06_summarize_p1.py
|