# D2 for protocol_bench (phase P6, S1/S2/S3/S4/S8): GENERATOR IDENTICAL to configs/d2_synth_p2r.yaml and therefore to # configs/d2_synth.yaml (protocol_p2). This file differs only in comments, the `regimes` block (copied from p2r) and # the `misspec_presets` 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 when no preset is applied (tests/test_d2_misspec.py). Do not edit the locked # configs/d2_synth.yaml or configs/d2_synth_p2r.yaml. horizons: [Shallow, FS8, FS7, Truncation, MFS4] # 5 horizons covering ≥ 95% of the survey (Top-Foresets 74%, FS6 49%) horizon_cache: outputs/d2/horizon_grid.npz min_gap_ms: 8 # drop bins where two consecutive horizons are < 8 ms apart or out of order sub_unit_ms: 60 # nominal sub-unit thickness (unit boundaries = markers/anchors) model_t_ms: [-300, 2400] # earth-model domain in true time; wide enough that t(τ) of the 100–1650 ms log stays inside at drift ×2 log_tau_ms: [100, 1650] # log domain in sonic time τ fine_dt_ms: 0.5 warp_dtau_ms: 4.0 # grid of g dt_ms: 4 ext_window_ms: [400, 1300] # seismic + anchors (as in F3) main_window_ms: [600, 1100] # input/labels/scoring (as in F3) patch_radius: 1 wells: n_test: 8 n_train_pool: 16 # N_train ∈ {2, 4, 8, 16}, nested draws from the pool min_dist_test_m: 1000 # test wells ≥ 1 km from every other well (spatial block split) min_dist_train_m: 500 property: phi0: 0.32 phi0_sd: 0.01 slope_per_100ms: -0.008 unit_offset_sd: 0.02 unit_lateral_sd: 0.01 grf: # sum of OU processes in stratigraphic coordinates - {sd: 0.010, ell_ms: 10.0} - {sd: 0.006, ell_ms: 2.0} clip: [0.05, 0.45] wavelet: statistical # outputs/wavelets.npz (zero phase, 128 ms) from scripts/04 snr_db: 10 # generator default; the protocol 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) factors: [0, 0.5, 1, 2] 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: # identical to configs/d2_synth_p2r.yaml 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) R0h: {snr_db: 0, anchor_density: half} # sparse anchors: dev σ_post ≈ 1.8 / 4.5 ms at c = 1 / 2 R10tb: {snr_db: 10, anchor_density: topbottom} # top–bottom anchors only: dev σ_post ≈ 2.6 / 11 ms (multimodal, overconfident posterior) # S2 misspecification presets (plan §12 item 22, decision 2; docs/research/bench-generator.md; levels fixed on dev # realizations 902–905 on 29/10/2026, docs/research/bench-protocol.md §3). Each preset is a `misspec` argument of # D2Realization (keys and defaults: synth_d2.MISSPEC_DEFAULTS; a `note` key is ignored). Main cells of protocol_bench # S2: rp_L1, rp_L2, wv_L1, wv_L2, wv_Q, dr_L1, dr_L2. The control presets (*_C) document what the registration's model # family absorbs; they are never main cells. The cand_* presets below are the calibration candidates (dev evidence # only; kept so that the calibration is reproducible). Realizations 8–15 were not used to choose any level. misspec_presets: rp_C: # control: uniform coefficient error only. The profiled amplitude α of the tie likelihood note: "control: uniform φ–DT / density coefficient error (plan §5.5 literal axis); absorbed by the profiled amplitude (QC: in-family error 0.073 = nominal)" rock_physics: {dt_slope_factor: 1.15, dt_intercept_factor: 1.15, rho_slope_factor: 1.2} rp_L1: # per-unit intercept scatter (lithology-dependent matrix slowness); uniform factors dropped (invisible) note: "L1: unit_dt_intercept_sd 0.10 (DT_matrix ±18 µs/m per unit; in-family model error 0.39 = 1.2 × R10 noise, 0.22 × Rm5 noise); dev SMC at R10 (rids 903–905, N = 4): warp RMSE ×1.27, cov90 0.85" rock_physics: {unit_dt_intercept_sd: 0.10} rp_L2: note: "L2: unit_dt_intercept_sd 0.15 (±27 µs/m; model error 0.53 = 1.7 × R10 noise, 0.30 × Rm5); dev SMC at R10 (rids 902–905): warp RMSE ×1.66, cov90 0.81. Expected null at Rm5 (model error far below the noise)" rock_physics: {unit_dt_intercept_sd: 0.15} wv_C: # control: constant phase + peak-frequency factor, both inside the registration's family note: "control: constant 45° phase and peak frequency ×1.2: absorbed by the statistical wavelet + constant-phase fit (15° grid)" wavelet: {phase_deg: 45.0, peak_freq_factor: 1.2} wv_L1: # frequency-dependent phase (phase sub-axis), nominal amplitude spectrum note: "L1: minphase_frac 0.5 (half of the minimum-phase spectrum; model error 0.34 = 1.08 × R10 noise); dev SMC at R10 (rids 902–905): warp RMSE ×3.2, cov90 0.11 (overconfident) but still ahead of the point ties (2.1 vs 4.3 ms)" wavelet: {minphase_frac: 0.5} wv_L2: note: "L2: minphase_frac 1.0 (minimum-phase version of the nominal wavelet; model error 0.61 = 1.9 × R10 noise); dev SMC at R10 (rids 902–905): warp RMSE ×5.9, cov90 0.03, ahead of B3c in 3/4 rids only" wavelet: {minphase_frac: 1.0} wv_Q: # bandwidth sub-axis: time-variant constant-Q attenuation (stationary statistical wavelet is wrong at both ends of the window) note: "bandwidth cell (single level): Q 80 from t_ref = 400 ms with Futterman dispersion (peak 59 → 32 Hz over 600–1100 ms; model error 0.45 = 1.4 × R10 noise); dev SMC at R10 (rids 902–905): warp RMSE ×1.57, cov90 0.84, σ_post ×1.8 (the posterior widens rather than collapses)" wavelet: {Q: 80.0, Q_t_ref_ms: 400.0, Q_dispersion: true} dr_L1: # mechanism 1: the truth is drawn from scaled hyperparameters (σ_b 58 ms > the registration's fixed 50 ms; rougher g); partly absorbed by MAP-II note: "L1 (hyperparameter mechanism): sigma_b ×3, sigma_g ×1.5, ell ×0.5 (same z_g, z_b); dev SMC at R10 (rids 902–905): warp RMSE ×2.2 (1.1–2.1 ms), cov90 0.75" drift: {sigma_b_factor: 3.0, sigma_g_factor: 1.5, ell_factor: 0.5} dr_L2: # mechanism 2: components outside the GP family (step at Truncation, short-correlation jitter); the step does not scale with c note: "L2 (structural mechanism): step 8 ms just below Truncation (12 ms anomaly) plus Matérn-3/2 jitter sd 1 ms, ell 8 ms; dev SMC at R10 (rids 902–905): warp RMSE ×3.3 (1.3–4.1 ms), cov90 0.61" drift: {step_ms: 8.0, step_width_ms: 12.0, step_horizon: Truncation, jitter_sd_ms: 1.0, jitter_ell_ms: 8.0} # --- dev calibration candidates (29/10/2026, phase 2 of P6): single-knob and combined settings whose SMC-stage # diagnostics on dev realizations 902–905 (scripts/33 --smc, N = 4, c = 1, R10 and Rm5) choose the L1/L2 levels # above. They are never main cells. Rock physics: per-unit intercept scatter only (the uniform factors are # invariant under the profiled-amplitude likelihood, docs/research/bench-generator.md §2, and stay in rp_C). cand_rp_a: {note: "candidate: unit_dt_intercept_sd 0.05 (in-family model error 0.217, 13.3 dB)", rock_physics: {unit_dt_intercept_sd: 0.05}} cand_rp_b: {note: "candidate: unit_dt_intercept_sd 0.10 (0.391, 8.2 dB)", rock_physics: {unit_dt_intercept_sd: 0.10}} cand_rp_c: {note: "candidate: unit_dt_intercept_sd 0.15 (0.531, 5.5 dB)", rock_physics: {unit_dt_intercept_sd: 0.15}} cand_wv_a: {note: "candidate: minphase_frac 0.5 (0.342, 9.3 dB)", wavelet: {minphase_frac: 0.5}} cand_wv_b: {note: "candidate: Q 160 from 400 ms with dispersion (0.259, 11.7 dB)", wavelet: {Q: 160.0, Q_t_ref_ms: 400.0, Q_dispersion: true}} cand_wv_c: {note: "candidate: minphase_frac 1.0 (0.609, 4.3 dB) = wv_L1 placeholder", wavelet: {minphase_frac: 1.0}} cand_wv_d: {note: "candidate: Q 80 (0.445, 7.0 dB)", wavelet: {Q: 80.0, Q_t_ref_ms: 400.0, Q_dispersion: true}} cand_wv_e: {note: "candidate: minphase_frac 0.5 + Q 160", wavelet: {minphase_frac: 0.5, Q: 160.0, Q_t_ref_ms: 400.0, Q_dispersion: true}} cand_dr_h: {note: "candidate: hyperparameter misspecification only = dr_L1 placeholder", drift: {sigma_b_factor: 3.0, sigma_g_factor: 1.5, ell_factor: 0.5}} cand_dr_s: {note: "candidate: structural components only (step 8 ms, jitter 1 ms) = dr_L2 placeholder", drift: {step_ms: 8.0, step_width_ms: 12.0, step_horizon: Truncation, jitter_sd_ms: 1.0, jitter_ell_ms: 8.0}} cand_dr_hs: {note: "candidate: hyperparameters + structural components", drift: {sigma_b_factor: 3.0, sigma_g_factor: 1.5, ell_factor: 0.5, step_ms: 8.0, step_width_ms: 12.0, step_horizon: Truncation, jitter_sd_ms: 1.0, jitter_ell_ms: 8.0}} cand_dr_s2: {note: "candidate: stronger structural components (step 16 ms, jitter 2 ms)", drift: {step_ms: 16.0, step_width_ms: 12.0, step_horizon: Truncation, jitter_sd_ms: 2.0, jitter_ell_ms: 8.0}} cand_rp_d: {note: "candidate: unit_dt_intercept_sd 0.075 (in-family model error ≈ 0.30, ≈ 0.95 × R10 noise)", rock_physics: {unit_dt_intercept_sd: 0.075}} cand_wv_f: {note: "candidate: minphase_frac 0.25 (0.197, 14.1 dB)", wavelet: {minphase_frac: 0.25}} cand_wv_g: {note: "candidate: Q 40 (0.652, 3.7 dB)", wavelet: {Q: 40.0, Q_t_ref_ms: 400.0, Q_dispersion: true}} cand_wv_h: {note: "candidate: minphase_frac 0.5 + Q 80 (phase and bandwidth)", wavelet: {minphase_frac: 0.5, Q: 80.0, Q_t_ref_ms: 400.0, Q_dispersion: true}}