P2r main grid: runner, summary, results; close the P2r decision
- scripts/11: check_rids guard; scripts 14/15 accept the protocol_p2r main grid (realizations 8-15) only when protocol_p2r and its inputs match the locked SHA-256 - scripts/run_p2r_main.sh: per-regime pipelines (posterior then training) on cuda:0/cuda:1 - scripts/18_summarize_p2r.py: H2a / H2b / H3 / sigma_a verdicts per the locked rules - docs/plan.md, report.html: H2a and H2b pass, sigma_a arm fails, no Pivot 1 - logs/index.csv: run records of the P2r grid Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
|
||||
python scripts/14_diag_posterior.py --rids 900 901 --c 0 1 2 --n 4 16 --seeds 0 --workers 4 --device cuda:1
|
||||
|
||||
Dev realizations only (realizations of the protocol_p2 main grid are refused). Each job (rid, c, N, seed): register
|
||||
Dev realizations, or the protocol_p2r main grid (realizations 8–15, only if protocol_p2r and its inputs match the
|
||||
locked SHA-256; scripts/run_p2r_main.sh); realizations of the protocol_p2 main grid are refused. Each job (rid, c, N, seed): register
|
||||
as in protocol_p2 (pipeline.register: MAP-II hyperparameters, statistical wavelet + constant phase, old M1/M2, B3b–d),
|
||||
re-estimate the constant phase by SMC over the training wells (smc.smc_fit_phase), then run SMC per well from P
|
||||
anchor-posterior samples through the γ milestones: γ of the old M2 (g_old), γ = 1/κ at the best anchor sample (g_acf)
|
||||
@@ -169,9 +170,8 @@ def main() -> None:
|
||||
os.environ.setdefault(k, v)
|
||||
|
||||
P = run_d2.load_protocol(check=True)
|
||||
bad = sorted(set(args.rids) & set(P["grid"]["realizations"]))
|
||||
if bad:
|
||||
raise SystemExit(f"realizations {bad} belong to the protocol_p2 main grid: diagnostics use dev realizations only")
|
||||
if run_d2.check_rids(args.rids, P) is not None:
|
||||
print("protocol_p2r main grid: protocol and inputs match the locked SHA-256", flush=True)
|
||||
out_dir = args.out_dir or outputs_dir() / "p2" / "diag" / "posterior"
|
||||
out_dir.mkdir(parents=True, exist_ok=True)
|
||||
G = P["grid"]
|
||||
|
||||
Reference in New Issue
Block a user