Rename protocol_p3 to protocol_p2r; close P2

protocol_p3 (cee2ff0) was the rerun of P2 on new realizations, not the
plan's phase P3 (F3 field). Renamed to P2r before any of realizations 8-15
was generated: protocol, D2 config, dev runner and summary script, output
dir outputs/p2/diag/p2rdev, tag protocol-p3 -> protocol-p2r. Protocol
content changes only names plus two notes in p2_outcome: the deviation from
protocol_p2's if_fail rule (pivot) and what the diagnosis did not test
(sigma_b, rock-physics stress). Re-locked: sha256 eb887311...

Docs: plan §12 item 12 and report section closing P2 (locked verdict kept,
diagnosis, decision, deviation, untested items, link to phase P3 / G-C).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-27 06:48:52 +00:00
parent cee2ff0859
commit f95123174f
16 changed files with 96 additions and 64 deletions

View File

@@ -1,4 +1,4 @@
# D2 for protocol_p3: GENERATOR IDENTICAL to configs/d2_synth.yaml (protocol_p2, sha256 68e8f844…). This file differs only in
# D2 for protocol_p2r: GENERATOR IDENTICAL to configs/d2_synth.yaml (protocol_p2, sha256 68e8f844…). This file differs only in
# comments and the `regimes` block at the end; every key read by ml_porosity/data/synth_d2.py keeps its value, so the same
# realization yields the same data. Do not edit configs/d2_synth.yaml (locked in protocol_p2).
horizons: [Shallow, FS8, FS7, Truncation, MFS4] # 5 horizons covering ≥ 95% of the survey (Top-Foresets 74%, FS6 49%)
@@ -32,7 +32,7 @@ property:
clip: [0.05, 0.45]
wavelet: statistical # outputs/wavelets.npz (zero phase, 128 ms) from scripts/04
snr_db: 10 # generator default; protocol_p3 takes SNR from the regimes below
snr_db: 10 # generator default; protocol_p2r takes SNR from the regimes below
drift:
prior_json: outputs/p2/warp_prior_f3.json # Matérn-3/2 fit on F3 anchors (scripts/09)
@@ -42,7 +42,7 @@ anchors:
density: full
sigma_a_ms: 7.0 # robust σ (MAD) of marker–horizon differences at the 4 F3 wells (18 pairs): 6.9 ms
regimes: # protocol_p3: observation regimes (seismic SNR at train + test wells, anchor density at train wells)
regimes: # protocol_p2r: observation regimes (seismic SNR at train + test wells, anchor density at train wells)
R10: {snr_db: 10, anchor_density: full} # P2 default; narrow posterior (dev σ_post ≈ 0.85 ms at c = 1)
R0: {snr_db: 0, anchor_density: full} # dev σ_post ≈ 1.9 ms at c = 1
Rm5: {snr_db: -5, anchor_density: full} # close to F3 under the protocol prior (dev σ_post ≈ 3.0 ms, F3 2.5–3.4 ms)

View File

@@ -0,0 +1 @@
eb887311f26a7c1c3dc69d9623d0086cfb5ccc79eea9e5ef59c723078f49c8aa configs/protocol_p2r.yaml

View File

