Files
ML-Porosity/paper/README.md
lamlvh 4a5d0b26e6 Add manuscript draft with F3 results; close P3
- paper/: LaTeX draft. Section 6.4 reports the F3 nested leave-one-well-out
  test (gate G-C failed: 1/4 wells improved, macro coverage 0.52/0.61) with
  all-method, sensitivity and ablation tables, posterior width, LOAO and the
  descriptive volume. Discussion, abstract, introduction and conclusion carry
  the F3 outcome; Volve parts remain marked as todo.
- Correct the pre-registration wording for F3: the protocol hash lock
  preceded the run, but the protocol was committed and tagged only after it.
- scripts/22_paper_figures.py: paper figures, including the F3 inline
  section (f3_volume).
- docs/plan.md §12 item 17: close P3 without a rerun, record the lock
  timeline, the post hoc descriptive analyses and the axis label issue in
  the locked plot_sections.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 07:13:20 +00:00

39 lines
2.9 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Manuscript draft
Build (no latexmk on the server):
```
pdflatex main && bibtex main && pdflatex main && pdflatex main
```
Red text (`\todo`, `\todoblock`, `\figplaceholder`) marks parts that are not ready.
Search for them with `grep -n 'todo\|figplaceholder' sections/*.tex`.
All figures in `figures/` are produced by `python scripts/22_paper_figures.py` (from the repo root,
with the `.venv`); it reads only the locked summaries listed below.
## Where the numbers come from
| Paper element | Source |
|---|---|
| Sec. 3, Table `tab:audit` (TD drift, label audit) | `outputs/td_qc.csv`, `outputs/tie_qc.csv`, `outputs/marker_vs_horizon.csv`, `docs/plan.md` |
| Sec. 4, Table `tab:h1`, Fig. `fig:h1` | `outputs/p2/summary/main/h1.csv`, `docs/theory.md` |
| Sec. 5 (prior fit on F3, LOAO, type-II σ_a) | `docs/plan.md` §12, `docs/theory.md` |
| Sec. 6.1, Table `tab:p2`, Fig. `fig:p2phase` | `outputs/p2/summary/main/{summary.md,methods.csv}` |
| Sec. 6.2 (diagnosis, deviation) | `docs/plan.md` §12 items 11–14 |
| Sec. 6.3, Tables `tab:h2a`, `tab:sigmaa`, `tab:h2b`; Figs. `fig:h2b`, `fig:p2rgrid` | `outputs/p2r/summary/{summary.md,verdict.json}` |
| Sec. 6.4, Table `tab:p1` | `outputs/p1/summary.md` |
| Sec. 6.4, Table `tab:f3gc` (G-C), macro band RMSE | `outputs/p3/summary/gate_gc.json`, `docs/plan.md` §12 item 16 |
| Sec. 6.4, Table `tab:f3gc` coverage, seed-by-seed spread | `outputs/p3/summary/{metrics.csv,selection.csv}` (rows with `seed` = ensemble and per seed) |
| Sec. 6.4, Tables `tab:f3all`, `tab:f3abl` | `outputs/p3/summary/macro.csv` (label `PHIE_DT`, σ_a = 7 ms); ablation descriptions from `configs/protocol_f3.yaml` and `ml_porosity/f3/{training,registration,runner}.py` |
| Sec. 6.4, `tab:f3all` last row ("No band content", post hoc) | RMS over each test well of the 6 Hz high-pass (`split_bands`) marker-calibrated `PHIE_DT` reference (via `F3Data`), macro over wells = 1.224 p.u.; computed after the run, scale only |
| Sec. 6.4, Table `tab:f3sens` | `metrics.csv` (`M2-Sa` vs `B3d-Sa`; σ_a arms vs `B3c-R` at the same σ_a; reference `wlt`; label `PHIE`), `band_sensitivity.csv` (f_c = 5, 8 Hz), `posterior_reference_sensitivity.csv` (5–95 % range over 64 reference warps) |
| Sec. 6.4 (posterior width, phase) | `outputs/p3/registration/*_sa{3.5,7,14}{,_noanchors}.json` (`diagnostics[].sigma_post_ms`, `phase_R`, `phase_info.logZ` summed over wells) |
| Sec. 6.4 (leave-one-anchor-out) | `outputs/p3/diagnostics/loao.csv` |
| Sec. 6.4 (volume statistics), Fig. `fig:f3vol` | `outputs/p3/volume/{metadata.json,mean.npy,sigma.npy}`; figure from `python scripts/22_paper_figures.py --only f3_volume` (inline 442 through F03-4) |
| Sec. 7 (F3 paragraph, σ_a, limitations) | same sources as Sec. 6.4 |
| Pass rules, thresholds | `configs/protocol_p2.yaml`, `configs/protocol_p2r.yaml`, `configs/protocol_f3.yaml` (locked; tag `protocol-f3`) |
Do not copy numbers from `test 2/` (thesis archive) into the paper.
Wording must respect `docs/plan.md` §10 (forbidden claims).