Summarize P6 benchmark, package it, write results, review proofs
- Benchmark summary: scripts/36_bench_verdicts.py applies the locked protocol_bench statements as worded (9/11 pass; S2-H1 fails for rock physics and wavelet phase), outside the lock hash. - S7 packaging: scripts/37_bench_package.py, benchmark/ (manifest, reference tables, README, draft Zenodo metadata). Deposit not done. - Paper: Experiment 3 (Sec. 6.5), T2 mechanism (Sec. 6.4), benchmark figures (scripts/38_bench_figures.py), dataset citations. - Proof review of Sec. 4 and App. A (14 of 15 findings fixed, 1 partly; no verdict or reported number changed); docs/theory.md synced. - Reproduction package: scripts/39_repro_package.py and repro/ (manifest, README, clean-room verify report: 12/12 stages pass). - Related work: preliminary novelty scan; full texts of AWSM, BootNet, Li et al. 2024, Guillon et al. 2020, Rizzuti et al. 2024/2025 and Castagna et al. 2026 checked; abstract-only markers updated and the Castagna sentence corrected. Paper compiles cleanly (68 pages). - Docs synced (AGENTS.md, plan.md, report.html, READMEs). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
42
AGENTS.md
42
AGENTS.md
@@ -4,7 +4,7 @@ Seismic-to-porosity learning on F3 when the well tie is uncertain (RML: training
|
||||
|
||||
Read first: `docs/plan.md` (plan, gates, decisions; §6 roadmap, §10 forbidden claims, §12 decision log), `README.md` (setup, scripts, logging), `docs/theory.md`. Progress page: `report.html`. These docs are in Vietnamese.
|
||||
|
||||
## Status (29/10/2026)
|
||||
## Status (02/11/2026)
|
||||
|
||||
- P0, P1 done. P2 closed: gate G-B failed on 26/10 and the P2 verdict stands.
|
||||
- **P2r** (P2 rerun on new realizations 8–15 under the new pre-registration `configs/protocol_p2r.yaml`) is done and committed (5a6fb2f). Summary in `outputs/p2r/summary/` (`verdict.json`, `summary.md`); details in `docs/plan.md` §12 items 11–14.
|
||||
@@ -81,8 +81,8 @@ Read first: `docs/plan.md` (plan, gates, decisions; §6 roadmap, §10 forbidden
|
||||
Propositions 3–6 (classical/Berkson tie error, calibrated bank with a
|
||||
fourth-order population gain, coverage, misregistered reference),
|
||||
Corollaries 3–4, T4 (`scripts/30_t4_coverage.py`) and the post hoc H2b
|
||||
bound check (`scripts/31_p2r_posthoc.py`) in Sec. 6.3, T3 in Sec. 6.5,
|
||||
field cases in Sec. 6.6 with F3/Volve details moved to Appendix B. Red
|
||||
bound check (`scripts/31_p2r_posthoc.py`) in Sec. 6.3, T3 in Sec. 6.5 (6.6 since 02/11),
|
||||
field cases in Sec. 6.6 (6.7 since 02/11) with F3/Volve details moved to Appendix B. Red
|
||||
TODOs remain for S1–S8, T2 and the authors' declarations. **Self-correction
|
||||
(29/10, A6):** two earlier agent claims were wrong. The first was "the two
|
||||
error structures give nearly the same bound (factor < 1.17)". In fact the
|
||||
@@ -95,7 +95,7 @@ Read first: `docs/plan.md` (plan, gates, decisions; §6 roadmap, §10 forbidden
|
||||
computes both bounds and reads the Oracle npz files (about 6 min). The paper
|
||||
(Sec. 4.3, 6.3 with a 1/B_b column in `tab:h2b`, 6.4, 7, abstract,
|
||||
introduction, conclusion) and the docs were corrected. **Length risk:**
|
||||
the main text is about 14,750 words (crude count after A6) against a Computers & Geosciences limit
|
||||
the main text was about 14,750 words (crude count after A6; about 18,100 after the 02/11 results pass) against a Computers & Geosciences limit
|
||||
of about 5,500 (secondary source; not yet checked on the official page).
|
||||
The user dropped the length pass for the venue on 29/10/2026 (`docs/plan.md`
|
||||
§12 item 25); the risk stays recorded as R9 with no mitigation.
|
||||
@@ -109,7 +109,14 @@ Read first: `docs/plan.md` (plan, gates, decisions; §6 roadmap, §10 forbidden
|
||||
- **P6 (level-B benchmark) started early on 29/10/2026; all main runs finished 02:16 UTC 30/10/2026** (`docs/plan.md` §12 item 26; code in commit 381b5ff). Subagents: Fable for reasoning-heavy work, Opus for routine work.
|
||||
- p6-gen done: `misspec=` in `ml_porosity/data/synth_d2.py` (rock physics, wavelet, drift); `misspec=None` reproduces the P2r fingerprints bit for bit (`tests/test_d2_misspec.py`); presets in `configs/d2_synth_bench.yaml` are still PLACEHOLDER; QC in `scripts/33_bench_generator_qc.py`, notes in `docs/research/bench-generator.md`. The uniform rock-physics error is absorbed by the profiled-α likelihood (control only).
|
||||
- T2 done (exploratory; declared and hashed before computing; results `docs/research/t2-results.md`, `outputs/t2/summary.md`). B3d-Sa's label error is Berkson at c = 1, so 1/B_b applies and the H2b gain does not exceed the population correction; a GP-noise bank with the posterior's mean and covariance gets most of the c = 1 gain (label augmentation); implicit re-registration is real (8/8 wide cells); no evidence for the multimodal mechanism; about a third of the PM–Oracle gap is training length. Never use T2 to reselect P2r budgets.
|
||||
- Runner built (`ml_porosity/benchmark/`, `scripts/34_run_bench.py`, `35_bench_calibration.py`, `scripts/run_bench.sh`; design `docs/research/bench-protocol.md`); a P2r cell reproduces bit for bit through it. S2 levels chosen on dev 902–905. `configs/protocol_bench.yaml` is **locked** (29/10 14:39 UTC; sha256 aa763f0a…; TCN budgets 125 from dev; L1 levels above the declared band are disclosed). **Main runs started 29/10 14:43 UTC; all four drivers were SIGTERMed at 15:27 when the agent session ended** (setsid nohup is not enough). Relaunched in the user's tmux server (15:41 on cuda:0; resized at 16:07 UTC when the other project released both GPUs): `p6_s2` (S2, cuda:1, 6 workers), `p6_s1a` (S1 R10/Rm5/R0, cuda:0, 5 workers), `p6_s1b` (S1 R0h/R10tb, cuda:1, 2 workers), `p6_s348` (S3+S4+S8 train, cuda:0, 4 workers); logs `logs/bench_{s2_cuda1,s1a_cuda0,s1b_cuda1,s348_cuda0}.out`. Worker count is bounded by 40 CPUs (2 threads each). Since 16:22 UTC `operations/p6_supervisor.py` (tmux `p6_supervisor`, log `logs/p6_supervisor.out`, state `logs/p6_supervisor_state.json`) checks every 5 min: it relaunches dead unfinished drivers on the card with most free memory (keeping 2.5 GB free, at most 5 restarts each) and gives the workers of a finished driver to the one with most jobs left (21 workers total since 22:26 UTC, when S1 group B was boosted from 2 to 6 workers as the critical path). To change drivers by hand, stop the supervisor first and keep its state file consistent. The GPU co-tenant is the user's own `vinhnt` job (about 80 GB per card at 16:20 UTC); never touch it. Never run two drivers over the same study/regimes (the runner does not claim jobs). Drivers resume by fingerprint: restart a stopped driver with the same command; never edit locked code or inputs. New code files break the F3/Volve code-hash checks of the working tree; acceptable because P3/P4 are never rerun. **Final state (30/10):** S2 (224 posterior + 224 train) done 00:12 UTC, S3+S4+S8 train (384) done 00:58, S1 (560 train cells; posteriors done earlier) done 02:16 after a 01:02 split of group B into `p6_s1b_r0h` and `p6_s1b_r10tb` (36 workers, CPU-bound). The supervisor was stopped at 02:16; no P6 job is running and nothing needs resuming. Next P6 step: `scripts/34_run_bench.py summarize` (not run yet), then S7 packaging and the results rewrite.
|
||||
- Runner built (`ml_porosity/benchmark/`, `scripts/34_run_bench.py`, `35_bench_calibration.py`, `scripts/run_bench.sh`; design `docs/research/bench-protocol.md`); a P2r cell reproduces bit for bit through it. S2 levels chosen on dev 902–905. `configs/protocol_bench.yaml` is **locked** (29/10 14:39 UTC; sha256 aa763f0a…; TCN budgets 125 from dev; L1 levels above the declared band are disclosed). **Main runs started 29/10 14:43 UTC; all four drivers were SIGTERMed at 15:27 when the agent session ended** (setsid nohup is not enough). Relaunched in the user's tmux server (15:41 on cuda:0; resized at 16:07 UTC when the other project released both GPUs): `p6_s2` (S2, cuda:1, 6 workers), `p6_s1a` (S1 R10/Rm5/R0, cuda:0, 5 workers), `p6_s1b` (S1 R0h/R10tb, cuda:1, 2 workers), `p6_s348` (S3+S4+S8 train, cuda:0, 4 workers); logs `logs/bench_{s2_cuda1,s1a_cuda0,s1b_cuda1,s348_cuda0}.out`. Worker count is bounded by 40 CPUs (2 threads each). Since 16:22 UTC `operations/p6_supervisor.py` (tmux `p6_supervisor`, log `logs/p6_supervisor.out`, state `logs/p6_supervisor_state.json`) checks every 5 min: it relaunches dead unfinished drivers on the card with most free memory (keeping 2.5 GB free, at most 5 restarts each) and gives the workers of a finished driver to the one with most jobs left (21 workers total since 22:26 UTC, when S1 group B was boosted from 2 to 6 workers as the critical path). To change drivers by hand, stop the supervisor first and keep its state file consistent. The GPU co-tenant is the user's own `vinhnt` job (about 80 GB per card at 16:20 UTC); never touch it. Never run two drivers over the same study/regimes (the runner does not claim jobs). Drivers resume by fingerprint: restart a stopped driver with the same command; never edit locked code or inputs. New code files break the F3/Volve code-hash checks of the working tree; acceptable because P3/P4 are never rerun. **Final state (30/10):** S2 (224 posterior + 224 train) done 00:12 UTC, S3+S4+S8 train (384) done 00:58, S1 (560 train cells; posteriors done earlier) done 02:16 after a 01:02 split of group B into `p6_s1b_r0h` and `p6_s1b_r10tb` (36 workers, CPU-bound). The supervisor was stopped at 02:16; no P6 job is running and nothing needs resuming.
|
||||
- **Summarize done (02/11/2026, 02:02 UTC; `docs/plan.md` §12 item 28).** Lock and the 8,799 synced `outputs/bench/` files checked first. Locked `scripts/34_run_bench.py summarize` → `outputs/bench/summary/` (`verdict.json`, `summary.md`, csv tables). Its verdict extraction differs from the locked statements in three places (S1-H1 needs exactly 2 rows but S1 has 4 N values → null; S2-H1 has no top-level `pass` → "not available"; S3-H1 adds the disclosed Ctl-GP to the stated competitor set). Locked code was not edited: `scripts/36_bench_verdicts.py` (outside the lock hash; checks the lock first) applies the statements as worded → `verdict_final.json`, `verdict_final.md`, `s3_h2a_stated.csv`. Report both readings; the paper's Methods must disclose this implementation deviation.
|
||||
- **Verdicts (as worded): 9/11 pass.** S1-H1 pass (R10 c = 1.5: 0.853 / 0.796 at N = 4/16); S1-H2 pass (13/13 wide families, ρ = −0.47, p < 1e−4); **S2-H1 fails for rock physics (0.940 / 0.934) and wavelet (1.023 / 1.042; posterior overconfident, cov90 0.17 / 0.10), passes for drift (0.862 / 0.798)**; S2-H2 pass (14/14 ≤ 1.02); S3-H1 pass in R10, R0, Rm5 (as run with Ctl-GP: fail everywhere, because Ctl-GP nearly equals B3d-Sa); S4-H1, S4-H2, S8-H1, S8-H2 pass. S2 is complete, so the paper may say "benchmark"; never claim H2a is robust to misspecification in general (`docs/plan.md` §10).
|
||||
- **S7 packaging done (02/11/2026; `docs/plan.md` §12 item 29), except the Zenodo deposit.** `scripts/37_bench_package.py` (outside the lock; `generate`/`tables` check it first): `generate` → 630 tasks (test 8–15, dev 900–905; 45 per realization: 5 nominal regimes × 5 c, 14 S2 settings, 6 S8 settings), hidden truth, inputs and `inputs/analyst.json` in `outputs/bench/package/` (845 MB, gitignored, the Zenodo payload); content hashes in `benchmark/MANIFEST.json` (git). A second `generate` reproduced all 1,260 content hashes, and `check` matches 1,265/1,265 files (with the 5 inputs). `tables` → 45,200 reference runs (21 methods), `benchmark/reference/{cells.csv,main_table.md}`. `score --pred DIR --name NAME` applies the locked H2a cell rule and `better` rule of `summary.py`. `selftest` passes (copies of saved B3d-Sa/BK2 predictions reproduce metrics to 5e-10 and the rule outputs, e.g. S1-H1 0.8529 / 0.7964). User docs: `benchmark/README.md` (English); `benchmark/zenodo_metadata.json` is a draft. **Do not upload to Zenodo without the user**: it needs their account, the author list, and a check of the licence (draft CC BY-SA 3.0, inherited from F3).
|
||||
- **Results sections written (02/11/2026; `docs/plan.md` §12 item 30).** The paper now has Sec. 6.5 "Experiment 3: registration-aware benchmark": design and verdict tables, with both readings of D-13; S1 phase diagram; S2 table with the rock-physics and wavelet-phase failures; S3; S4; S8 table and figure; equal budgets. Sec. 6.4 (T2) replaces its todoblock. Sec. 3.2 gains the misspecification presets, Sec. 5 the TCN and the benchmark rows of `tab:methods`. The abstract, introduction, discussion and conclusion were updated, and the title todo was removed. F3 and Volve dataset citations (`dgb2023f3demo`, `equinor2018volve`) are in `paper/refs.bib`. Figures come from `scripts/38_bench_figures.py` (outside the lock); `--flipband` prints the post hoc S8 cos/cos² table. The locked S8-H2 statement calls BK2 "calibrated" only in the weak sense that the truth is a member. Under Corollary 3 (a), its λ → 0 transfer is cos²(πfΔ), while the measured value is 0.92–1.00 at N = 16. The paper says so; the verdict is unchanged. The paper compiles cleanly (66 pages); the main text is about 18,100 words (R9, no mitigation). Remaining todos: authors, author declarations, repository URL and DOI, Zenodo DOI and licence, Teapot licence, the Sec. 2 novelty todoblock.
|
||||
- **Preliminary novelty scan for the Sec. 2 todoblock (02/11/2026; `docs/plan.md` §12 item 31).** Crossref, OpenAlex 2025–2026 and web search found no work that feeds tie uncertainty into the training of a property predictor, so "To our knowledge…" stands. Added, abstract only: Herrera & van der Baan 2014 (Geophysics; the 2012 preprint stays the version read), Autotie (da Costa Silva et al., Geophysics 2026; new row entry in `tab:positioning`) and Castagna, Kronberg & Gil (TLE 2026, tie and prediction quality metrics). Sukar et al. 2026 was rechecked in full (`refs/`): it trains on simulator-derived synthetic 4D maps, so "UQ→train = --" is fair, and Sec. 2 now says no tie places its labels. Still open for the submission-day rerun (13/11): the Palavicini Gurria et al. IMAGE 2026 abstract (no IMAGE 2026 expanded abstract indexed yet) and the Quesada 2024 DOI (otherwise keep the lab URL). The todoblock was shortened to these items. The paper compiles cleanly (66 pages).
|
||||
- **Proof review and reproduction package (02/11/2026; `docs/plan.md` §12 item 32).** An independent subagent read Sec. 4, App. A and Lemma 5 and returned 15 findings; 14 were fixed and 1 partly (the registered names $B_a$/$B_b$ stay). No verdict or reported number changed. Main fixes: (A2) needs a bounded second moment; (B) is restricted to integer shifts up to β_max; Corollary 3's equal-weight two-member bank contains the true warp but is not calibrated, and cos²(πfΔ) is its λ → 0 transfer; Corollary 4's σ_r < σ/√2 is necessary at every frequency but not sufficient, and Sec. 6.6 now gives the simulated crossings 3.6/3.8/4.3 ms against σ/√2 = 3.0/4.1/5.1 ms; `docs/theory.md` synced. `scripts/39_repro_package.py` (outside every lock) builds five deterministic derived-data archives in `outputs/repro/` (gitignored; 11,112 files; F3 and synthetic CC BY-SA 3.0, Volve CC BY-NC-SA 4.0, Teapot CC0 unverified) with `repro/MANIFEST.json` (git), and `verify` reruns 12 stages in a clean room without raw data. The run of 02/11 (20 min, CPU) passes: 12/12 stages exit 0, no reads outside the clean room, 63 rewritten files identical in bytes (the 8 figures pixel-identical), 3 equal in value, none different; `tests/test_d2_misspec.py` passes 15/15 there (`repro/verify_report.md`). Reader docs: `repro/README.md`, `repro/requirements-linux.txt`; Sec. 8 has a derived-data sentence (DOI todo). **Not done, needs the user:** the deposit, the licence choice for the combined F3+Volve applicability tables, a code licence, and `39 code --rev` after a commit. The paper compiled cleanly then (67 pages).
|
||||
- **Full texts of six abstract-only references (02/11/2026; `docs/plan.md` §12 item 33).** The user downloaded AWSM (`lim2025awsm`), BootNet (`lim2025bootnet`), P05 (`li2024bpinn`) and Guillon et al. 2020 (`guillon2020gtmetrics`) into `refs/`, renamed to their BibTeX keys; the two Rizzuti papers were obtained earlier that day. Every claim in Sec. 2 was checked against the full texts. The table classifications and "To our knowledge…" are unchanged. AWSM reports a time–depth posterior for 44 wells but keeps only the median- and minimum-misfit models, and no later step uses the posterior. Their ᵃ markers were removed, Sec. 2 now uses full-text wording, and the `refs.bib` annotes were updated. The paper compiles cleanly (68 pages). Still abstract-only: Autotie, Herrera 2014, Thiebaud, Cordoba, Mirza, Quesada, Huff, P04, P07, P09. **Closed by the user (02/11/2026):** no further full-text search; those entries keep their ᵃ marker. Castagna 2026 (CC BY) was then downloaded by the user (`refs/castagna2026quality.pdf`) and read in full. Its Discussion does address timing error: time–depth functions are never exact, time shifts mainly degrade the high frequencies, and their distribution-based measures are insensitive to small shifts. It does not model that error or use it in training. The earlier Sec. 2 sentence ("Their abstract does not consider error in the timing…") was therefore replaced; "To our knowledge…" stands.
|
||||
- **Server move (30/10):** the repository folder is synced as a whole to a new server; `outputs/` stays out of git. About 600 MB of outputs force-added and pushed at 01:05–01:15 UTC were removed by a history rewrite and force-push at the user's request (`main` = 381b5ff). What is not in git, with sha256: `docs/research/server-migration.md`, `docs/research/unpushed_outputs.sha256`. tmux sessions do not move with the folder.
|
||||
- Another project held about 125–142 GB on each H200 from about 13:00 to 16:00 UTC on 29/10 and released it by 16:06; if it returns, keep at least 2.5 GB free per card (about 1.56 GB per SMC worker, 0.7 GB per training worker).
|
||||
|
||||
@@ -118,21 +125,20 @@ Read first: `docs/plan.md` (plan, gates, decisions; §6 roadmap, §10 forbidden
|
||||
Schedule: `docs/plan.md` §6.1 (level B, 29/10 → 14/11/2026). Cut-scope order
|
||||
if late is given there; never cut thresholds.
|
||||
|
||||
1. **Dataset citations (30–31/10).** Level A writing is done (plan §12 item 24).
|
||||
Add the F3 and Volve dataset citations to `paper/refs.bib`. The length pass
|
||||
1. **Dataset citations: done 02/11/2026** (plan §12 item 30). The length pass
|
||||
for the venue was dropped by the user on 29/10/2026 (plan §12 item 25): do
|
||||
not schedule it. The rest of these two days is buffer.
|
||||
2. **T2 mechanism study: done on 29/10/2026** (see Status). Write the paper's Sec. 6.4 todoblock from `docs/research/t2-results.md`.
|
||||
not schedule it.
|
||||
2. **T2 mechanism study: done on 29/10/2026; written into Sec. 6.4 on 02/11/2026** (plan §12 item 30).
|
||||
3. **protocol_bench: done early (locked 29/10 14:39 UTC).** See Status.
|
||||
4. **Runs: done early (29/10 14:43 → 30/10 02:16 UTC).** Next: run
|
||||
`scripts/34_run_bench.py summarize` on the new server (needs only files
|
||||
in the synced folder), report the S1–S8 verdicts as they come out,
|
||||
including failures.
|
||||
5. **S7 packaging (8–10/11):** one command to generate, one to score, reference
|
||||
tables, README, hashes, Zenodo deposit; then rewrite the results sections.
|
||||
6. **Review and submission (11–14/11):** internal review, figures, proof
|
||||
appendix, final novelty scan, quartile check, preprint, submit to
|
||||
*Computers & Geosciences*.
|
||||
4. **Runs: done early (29/10 14:43 → 30/10 02:16 UTC). Summarize and the 11
|
||||
verdicts: done 02/11/2026** (see Status; `outputs/bench/summary/verdict_final.md`).
|
||||
5. **S7 packaging: done 02/11/2026** except the Zenodo deposit (user's account; fill the TODOs of
|
||||
`benchmark/zenodo_metadata.json` first, then put the DOI into `benchmark/README.md` and Sec. 8).
|
||||
**Results sections: done 02/11/2026** (plan §12 item 30). **Proof appendix review and reproduction
|
||||
package: done 02/11/2026** (plan §12 item 32) except the deposit of `outputs/repro/*.tar.gz` (user's account and licence decisions).
|
||||
6. **Next: review and submission (11–14/11; can start early):** internal review, figures, final
|
||||
proofread of the proof appendix (reviewed 02/11), final novelty scan (Sec. 2 todoblock; preliminary scan done 02/11, plan §12 item 31), quartile check, preprint, submit to
|
||||
*Computers & Geosciences*. The authors must fill the author list and declarations.
|
||||
|
||||
## Conventions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user