@@ -1,11 +1,14 @@
# Protocol P3 (pre-registration; successor to protocol_p2 after gate G-B failed). Locked by SHA-256 in
# configs/protocol_p3.sha256 and git tag protocol-p3 BEFORE generating or running any of realizations 8–15.
# Every choice below is based on dev 900/901 (outputs/p2/diag, summary in outputs/p2/diag/p3dev/summary.md) and F3
# Protocol P2r (pre-registration; rerun of P2 on new realizations after gate G-B failed; not the plan's phase P3, F3 field). Locked by SHA-256 in
# configs/protocol_p2r.sha256 and git tag protocol-p2r BEFORE generating or running any of realizations 8–15.
# Every choice below is based on dev 900/901 (outputs/p2/diag, summary in outputs/p2/diag/p2rdev/summary.md) and F3
# (descriptive only); no test labels of realizations 0–7 or 8–15 are used for selection. Changes after locking: new version.
# STATUS: LOCKED 2026-10-27, before realizations 8–15 were generated.
version: 1
date: 2026-10-27
supersedes: {path: configs/protocol_p2.yaml, sha256: 0733620042c4ec1b7dce447eef3ec64f915db05acbebbe5b6c977ac42e71a470}
history: "first locked as configs/protocol_p3.yaml (commit cee2ff0, tag protocol-p3); renamed to P2r before any of
realizations 8–15 was generated, to avoid confusion with the plan's phase P3 (F3 field); only names and the p2_outcome
deviation/untested notes changed"
p2_outcome: # reported as is, not rewritten
G-B: "failed — 0/4 cells at c = 1 passed (band RMSE ratio M2/best 0.985–1.045); c = 0 guard failed (macro 1.039)"
@@ -17,21 +20,29 @@ p2_outcome: # reported as is, not rewritten
it does not contract to the true warp (warp RMSE 3.25 ms, 90% width 11.6 ms at c = 1 — on par with B3c 3.85 ms), so M2 ≈ B3d ≈
B3c. Seismic-conditioned SMC tempering (phase re-estimated via log Z) gives warp RMSE 0.56 ms and 90% coverage
0.97; labels at the SMC mean warp are close to Oracle. P2 therefore could not test the RML hypothesis: the failure lies in registration.
deviation: >
protocol_p2 gates.G-B.if_fail prescribes a time-boxed diagnosis followed by a pivot (plan §9); the option to rerun on
new realizations was added to the plan only after G-B failed. P2r is therefore a new pre-registration designed after
seeing the P2 failure (on dev realizations only). The P2 verdict stands and is reported as is; P2r results are not
presented as a P2 result.
untested_in_diagnosis: >
σ_b was neither learned nor stressed; σ_a was stressed (3.5 / 14 ms) but learned only on F3 (type-II ML ≈ 0.4 ms,
treating TD markers as exact; not reliable); the rock-physics misspecification stress was cut (plan §6, cut order item 6).
inputs:
d2_config: {path: configs/d2_synth_p3.yaml, sha256: 3b74411c42ca5e4906dad9a874dbfa81d98857d7668b204c6622c6d6e90d00c6} # generator identical to configs/d2_synth.yaml; adds regimes
d2_config: {path: configs/d2_synth_p2r.yaml, sha256: 57b676f0fc569ebe44f6253426fe42a218fb06272323b949932e9f8d597ff0d3} # generator identical to configs/d2_synth.yaml; adds regimes
warp_prior: {path: outputs/p2/warp_prior_f3.json, sha256: 55cda573c06b3a7275bdb4ac5f169fb4e5af329e1d199acc3d4daffe15624d27,
fit: matern32}
wavelet: {path: outputs/wavelets.npz, key: statistical, sha256: b689ea12578e580d8c2305c8f7219be05ff6e339884fa30b694111e968c0fc64}
budgets: {path: outputs/p2/diag/train/budgets.json, sha256: 815c6f7abc3d961255feb79bbed57a3e326cbc24cec11bbd97f455f0356e28c5}
grid:
regimes: [R10, R0, Rm5, R0h, R10tb] # configs/d2_synth_p3.yaml; full-anchor R10/R0/Rm5 for H2a, all five for H2b
regimes: [R10, R0, Rm5, R0h, R10tb] # configs/d2_synth_p2r.yaml; full-anchor R10/R0/Rm5 for H2a, all five for H2b
drift_factors: [0, 1, 2]
realistic_drift: 1
n_train: [4, 16] # nested from the 16-well pool
realizations: [8, 9, 10, 11, 12, 13, 14, 15] # new; 0–7 already used for P2 (and the B(σ) exploration, see notes)
dev_realizations: [900, 901] # used to design P3; never used for results
dev_realizations: [900, 901] # used to design P2r; never used for results
seeds: [0, 1, 2, 3, 4] # network seeds; registration and SMC use seed 0 (reg_seed) as in dev
test_wells: 8 # observed at the regime SNR (test seismic is noisy too)
sigma_a_arm: # secondary, reported; sets the scope of the H2a claim (hypotheses.H2a.sigma_a_scope)
@@ -139,7 +150,7 @@ hypotheses:
Do not attribute the gain to deblurring (Prop 1) unless the measured ratio lies within the bound 1/B(σ_post) (notes.blur_bound):
on dev at SNR −5 the 4% gain exceeds the bound of ≈ 0–2% (docs/theory.md §1.4).
H3:
status: "not tested as a hypothesis in P3; reported descriptively (decided on dev before locking)"
status: "not tested as a hypothesis in P2r; reported descriptively (decided on dev before locking)"
reason: >
dev h3_smc (900/901, SNR 10, full, 5 seeds; CE as in protocol_p2) at c = 1 / 2, N = 16: CE(B5) 0.113 / 0.152,
CE(B3d-Sa-ens) 0.298 / 0.319, CE(M2-Sa-ens) 0.318 / 0.335, CE(Oracle-ens) 0.389 / 0.366 (N = 4: 0.31 / 0.29 vs
@@ -156,7 +167,7 @@ notes:
(dev 900/901, SNR 10, full, estR, g_acf; data generated with σ_a = 7 ms) registering with the correct σ_a gives warp RMSE
0.56/1.63 ms and 90% coverage 0.97/0.93 at c = 1/2. With σ_a = 3.5 ms (anchors over-trusted): RMSE 5.9/5.7 ms, coverage
0.45/0.54. With σ_a = 14 ms: RMSE 3.1/3.4 ms, coverage 0.50/0.75, σ_post 1.1/1.8 ms (overconfident). The SMC posterior
is calibrated only when σ_a is correct, in both directions. All P3 D2 results use the correct σ_a and are therefore
is calibrated only when σ_a is correct, in both directions. All P2r D2 results use the correct σ_a and are therefore
optimistic about registration; on F3 σ_a is not known (TD markers are not independent checkshots). Training under
misspecified σ_a: dev train_sa (900/901, 5 seeds, every method registered with the same σ_a), B3d-Sa / best point tie
at c = 1, N = 4 / 16: σ_a = 3.5 ms 1.08 / 1.18, σ_a = 14 ms 1.04 / 0.96 (0/4 cells pass at c ∈ {1, 2} in both cases);

View File

@@ -1 +0,0 @@
921d01ca888da155f32bf4024bd792488b07751ed572bd390f48d19840059acd configs/protocol_p3.yaml