P4 (Volve field case). Add the deviated-well and Volve well builders (ml_porosity/data/deviated.py, volve_wells.py), the ml_porosity/volve/ pipeline, scripts 23-25, the run_p4 drivers and tests. The protocol configs/protocol_volve.yaml was locked at 2026-10-29T01:17:42Z before the run (.sha256, .lock.json) and is committed here after the run. Gate G-D failed: M2-Sa beats the selected B3 at 2/6 wells (lowo) and 3/6 (slot), coverage90 is about 0.47, and no method has blind-well skill (R2 < 0). A post hoc constant at the training-well mean beats every network, so G-D had no power. The dropped P4x exploratory run is kept as a record only (exploratory/, docs/research/p4-exploratory.md). Applicability and Teapot Dome (exploratory, pre-declared). Scripts 26-29 and docs/research/applicability-*.md: F3 and Volve fail C1 and pass C2; T3 power needs 5-18 blind wells with an exact reference; Teapot T0 and pilot P-a failed, so Teapot is stopped. Raw Teapot data stay gitignored. Manuscript (Pivot 1, level A). Reframe paper/ as a theory and synthetic benchmark paper: Propositions 3-6, Corollaries 3-4, T4 coverage (script 30) and the post hoc H2b bound check (script 31), with F3/Volve moved to Appendix B. Correct two earlier claims: the Berkson and classical bounds differ by 1.5-4.6x at the f^4-weighted band, and the bank gain exceeds the registered classical bound (7/8 wide cells at N = 16) but only 3/8 under the post hoc Berkson bound. Docs. Sync plan, AGENTS.md, README, report.html, theory and technical overview. The length pass for the venue is dropped by the user (plan section 12 item 25); the length risk stays recorded as R9. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
22 lines
1.3 KiB
Bash
Executable File
22 lines
1.3 KiB
Bash
Executable File
#!/usr/bin/env bash
|
||
# P4 Volve (configs/protocol_volve.yaml) on the Linux GPU server; same stages as scripts/run_p4.ps1.
|
||
# scripts/run_p4.sh # register, train, summarize (primary σ_a arm)
|
||
# scripts/run_p4.sh benchmark | lock | status # runtime pilot, first lock, progress
|
||
# ARMS=sensitivity scripts/run_p4.sh register train # σ_a = 3.5 / 14 ms arms; then ARMS=all ... summarize
|
||
# DEVICE (default cuda:1), WORKERS (default 4) and THREADS per worker (default 2) can be overridden.
|
||
# register/train/summarize refuse to run unless the protocol, code, inputs and environment match the lock, and skip
|
||
# completed jobs whose fingerprints and checksums match, so the driver can be restarted.
|
||
set -euo pipefail
|
||
cd "$(dirname "$0")/.."
|
||
PY="${PY:-.venv/bin/python}"
|
||
DEVICE="${DEVICE:-cuda:1}"
|
||
WORKERS="${WORKERS:-4}"
|
||
THREADS="${THREADS:-2}"
|
||
ARMS="${ARMS:-primary}"
|
||
export OMP_NUM_THREADS=$THREADS MKL_NUM_THREADS=$THREADS OPENBLAS_NUM_THREADS=$THREADS NUMEXPR_NUM_THREADS=$THREADS \
|
||
NUMBA_NUM_THREADS=$THREADS PYTHONHASHSEED=0 PYTHONUTF8=1 CUBLAS_WORKSPACE_CONFIG=:4096:8
|
||
for stage in ${@:-register train summarize}; do
|
||
"$PY" -m ml_porosity.runlog -n "p4_${stage}_${ARMS}" -- "$PY" scripts/24_run_volve.py "$stage" \
|
||
--device "$DEVICE" --workers "$WORKERS" --arms "$ARMS"
|
||
done
|