P2 diagnosis on dev, P3 dev experiments, lock protocol_p3

- 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>
This commit is contained in:
2026-10-27 06:03:33 +00:00
parent a76e61398a
commit cee2ff0859
84 changed files with 8793 additions and 460 deletions

View File

@@ -1,11 +1,11 @@
# B2 (CNN–GRU v2, pipeline đã sửa, loss gốc), chạy thử hạ tầng P0.
# KHÔNG phải kết quả baseline: protocol.yaml phải được commit trước khi chạy thật (plan mục 5.2).
# B2 (CNN–GRU v2, corrected pipeline, original loss), P0 infrastructure smoke run.
# NOT a baseline result: protocol.yaml must be committed before any real run (plan §5.2).
dataset: f3_wells.npz
tdr: calibrated
label: PHIE
test_well: F06-1
val_well: F03-2
train_wells: [F03-4] # F02-1 có định nghĩa PHIE khác (plan mục 1.2d) nên không trộn ở đây
train_wells: [F03-4] # F02-1 uses a different PHIE definition (plan §1.2d), so it is not mixed in here
epochs: 100
lr: 5.0e-3
d_channels: 64