Regenerate figures with descriptive names; add band-content table
Regenerate p2_phase, p2r_grid, p2r_h2b, bench_s1 and bench_s8 from the existing summaries so they use the paper's descriptive names, and remove the \figcodes notes and macro. Display fixes only: mathtext for the -5 dB label and a shorter anchor-mean cell label. Add a post hoc, descriptive table of the band content of the F3 labels, the synthetic labels and the Oracle predictions (scripts/40_band_spectra.py, Table tab:bandspectra in App. C) and rewrite the "Band of the benchmark" limitation. No number, verdict, threshold, locked protocol or abstract changed. Clean-room check rerun: 12/12 stages pass, nothing differs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -124,7 +124,8 @@ Read first: `docs/plan.md` (plan, gates, decisions; §6 roadmap, §10 forbidden
|
|||||||
- **Technical overview restored (04/11/2026; `docs/plan.md` §12 item 35).** The 27/10 overview had been overwritten by the lecture in 0cfe202 (29/10). The lecture now lives in `docs/lecture.md`; `docs/technical_overview.md` was rebuilt from 9976abc and updated to 04/11 (Pivot 1 frame, SMC posterior, Propositions 3–6, P2r/P3/P4/P6 results, code map to script 39). No new results.
|
- **Technical overview restored (04/11/2026; `docs/plan.md` §12 item 35).** The 27/10 overview had been overwritten by the lecture in 0cfe202 (29/10). The lecture now lives in `docs/lecture.md`; `docs/technical_overview.md` was rebuilt from 9976abc and updated to 04/11 (Pivot 1 frame, SMC posterior, Propositions 3–6, P2r/P3/P4/P6 results, code map to script 39). No new results.
|
||||||
- **Hallucination audit and rewrite of the manuscript (04/11/2026; `docs/plan.md` §12 item 36, `docs/research/paper-audit.md`).** Done with the scientific-writing, literature-review, citation-management and academic-humanizer skills. Five subagents traced every number, citation and claim to `outputs/`, protocols, code and `refs/` texts and returned 87 findings; 4 were S1. (G1-01) Two TD models were conflated as "up to 36 ms". (G2-01) The warp prior was described as type-II ML, but the code uses MAP-II with σ_a = 7 and σ_b = 50 ms fixed, and σ_b = 19 ms is from a separate ML fit. (G3-01) The Exp. 1 protocol was described as tagged before its run; it was only hash-locked. (G5-01) PHIE_DT is linear in sonic at all four wells, not three. The main session verified the findings and applied 106 exact replacements in 10 sections and the highlights. A token guard confirms that only the approved numbers and citations changed: `tab:audit` follows `td_qc.csv`; prabowo/tao/DILATE are dropped from the intro; claims are scoped (σ_a arm one regime; extensions at R10; dr_L1 only; T3 exploratory); the 500-iteration arm is a trajectory record, not retraining; about 40 small number fixes. The academic-humanizer pass only split long sentences. No verdict, gate or threshold changed. `main.pdf` has 69 pages and builds cleanly. Open for the authors: G1-14 (Rizzuti/BootNet DL ✓), the 7 PDFs missing on this machine, the Volve licence wording (G2-10), the Rm5 "within the CI" null (G4-04), and the optional Kassis et al. 2026 citation.
|
- **Hallucination audit and rewrite of the manuscript (04/11/2026; `docs/plan.md` §12 item 36, `docs/research/paper-audit.md`).** Done with the scientific-writing, literature-review, citation-management and academic-humanizer skills. Five subagents traced every number, citation and claim to `outputs/`, protocols, code and `refs/` texts and returned 87 findings; 4 were S1. (G1-01) Two TD models were conflated as "up to 36 ms". (G2-01) The warp prior was described as type-II ML, but the code uses MAP-II with σ_a = 7 and σ_b = 50 ms fixed, and σ_b = 19 ms is from a separate ML fit. (G3-01) The Exp. 1 protocol was described as tagged before its run; it was only hash-locked. (G5-01) PHIE_DT is linear in sonic at all four wells, not three. The main session verified the findings and applied 106 exact replacements in 10 sections and the highlights. A token guard confirms that only the approved numbers and citations changed: `tab:audit` follows `td_qc.csv`; prabowo/tao/DILATE are dropped from the intro; claims are scoped (σ_a arm one regime; extensions at R10; dr_L1 only; T3 exploratory); the 500-iteration arm is a trajectory record, not retraining; about 40 small number fixes. The academic-humanizer pass only split long sentences. No verdict, gate or threshold changed. `main.pdf` has 69 pages and builds cleanly. Open for the authors: G1-14 (Rizzuti/BootNet DL ✓), the 7 PDFs missing on this machine, the Volve licence wording (G2-10), the Rm5 "within the CI" null (G4-04), and the optional Kassis et al. 2026 citation.
|
||||||
- **Abstract rewritten (09/11/2026; `docs/plan.md` §12 item 37).** Shortened to 241 words for outside readers: no internal codes (R10 is now "10 dB"), no verdict counts. The synthetic result is one sentence with its assumptions stated up front (correct tie model, dense anchors of known uncertainty). At the user's request the abstract no longer mentions the failed first comparison, the drift-free gain or the misspecification failures; these remain disclosed in the body (C2, Secs. 6, 7, 8). The field failures stay. No new numbers; `main.pdf` builds cleanly (69 pages). Sec. 7 ("One simulator") now states that the nominal cells use the model the registration assumes, so their gains are not field estimates. The internal notation in Sec. 1 and Sec. 8 was removed in the rewrite below.
|
- **Abstract rewritten (09/11/2026; `docs/plan.md` §12 item 37).** Shortened to 241 words for outside readers: no internal codes (R10 is now "10 dB"), no verdict counts. The synthetic result is one sentence with its assumptions stated up front (correct tie model, dense anchors of known uncertainty). At the user's request the abstract no longer mentions the failed first comparison, the drift-free gain or the misspecification failures; these remain disclosed in the body (C2, Secs. 6, 7, 8). The field failures stay. No new numbers; `main.pdf` builds cleanly (69 pages). Sec. 7 ("One simulator") now states that the nominal cells use the model the registration assumes, so their gains are not field estimates. The internal notation in Sec. 1 and Sec. 8 was removed in the rewrite below.
|
||||||
- **Manuscript rewritten for outside readers (09/11/2026; `docs/plan.md` §12 item 38, `docs/research/paper-style-survey.md`).** Descriptive names replace repository codes everywhere in the text, tables and captions (mapping in `paper/README.md`; configs, outputs and code keep the codes). Methods now precede Theory (`04_method.tex`, `05_theory.tex`), new Appendix C (`C_record.tex`) holds the protocol record and secondary results, `tab:lessons` gives each failure a cause and a lesson. Sec. 5 now states results in words, and the formal propositions, corollaries and proofs are in Appendix A (`docs/plan.md` §12 item 39); Sec. 6.6 has a worked example and Sec. 7 has "Practical advice". Two Fable referees: major revision in round 1, minor revision in round 2, accept after minor corrections and 5/5 criteria in round 3; those corrections were applied. No verdict, threshold or protocol changed. `main.pdf` has 69 pages and builds cleanly; the main text is about 15,400 words. **Still open:** regenerate the figures on a machine with `outputs/*/summary` (labels already changed in `scripts/22` and `scripts/38`), then delete the red `\figcodes` notes and rerun the clean-room check.
|
- **Manuscript rewritten for outside readers (09/11/2026; `docs/plan.md` §12 item 38, `docs/research/paper-style-survey.md`).** Descriptive names replace repository codes everywhere in the text, tables and captions (mapping in `paper/README.md`; configs, outputs and code keep the codes). Methods now precede Theory (`04_method.tex`, `05_theory.tex`), new Appendix C (`C_record.tex`) holds the protocol record and secondary results, `tab:lessons` gives each failure a cause and a lesson. Sec. 5 now states results in words, and the formal propositions, corollaries and proofs are in Appendix A (`docs/plan.md` §12 item 39); Sec. 6.6 has a worked example and Sec. 7 has "Practical advice". Two Fable referees: major revision in round 1, minor revision in round 2, accept after minor corrections and 5/5 criteria in round 3; those corrections were applied. No verdict, threshold or protocol changed. `main.pdf` has 69 pages and builds cleanly; the main text is about 15,400 words. The figures that still showed codes were regenerated on 09/11 (next item).
|
||||||
|
- **Figures relabelled, band-content table added (09/11/2026; `docs/plan.md` §12 item 40).** `p2_phase`, `p2r_grid`, `p2r_h2b`, `bench_s1` and `bench_s8` were regenerated with the descriptive names from the existing summaries; no number in them changed (old and new compared token by token). Display fixes only in `scripts/22_paper_figures.py`: the −5 dB label now uses mathtext (`cmr10` has no U+2212), and the `p2_phase` cell label for the anchor mean is "anchor" so that it no longer overlaps. The 5 `\figcodes` notes and the macro are gone. `main.pdf` builds cleanly (68 pages, no undefined references). Clean-room check rerun: 12/12 stages exit 0, 63 files identical, 3 equal, none different, no reads outside the clean room, all 8 figures pixel-identical to `paper/figures/`; `repro/MANIFEST.json` and the archives are unchanged. New post hoc, descriptive `scripts/40_band_spectra.py` → `outputs/band_spectra/`, Table `tab:bandspectra` in App. C and a rewritten "Band of the benchmark" limitation: 72% of the band power of the synthetic labels and 73% of the Oracle predictions (10 dB) lie below 25 Hz, against 54% for the F3 `PHIE_DT` labels (46–68% over wells). So the low-frequency concentration comes with the synthetic labels, and F3 labels are richer in high frequencies; the effect on the sensitivities was not tested. Neither the script nor its output is in the repro archives or a verify stage. Still open from item 38: the λ → 0 arm, which needs new training and remains disclosed under Limitations.
|
||||||
|
|
||||||
## Next
|
## Next
|
||||||
|
|
||||||
|
|||||||
@@ -73,6 +73,7 @@ CUDA_VISIBLE_DEVICES= .venv/bin/python scripts/37_bench_package.py generate #
|
|||||||
CUDA_VISIBLE_DEVICES= .venv/bin/python scripts/37_bench_package.py score --pred DIR --name TÊN # chấm một phương pháp theo luật protocol_bench (hướng dẫn: benchmark/README.md)
|
CUDA_VISIBLE_DEVICES= .venv/bin/python scripts/37_bench_package.py score --pred DIR --name TÊN # chấm một phương pháp theo luật protocol_bench (hướng dẫn: benchmark/README.md)
|
||||||
CUDA_VISIBLE_DEVICES= .venv/bin/python scripts/38_bench_figures.py [--only bench_s1,bench_s8] [--flipband] # hình Thí nghiệm 3 của bài → paper/figures/; --flipband in bảng cos/cos² của S8
|
CUDA_VISIBLE_DEVICES= .venv/bin/python scripts/38_bench_figures.py [--only bench_s1,bench_s8] [--flipband] # hình Thí nghiệm 3 của bài → paper/figures/; --flipband in bảng cos/cos² của S8
|
||||||
CUDA_VISIBLE_DEVICES= OMP_NUM_THREADS=2 .venv/bin/python scripts/39_repro_package.py build | verify # P5 gói tái lập: archive dữ liệu dẫn xuất → outputs/repro/, manifest repro/MANIFEST.json; phòng sạch → repro/verify_report.md (hướng dẫn: repro/README.md)
|
CUDA_VISIBLE_DEVICES= OMP_NUM_THREADS=2 .venv/bin/python scripts/39_repro_package.py build | verify # P5 gói tái lập: archive dữ liệu dẫn xuất → outputs/repro/, manifest repro/MANIFEST.json; phòng sạch → repro/verify_report.md (hướng dẫn: repro/README.md)
|
||||||
|
CUDA_VISIBLE_DEVICES= OMP_NUM_THREADS=2 .venv/bin/python scripts/40_band_spectra.py # post hoc: phổ trong dải địa chấn của nhãn F3, nhãn synthetic và dự đoán Oracle → outputs/band_spectra/ (bảng tab:bandspectra của bài)
|
||||||
# Run dài: chạy trong tmux server của người dùng, ví dụ tmux new-session -d -s p6_s2 -c $PWD "env STUDIES=S2 DEVICE=cuda:0 WORKERS=2 MEM_GB=2 scripts/run_bench.sh posterior train >> logs/bench_s2_cuda0.out 2>&1"
|
# Run dài: chạy trong tmux server của người dùng, ví dụ tmux new-session -d -s p6_s2 -c $PWD "env STUDIES=S2 DEVICE=cuda:0 WORKERS=2 MEM_GB=2 scripts/run_bench.sh posterior train >> logs/bench_s2_cuda0.out 2>&1"
|
||||||
# (setsid nohup bị dừng khi phiên agent kết thúc, 29/10). operations/p6_s1_watcher.sh khởi động S1 khi GPU có chỗ trống (đã dùng 15:43–16:06 UTC 29/10, rồi bỏ khi GPU trống).
|
# (setsid nohup bị dừng khi phiên agent kết thúc, 29/10). operations/p6_s1_watcher.sh khởi động S1 khi GPU có chỗ trống (đã dùng 15:43–16:06 UTC 29/10, rồi bỏ khi GPU trống).
|
||||||
# operations/p6_supervisor.py (tmux p6_supervisor): mỗi 5 phút chạy lại driver P6 chết và dồn worker khi một study xong; log logs/p6_supervisor.out. Đã dừng 02:16 UTC 30/10 khi P6 xong. Lỗi đã biết: khi dồn worker, nó khởi động lại driver kể cả lúc số worker không đổi, làm mất job đang dở.
|
# operations/p6_supervisor.py (tmux p6_supervisor): mỗi 5 phút chạy lại driver P6 chết và dồn worker khi một study xong; log logs/p6_supervisor.out. Đã dừng 02:16 UTC 30/10 khi P6 xong. Lỗi đã biết: khi dồn worker, nó khởi động lại driver kể cả lúc số worker không đổi, làm mất job đang dở.
|
||||||
@@ -134,5 +135,6 @@ Biến môi trường máy đặt sẵn `OMP_NUM_THREADS=40` (cả MKL, OpenBLAS
|
|||||||
| `scripts/37_bench_package.py <lệnh> [--out DIR]` (generate, check, tables, score, selftest) | S7 đóng gói benchmark (02/11/2026; ngoài lock, generate và tables kiểm lock trước): `generate` ghi 630 task (test 8–15, dev 900–905; 5 regime danh nghĩa × 5 c, 14 setting S2, 6 setting S8), truth ẩn, input và `inputs/analyst.json` vào `outputs/bench/package/` (khoảng 845 MB), rồi so sha256 nội dung với `benchmark/MANIFEST.json` (lần đầu thì ghi); `check` kiểm một bản tải về; `tables` gộp 45.200 run tham chiếu → `reference/runs.csv.gz`, `benchmark/reference/{cells.csv,main_table.md}`; `score --pred DIR --name TÊN` chấm dự đoán `r<rid>_c<c>_n<N>_s<seed>.npz` (metric của scripts/11, luật ô H2a và luật better của `summary.py`) → `DIR/score/`; `selftest` chép dự đoán tham chiếu đã lưu thành bài nộp và kiểm metric, truth và luật khớp. Hướng dẫn cho người dùng: `benchmark/README.md` |
|
| `scripts/37_bench_package.py <lệnh> [--out DIR]` (generate, check, tables, score, selftest) | S7 đóng gói benchmark (02/11/2026; ngoài lock, generate và tables kiểm lock trước): `generate` ghi 630 task (test 8–15, dev 900–905; 5 regime danh nghĩa × 5 c, 14 setting S2, 6 setting S8), truth ẩn, input và `inputs/analyst.json` vào `outputs/bench/package/` (khoảng 845 MB), rồi so sha256 nội dung với `benchmark/MANIFEST.json` (lần đầu thì ghi); `check` kiểm một bản tải về; `tables` gộp 45.200 run tham chiếu → `reference/runs.csv.gz`, `benchmark/reference/{cells.csv,main_table.md}`; `score --pred DIR --name TÊN` chấm dự đoán `r<rid>_c<c>_n<N>_s<seed>.npz` (metric của scripts/11, luật ô H2a và luật better của `summary.py`) → `DIR/score/`; `selftest` chép dự đoán tham chiếu đã lưu thành bài nộp và kiểm metric, truth và luật khớp. Hướng dẫn cho người dùng: `benchmark/README.md` |
|
||||||
| `scripts/38_bench_figures.py [--only bench_s1,bench_s8] [--flipband]` | Hình Thí nghiệm 3 của bài (02/11/2026; ngoài lock, kiểm lock trước, không ghi vào `outputs/`): `bench_s1` (phase diagram S1 từ `outputs/bench/summary/s1_cells.csv`) và `bench_s8` (hàm truyền hai mode từ `s8_transfer_curves.json`; băng dùng được tính lại từ file dự đoán S8 như `summary.py`) → `paper/figures/{bench_s1,bench_s8}.pdf`, cùng style với scripts/22. `--flipband` chỉ in ra stdout bảng post hoc của Sec. 6.5: trung bình cos(πfΔ), cos²(πfΔ) (Hệ quả 3) và transfer đo được của PM2/BK2/HM2 trong băng 1/(2Δ) < f < 3/(2Δ) (D-14) |
|
| `scripts/38_bench_figures.py [--only bench_s1,bench_s8] [--flipband]` | Hình Thí nghiệm 3 của bài (02/11/2026; ngoài lock, kiểm lock trước, không ghi vào `outputs/`): `bench_s1` (phase diagram S1 từ `outputs/bench/summary/s1_cells.csv`) và `bench_s8` (hàm truyền hai mode từ `s8_transfer_curves.json`; băng dùng được tính lại từ file dự đoán S8 như `summary.py`) → `paper/figures/{bench_s1,bench_s8}.pdf`, cùng style với scripts/22. `--flipband` chỉ in ra stdout bảng post hoc của Sec. 6.5: trung bình cos(πfΔ), cos²(πfΔ) (Hệ quả 3) và transfer đo được của PM2/BK2/HM2 trong băng 1/(2Δ) < f < 3/(2Δ) (D-14) |
|
||||||
| `scripts/39_repro_package.py <lệnh> [--out DIR]` (build, check, verify, code) | P5 gói tái lập (02/11/2026; ngoài mọi lock, không train, không ghi vào `outputs/` gốc): `build` chọn file của `outputs/` theo `RULES` và ghi 5 archive tar.gz tất định theo giấy phép dữ liệu (f3_results, f3_predictions, f3_volume: CC BY-SA 3.0; volve: CC BY-NC-SA 4.0; teapot: CC0, cần kiểm) vào `outputs/repro/`, cùng `repro/MANIFEST.json` (11.112 file, sha256 từng file, script sinh ra); `check --root DIR` kiểm một cây đã giải nén; `verify [--only …] [--keep]` dựng phòng sạch (code + archive, không SEG-Y/Volve/Teapot thô), chạy lại 12 bước tổng hợp, post hoc, bảng và hình, theo dõi file mở bằng audit hook rồi so với bản gốc → `repro/verify_report.md` (02/11: 12/12 bước khớp, 63 file trùng byte, 3 trùng giá trị, 0 khác); `code --rev REV` ghi `git archive` của một commit. Hướng dẫn cho người đọc (tiếng Anh): `repro/README.md` |
|
| `scripts/39_repro_package.py <lệnh> [--out DIR]` (build, check, verify, code) | P5 gói tái lập (02/11/2026; ngoài mọi lock, không train, không ghi vào `outputs/` gốc): `build` chọn file của `outputs/` theo `RULES` và ghi 5 archive tar.gz tất định theo giấy phép dữ liệu (f3_results, f3_predictions, f3_volume: CC BY-SA 3.0; volve: CC BY-NC-SA 4.0; teapot: CC0, cần kiểm) vào `outputs/repro/`, cùng `repro/MANIFEST.json` (11.112 file, sha256 từng file, script sinh ra); `check --root DIR` kiểm một cây đã giải nén; `verify [--only …] [--keep]` dựng phòng sạch (code + archive, không SEG-Y/Volve/Teapot thô), chạy lại 12 bước tổng hợp, post hoc, bảng và hình, theo dõi file mở bằng audit hook rồi so với bản gốc → `repro/verify_report.md` (02/11: 12/12 bước khớp, 63 file trùng byte, 3 trùng giá trị, 0 khác); `code --rev REV` ghi `git archive` của một commit. Hướng dẫn cho người đọc (tiếng Anh): `repro/README.md` |
|
||||||
|
| `scripts/40_band_spectra.py` | Mô tả post hoc (09/11/2026; ngoài mọi lock và ngoài các archive tái lập, không train): phân bố công suất trên 6 Hz trong cửa sổ 600–1100 ms của `PHIE_DT` F3 (4 giếng), nhãn synthetic và dự đoán Oracle ($N$ = 16, $c$ = 1; R10, R0, Rm5), cùng cách ước lượng periodogram với `scripts/31_p2r_posthoc.py` → `outputs/band_spectra/{table.csv,groups.csv,meta.json}`; dùng cho bảng `tab:bandspectra` (Phụ lục C) và mục "Band of the benchmark" của bài. |
|
||||||
|
|
||||||
`code_thesis/` là bản lưu trữ code luận văn. Giữ nguyên nội dung để đối chiếu: các script này còn đường dẫn máy cũ và ghi vào `outputs/`, nên cần một bản sao đã điều chỉnh đường dẫn nếu muốn chạy lại. Kiểm tra bộ artifact hiện có bằng `python scripts/00_data_manifest.py --dataset thesis --check`.
|
`code_thesis/` là bản lưu trữ code luận văn. Giữ nguyên nội dung để đối chiếu: các script này còn đường dẫn máy cũ và ghi vào `outputs/`, nên cần một bản sao đã điều chỉnh đường dẫn nếu muốn chạy lại. Kiểm tra bộ artifact hiện có bằng `python scripts/00_data_manifest.py --dataset thesis --check`.
|
||||||
|
|||||||
@@ -861,3 +861,4 @@ Trạng thái ngày 26/10/2026. "Có" nghĩa là toàn văn nằm trong [`refs/`
|
|||||||
37. **Viết lại abstract (09/11/2026).** Người dùng nhận xét abstract quá dài, khó hiểu, dùng ký hiệu nội bộ (R10, $c = 1$) và có câu giống đang trò chuyện ("passed 9 of its 11 verdicts", "We make no field or calibration claim"). `paper/sections/00_abstract.tex` giảm từ 458 từ xuống 231 từ: R10 được thay bằng SNR 10 dB; bỏ mã nội bộ, số verdict và chi tiết cận classical/Berkson. Theo yêu cầu của người dùng, kết quả synthetic là một câu duy nhất, nêu giả định ở đầu câu (mô hình tie đúng, anchor dày có độ bất định đã biết) và không có caveat; việc phần lớn lợi ích đã có khi không drift và các trường hợp H2a trượt vẫn được công bố ở Sec. 6, 7 và 8. Được giữ: đoạn kết nêu field validation còn mở (F3, Volve không cải thiện nhất quán, quá ít giếng có reference độc lập và chính xác) kèm power analysis exploratory. Theo yêu cầu của người dùng, abstract không còn nhắc so sánh pre-registered đầu tiên đã trượt; điều này vẫn được công bố ở C2 (Sec. 1), Sec. 6 và Sec. 8. Bỏ khỏi abstract (vẫn ở Sec. 1 và Sec. 6): định lý nhận dạng, kết quả bank, nhãn hai mode, Teapot, under-coverage. Không có số mới; không đổi verdict hay ngưỡng. `main.pdf` build sạch, 69 trang. Mục "One simulator" của Sec. 7 thêm hai câu nói rõ các ô danh nghĩa của Thí nghiệm 2 và 3 dùng đúng mô hình mà bước registration giả định, nên lợi ích ở đó không phải ước lượng cho field. Chưa sửa đoạn kết quả ở Sec. 1 và Sec. 8, vốn còn ký hiệu tương tự.
|
37. **Viết lại abstract (09/11/2026).** Người dùng nhận xét abstract quá dài, khó hiểu, dùng ký hiệu nội bộ (R10, $c = 1$) và có câu giống đang trò chuyện ("passed 9 of its 11 verdicts", "We make no field or calibration claim"). `paper/sections/00_abstract.tex` giảm từ 458 từ xuống 231 từ: R10 được thay bằng SNR 10 dB; bỏ mã nội bộ, số verdict và chi tiết cận classical/Berkson. Theo yêu cầu của người dùng, kết quả synthetic là một câu duy nhất, nêu giả định ở đầu câu (mô hình tie đúng, anchor dày có độ bất định đã biết) và không có caveat; việc phần lớn lợi ích đã có khi không drift và các trường hợp H2a trượt vẫn được công bố ở Sec. 6, 7 và 8. Được giữ: đoạn kết nêu field validation còn mở (F3, Volve không cải thiện nhất quán, quá ít giếng có reference độc lập và chính xác) kèm power analysis exploratory. Theo yêu cầu của người dùng, abstract không còn nhắc so sánh pre-registered đầu tiên đã trượt; điều này vẫn được công bố ở C2 (Sec. 1), Sec. 6 và Sec. 8. Bỏ khỏi abstract (vẫn ở Sec. 1 và Sec. 6): định lý nhận dạng, kết quả bank, nhãn hai mode, Teapot, under-coverage. Không có số mới; không đổi verdict hay ngưỡng. `main.pdf` build sạch, 69 trang. Mục "One simulator" của Sec. 7 thêm hai câu nói rõ các ô danh nghĩa của Thí nghiệm 2 và 3 dùng đúng mô hình mà bước registration giả định, nên lợi ích ở đó không phải ước lượng cho field. Chưa sửa đoạn kết quả ở Sec. 1 và Sec. 8, vốn còn ký hiệu tương tự.
|
||||||
38. **Viết lại toàn bộ bản thảo theo văn phong abstract (09/11/2026).** Người dùng thấy bài khó hiểu, nhất là các ký hiệu tự đặt (R10, R0, R0h...), và yêu cầu viết lại theo cách triển khai của abstract, survey cách viết của C&G, rồi cho 2 referee Fable kiểm tra. Cơ sở và bảng tên gọi: `docs/research/paper-style-survey.md`; mapping tên trong bài ↔ mã repo: `paper/README.md`. Thay đổi chính: (1) mã nội bộ trong văn bản, bảng và chú thích được thay bằng tên mô tả (10 dB, half-anchor, SMC mean, SMC bank, calibrated sonic...); config, output và code giữ nguyên mã. (2) Methods đứng trước Theory (Sec. 4 và 5; file đổi thành `04_method.tex`, `05_theory.tex`); thêm bảng kết quả lý thuyết `tab:theory` và bảng ký hiệu `tab:symbols`; gỡ ký hiệu trùng nghĩa ($\mathcal J$, $\ell_g$, $\omega$, $N_p$, $n_{\mathrm b}$, $\hat\sigma$, (A3), $\rho^\star_{\mathrm{cl}}$, $\rho^\star_{\mathrm{Bk}}$). (3) Thất bại đi kèm nguyên nhân và bài học (bảng `tab:lessons` ở Sec. 7). (4) Hồ sơ quy trình và kết quả phụ chuyển sang Phụ lục C (`C_record.tex`); dữ liệu Volve và Teapot chi tiết sang Phụ lục B. Thân bài từ 20.621 còn khoảng 16.000 từ (cùng cách đếm, không tính bảng và công thức). Sửa nội dung theo phản biện: nêu rõ hai quy tắc đạt (margin rule cho so với tie, no-margin rule cho bank claim, thực tế protocol đã dùng cell_pass không biên cho H2b nhưng bản cũ không nói); 'best point tie' đổi thành 'best deterministic tie' vì anchor mean nằm ngoài nhóm so sánh chính; định nghĩa calibration theo từng hàm $G$ (định nghĩa cũ không thỏa được với bank hữu hạn); ô $\rho^\star_{\mathrm{Bk}}$ ở $c = 2$ chuyển xuống chú thích vì bị khuếch đại sai số chi phối; '29–35%' sửa thành 30–35% (khớp `t2-results.md`); định nghĩa SNR và nhiễu; nêu $\sigma_b$ 19 ms khi sinh và 50 ms khi registration. Kiểm tra: 2 referee Fable độc lập. Vòng 1 cả hai 'major revision' (readability và concision trượt). Vòng 2 cả hai 'minor revision', đạt 5/5 tiêu chí; các điểm nhỏ còn lại đã sửa, không có vòng 3. Guard so với HEAD: không mất trích dẫn hay TODO; số biến mất chỉ thuộc phần đã cố ý bỏ (Bảng `tab:p1`, Hình `fig:f3vol`, thời điểm khóa F3, số inline 132); số mới duy nhất là 62.5 Hz dẫn xuất từ $1/(2\Delta)$. Không đổi verdict, ngưỡng hay protocol. `main.pdf` build sạch, 68 trang. **Còn lại:** (a) vẽ lại hình trên máy có `outputs/*/summary` (`scripts/22`, `scripts/38` đã đổi nhãn) rồi xóa các ghi chú đỏ `\figcodes`, chạy lại clean-room check; (b) panel phổ nhãn và nhánh $\lambda \to 0$ cần outputs hoặc chạy mới, hiện được công bố là giới hạn; (c) abstract: theo quyết định của người dùng ngày 09/11, đã thêm 'at frequencies below about 23 Hz' vào câu về thí nghiệm blur; đề nghị nhắc thất bại đầu tiên và thất bại về pha wavelet không được áp dụng; (d) survey chỉ tự đọc được 2 preprint và 36 abstract vì Elsevier chặn truy cập tự động; sau đó người dùng tải Baddeley et al. 2025 về `refs/`, đã đọc và ghi vào `docs/research/paper-style-survey.md` kèm ba gợi ý (đã áp dụng ở ý 39).
|
38. **Viết lại toàn bộ bản thảo theo văn phong abstract (09/11/2026).** Người dùng thấy bài khó hiểu, nhất là các ký hiệu tự đặt (R10, R0, R0h...), và yêu cầu viết lại theo cách triển khai của abstract, survey cách viết của C&G, rồi cho 2 referee Fable kiểm tra. Cơ sở và bảng tên gọi: `docs/research/paper-style-survey.md`; mapping tên trong bài ↔ mã repo: `paper/README.md`. Thay đổi chính: (1) mã nội bộ trong văn bản, bảng và chú thích được thay bằng tên mô tả (10 dB, half-anchor, SMC mean, SMC bank, calibrated sonic...); config, output và code giữ nguyên mã. (2) Methods đứng trước Theory (Sec. 4 và 5; file đổi thành `04_method.tex`, `05_theory.tex`); thêm bảng kết quả lý thuyết `tab:theory` và bảng ký hiệu `tab:symbols`; gỡ ký hiệu trùng nghĩa ($\mathcal J$, $\ell_g$, $\omega$, $N_p$, $n_{\mathrm b}$, $\hat\sigma$, (A3), $\rho^\star_{\mathrm{cl}}$, $\rho^\star_{\mathrm{Bk}}$). (3) Thất bại đi kèm nguyên nhân và bài học (bảng `tab:lessons` ở Sec. 7). (4) Hồ sơ quy trình và kết quả phụ chuyển sang Phụ lục C (`C_record.tex`); dữ liệu Volve và Teapot chi tiết sang Phụ lục B. Thân bài từ 20.621 còn khoảng 16.000 từ (cùng cách đếm, không tính bảng và công thức). Sửa nội dung theo phản biện: nêu rõ hai quy tắc đạt (margin rule cho so với tie, no-margin rule cho bank claim, thực tế protocol đã dùng cell_pass không biên cho H2b nhưng bản cũ không nói); 'best point tie' đổi thành 'best deterministic tie' vì anchor mean nằm ngoài nhóm so sánh chính; định nghĩa calibration theo từng hàm $G$ (định nghĩa cũ không thỏa được với bank hữu hạn); ô $\rho^\star_{\mathrm{Bk}}$ ở $c = 2$ chuyển xuống chú thích vì bị khuếch đại sai số chi phối; '29–35%' sửa thành 30–35% (khớp `t2-results.md`); định nghĩa SNR và nhiễu; nêu $\sigma_b$ 19 ms khi sinh và 50 ms khi registration. Kiểm tra: 2 referee Fable độc lập. Vòng 1 cả hai 'major revision' (readability và concision trượt). Vòng 2 cả hai 'minor revision', đạt 5/5 tiêu chí; các điểm nhỏ còn lại đã sửa, không có vòng 3. Guard so với HEAD: không mất trích dẫn hay TODO; số biến mất chỉ thuộc phần đã cố ý bỏ (Bảng `tab:p1`, Hình `fig:f3vol`, thời điểm khóa F3, số inline 132); số mới duy nhất là 62.5 Hz dẫn xuất từ $1/(2\Delta)$. Không đổi verdict, ngưỡng hay protocol. `main.pdf` build sạch, 68 trang. **Còn lại:** (a) vẽ lại hình trên máy có `outputs/*/summary` (`scripts/22`, `scripts/38` đã đổi nhãn) rồi xóa các ghi chú đỏ `\figcodes`, chạy lại clean-room check; (b) panel phổ nhãn và nhánh $\lambda \to 0$ cần outputs hoặc chạy mới, hiện được công bố là giới hạn; (c) abstract: theo quyết định của người dùng ngày 09/11, đã thêm 'at frequencies below about 23 Hz' vào câu về thí nghiệm blur; đề nghị nhắc thất bại đầu tiên và thất bại về pha wavelet không được áp dụng; (d) survey chỉ tự đọc được 2 preprint và 36 abstract vì Elsevier chặn truy cập tự động; sau đó người dùng tải Baddeley et al. 2025 về `refs/`, đã đọc và ghi vào `docs/research/paper-style-survey.md` kèm ba gợi ý (đã áp dụng ở ý 39).
|
||||||
39. **Chuyển phát biểu hình thức sang phụ lục, thêm ví dụ số và Practical advice (09/11/2026).** Sau khi đọc Baddeley et al. 2025 (`refs/baddeley2025.pdf`), người dùng chọn phương án rút gọn mạnh nhất. Sec. 5 giờ nói từng kết quả bằng lời và chỉ giữ các công thức cần dùng về sau; 6 mệnh đề, 4 hệ quả và 1 nhận xét chuyển nguyên văn sang Phụ lục A (nay là "Formal results and proofs"), đặt ngay trước chứng minh. Sec. 6.6 có ví dụ số cho cận sai số của reference (chỉ dùng số đã có); Sec. 7 có hai đoạn "Practical advice" thay cho các đoạn chọn bank, rủi ro $\sigma_a$ và yêu cầu field. Referee vòng 3: cả hai 'accept after minor corrections', đạt 5/5 tiêu chí; các sửa nhỏ cuối (chủ yếu thêm điều kiện đã bị lược ở bản nói bằng lời của Sec. 5) đã áp dụng và theo cả hai referee không cần đọc thêm. Không đổi verdict, ngưỡng hay protocol; không số mới. `main.pdf` build sạch, 69 trang, thân bài khoảng 15.400 từ.
|
39. **Chuyển phát biểu hình thức sang phụ lục, thêm ví dụ số và Practical advice (09/11/2026).** Sau khi đọc Baddeley et al. 2025 (`refs/baddeley2025.pdf`), người dùng chọn phương án rút gọn mạnh nhất. Sec. 5 giờ nói từng kết quả bằng lời và chỉ giữ các công thức cần dùng về sau; 6 mệnh đề, 4 hệ quả và 1 nhận xét chuyển nguyên văn sang Phụ lục A (nay là "Formal results and proofs"), đặt ngay trước chứng minh. Sec. 6.6 có ví dụ số cho cận sai số của reference (chỉ dùng số đã có); Sec. 7 có hai đoạn "Practical advice" thay cho các đoạn chọn bank, rủi ro $\sigma_a$ và yêu cầu field. Referee vòng 3: cả hai 'accept after minor corrections', đạt 5/5 tiêu chí; các sửa nhỏ cuối (chủ yếu thêm điều kiện đã bị lược ở bản nói bằng lời của Sec. 5) đã áp dụng và theo cả hai referee không cần đọc thêm. Không đổi verdict, ngưỡng hay protocol; không số mới. `main.pdf` build sạch, 69 trang, thân bài khoảng 15.400 từ.
|
||||||
|
40. **Vẽ lại hình theo tên mô tả; thêm bảng phổ trong dải (09/11/2026).** Đóng mục (a) và phần phổ nhãn của mục (b) trong phần "Còn lại" của ý 38. Chạy `scripts/22_paper_figures.py` và `scripts/38_bench_figures.py` từ các summary sẵn có: `p2_phase`, `p2r_grid`, `p2r_h2b`, `bench_s1`, `bench_s8` không còn mã nội bộ; so từng token với bản cũ, mọi số thập phân giữ nguyên (khác biệt chỉ là các số nguyên nằm trong nhãn, như 10, 0, 5 của tên kịch bản, và `1/B`, `M2` trong nhãn cũ). Chỉ sửa phần hiển thị trong `scripts/22`: nhãn −5 dB dùng mathtext vì font `cmr10` không có U+2212; nhãn ô của anchor mean trong `p2_phase` là "anchor" để không chồng lấn. Ba hình còn lại giống bản đã commit từng pixel nên giữ nguyên. Đã xóa 5 ghi chú `\figcodes` và macro. `main.pdf` build sạch, 68 trang, không có undefined reference. `scripts/39_repro_package.py verify` chạy lại (08:33–08:54 UTC; cây làm việc tại 8d5befb có thay đổi chưa commit): 12/12 bước exit 0, 63 file giống từng byte, 3 bằng về giá trị, không file nào khác, không đọc ra ngoài phòng sạch; 8 hình giống `paper/figures/` từng pixel; `repro/MANIFEST.json` và các archive không đổi. **Post hoc, mô tả, sau mọi verdict** (không theo protocol nào, không chọn gì theo các số này): `scripts/40_band_spectra.py` → `outputs/band_spectra/` so phân bố công suất trên 6 Hz trong cửa sổ 600–1100 ms, cùng cách ước lượng periodogram với script 31. Dưới 25 Hz: nhãn synthetic 72% (61–79% theo realization), dự đoán Oracle 73% ở 10 dB, nhãn `PHIE_DT` của F3 54% (46–68% theo giếng); tần số trung vị 13 Hz so với 23 Hz. Vậy việc công suất dồn về tần số thấp đã có sẵn trong nhãn synthetic, và nhãn F3 giàu tần số cao hơn; câu cũ ở Limitations quy điều này cho predictor nên đã viết lại, thêm bảng `tab:bandspectra` ở Phụ lục C. Chưa kiểm tra ảnh hưởng tới độ nhạy với sai số thời gian. Script và output này không nằm trong archive tái lập và không có bước verify. Không đổi số đã có, verdict, ngưỡng, protocol hay abstract. Còn lại từ ý 38: nhánh $\lambda \to 0$ (cần train mới; đã công bố ở Limitations).
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ with the `.venv`), except `bench_s1.pdf` and `bench_s8.pdf` (Experiment 3), whic
|
|||||||
| Sec. 6.5 S4 (TCN) | `outputs/bench/summary/{s4_cells,s4_h2a}.csv` |
|
| Sec. 6.5 S4 (TCN) | `outputs/bench/summary/{s4_cells,s4_h2a}.csv` |
|
||||||
| Sec. 6.5 S8, Table `tab:s8`, Fig. `fig:bench_s8` (two-mode reversal; flip-band means of PM2/BK2/HM2 against cos and cos²) | `outputs/bench/summary/{s8_cells,s8_transfer}.csv`, `s8_transfer_curves.json`; figure from `scripts/38_bench_figures.py --only bench_s8`; flip-band table (usable frequencies in 1/(2Δ) < f < 3/(2Δ)) printed by `scripts/38_bench_figures.py --flipband` (post hoc, not a verdict) |
|
| Sec. 6.5 S8, Table `tab:s8`, Fig. `fig:bench_s8` (two-mode reversal; flip-band means of PM2/BK2/HM2 against cos and cos²) | `outputs/bench/summary/{s8_cells,s8_transfer}.csv`, `s8_transfer_curves.json`; figure from `scripts/38_bench_figures.py --only bench_s8`; flip-band table (usable frequencies in 1/(2Δ) < f < 3/(2Δ)) printed by `scripts/38_bench_figures.py --flipband` (post hoc, not a verdict) |
|
||||||
| App. C, "Equal training budgets" | `outputs/bench/summary/equal_budget.csv` |
|
| App. C, "Equal training budgets" | `outputs/bench/summary/equal_budget.csv` |
|
||||||
|
| App. C, "Band content of labels and predictions", Table `tab:bandspectra`; Sec. 7, "Band of the benchmark" (shares below 25 Hz: 72% synthetic labels, 73% Oracle at 10 dB, 54% F3 with 46–68% over wells; 61–79% over realizations; post hoc, descriptive) | `outputs/band_spectra/{table.csv,groups.csv,meta.json}`, written by `python scripts/40_band_spectra.py` (seconds, CPU) from `outputs/f3_wells.npz` and the Oracle predictions and `y_true` in `outputs/p2r/train/<setting>/cells/r*_c1_n16.npz`. Both inputs are in the repro archives; the output is not, and no verify step reruns the script |
|
||||||
| Sec. 8 (availability: 630 tasks, 21 methods, scorer) | `benchmark/README.md`, `benchmark/MANIFEST.json`, `benchmark/reference/{cells.csv,main_table.md}` (`scripts/37_bench_package.py`); package `outputs/bench/package/` (Zenodo payload, not yet deposited) |
|
| Sec. 8 (availability: 630 tasks, 21 methods, scorer) | `benchmark/README.md`, `benchmark/MANIFEST.json`, `benchmark/reference/{cells.csv,main_table.md}` (`scripts/37_bench_package.py`); package `outputs/bench/package/` (Zenodo payload, not yet deposited) |
|
||||||
| Sec. 8 (availability: derived-data archives, licences, clean-room check) | `repro/README.md`, `repro/MANIFEST.json` (five archives, 11,112 files; `scripts/39_repro_package.py build`), `repro/verify_report.md` (`scripts/39_repro_package.py verify`); archives in `outputs/repro/` (not yet deposited) |
|
| Sec. 8 (availability: derived-data archives, licences, clean-room check) | `repro/README.md`, `repro/MANIFEST.json` (five archives, 11,112 files; `scripts/39_repro_package.py build`), `repro/verify_report.md` (`scripts/39_repro_package.py verify`); archives in `outputs/repro/` (not yet deposited) |
|
||||||
| App. A, Sec. 5 (proof review of 02/11/2026) | `docs/plan.md` §12 item 32; Vietnamese statements synced in `docs/theory.md` |
|
| App. A, Sec. 5 (proof review of 02/11/2026) | `docs/plan.md` §12 item 32; Vietnamese statements synced in `docs/theory.md` |
|
||||||
@@ -91,7 +92,7 @@ Since 09/11/2026 the paper uses descriptive names (`docs/research/paper-style-su
|
|||||||
| bounds ρ*_cl, ρ*_Bk | 1/B_a, 1/B_b |
|
| bounds ρ*_cl, ρ*_Bk | 1/B_a, 1/B_b |
|
||||||
| assumption (A3); N_p particles; n* blind wells; tie tempering ω = 1/ν | (B); P; N*; γ = 1/κ |
|
| assumption (A3); N_p particles; n* blind wells; tie tempering ω = 1/ν | (B); P; N*; γ = 1/κ |
|
||||||
|
|
||||||
**Figures.** `scripts/22_paper_figures.py` and `scripts/38_bench_figures.py` now draw these names, but they need `outputs/*/summary`, which is not on the machine where the rewrite was done. Until `python scripts/22_paper_figures.py && python scripts/38_bench_figures.py` is run on a machine with the outputs, the PDFs in `figures/` still show codes, and the red `\figcodes` notes in the captions say so; delete those notes after regenerating. The clean-room check of `scripts/39_repro_package.py` compares figures pixel by pixel, so rerun it after the regeneration.
|
**Figures.** Regenerated on 09/11/2026 on a machine with the outputs: `p2_phase`, `p2r_grid`, `p2r_h2b`, `bench_s1` and `bench_s8` show the descriptive names, and the `\figcodes` caption notes and macro were removed (`docs/plan.md` §12 item 40). Short names in the cells of `p2_phase`: "corr. tie" = correlation tie, "anchor" = anchor mean. The other three figures are pixel-identical to their committed versions and were left unchanged. The clean-room check of `scripts/39_repro_package.py` compares figures pixel by pixel, so rerun it after any later regeneration.
|
||||||
|
|
||||||
Do not copy numbers from `code_thesis/` (thesis archive) into the paper. P4x was dropped on 29/10/2026 (Pivot 1, `docs/plan.md` §12 item 22): nothing from `outputs/p4x/` or `docs/research/p4-exploratory.md` enters the paper.
|
Do not copy numbers from `code_thesis/` (thesis archive) into the paper. P4x was dropped on 29/10/2026 (Pivot 1, `docs/plan.md` §12 item 22): nothing from `outputs/p4x/` or `docs/research/p4-exploratory.md` enters the paper.
|
||||||
Wording must respect `docs/plan.md` §10 (forbidden claims).
|
Wording must respect `docs/plan.md` §10 (forbidden claims).
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -51,7 +51,6 @@
|
|||||||
\newcommand{\rhoCl}{\rho^\star_{\mathrm{cl}}} % population bound for classical tie error (1/B_a in the protocol)
|
\newcommand{\rhoCl}{\rho^\star_{\mathrm{cl}}} % population bound for classical tie error (1/B_a in the protocol)
|
||||||
\newcommand{\rhoBk}{\rho^\star_{\mathrm{Bk}}} % population bound for Berkson tie error (1/B_b in the scripts)
|
\newcommand{\rhoBk}{\rho^\star_{\mathrm{Bk}}} % population bound for Berkson tie error (1/B_b in the scripts)
|
||||||
% Remove once the figures are regenerated with the word labels in scripts/22 and scripts/38
|
% Remove once the figures are regenerated with the word labels in scripts/22 and scripts/38
|
||||||
\newcommand{\figcodes}[1]{\todo{Panel labels still show run codes (#1); regenerate the figure.}}
|
|
||||||
|
|
||||||
\theoremstyle{plain}
|
\theoremstyle{plain}
|
||||||
\newtheorem{proposition}{Proposition}
|
\newtheorem{proposition}{Proposition}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ No cell at $c = 1$ passed. The ratio of the bank to the best competitor (the cor
|
|||||||
\begin{figure}[t]
|
\begin{figure}[t]
|
||||||
\centering
|
\centering
|
||||||
\includegraphics[width=\linewidth]{p2_phase.pdf}
|
\includegraphics[width=\linewidth]{p2_phase.pdf}
|
||||||
\caption{Experiment 1. (a) Band RMSE of the reweighted anchor bank divided by that of the best competitor, and (b) band PCC difference, over drift factor $c$ and number of training wells $N$. Cells show the mean over 8 realizations $\times$ 5 seeds, the 95\% bootstrap interval over realizations, and, in (a), the best competitor and whether the cell passed the margin rule. The outlined row ($c = 1$) is the F3-like drift level. \figcodes{B3b is the calibrated sonic; B3c the correlation tie; B3d the anchor mean}}
|
\caption{Experiment 1. (a) Band RMSE of the reweighted anchor bank divided by that of the best competitor, and (b) band PCC difference, over drift factor $c$ and number of training wells $N$. Cells show the mean over 8 realizations $\times$ 5 seeds, the 95\% bootstrap interval over realizations, and, in (a), the best competitor and whether the cell passed the margin rule. The outlined row ($c = 1$) is the F3-like drift level.}
|
||||||
\label{fig:p2phase}
|
\label{fig:p2phase}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
|
|
||||||
@@ -149,7 +149,7 @@ two-anchor & 2$^\dagger$ & 11.49 & 0.667 & [0.615, 0.713] & 0.634$^\ddagger$ & -
|
|||||||
\begin{figure}[t]
|
\begin{figure}[t]
|
||||||
\centering
|
\centering
|
||||||
\includegraphics[width=\linewidth]{p2r_h2b.pdf}
|
\includegraphics[width=\linewidth]{p2r_h2b.pdf}
|
||||||
\caption{Bank claim. (a) Band RMSE of the \mRML{} divided by that of the \mPM{} against the posterior width $\sigpost$, for every setting $\times$ $c$ $\times$ $N$ cell (filled: $N = 16$; open: $N = 4$; marker shape: drift factor $c$). Bars are 95\% bootstrap intervals over realizations. The dashed line is the pre-registered 1.5\,ms threshold for wide cells. (b) The same ratio against the classical bound $\rhoCl(\sigpost)$. Cells below the diagonal gained more than removing a classical population blur could give. The Berkson bound $\rhoBk$ is lower, and at $N = 16$ only three wide cells, all at $c = 1$, lie below it (Table~\ref{tab:h2b}). For the two-anchor setting at $c = 2$ the bound is evaluated at the 6\,ms edge of its grid. \figcodes{M2-Sa is the \mRML{}; B3d-Sa the \mPM{}; $1/B$ is $\rhoCl$}}
|
\caption{Bank claim. (a) Band RMSE of the \mRML{} divided by that of the \mPM{} against the posterior width $\sigpost$, for every setting $\times$ $c$ $\times$ $N$ cell (filled: $N = 16$; open: $N = 4$; marker shape: drift factor $c$). Bars are 95\% bootstrap intervals over realizations. The dashed line is the pre-registered 1.5\,ms threshold for wide cells. (b) The same ratio against the classical bound $\rhoCl(\sigpost)$. Cells below the diagonal gained more than removing a classical population blur could give. The Berkson bound $\rhoBk$ is lower, and at $N = 16$ only three wide cells, all at $c = 1$, lie below it (Table~\ref{tab:h2b}). For the two-anchor setting at $c = 2$ the bound is evaluated at the 6\,ms edge of its grid.}
|
||||||
\label{fig:h2b}
|
\label{fig:h2b}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
|
|
||||||
@@ -167,7 +167,7 @@ At $c = 1$, $N = 16$, the 90\% coverage of the SMC warp posterior was 0.89 at 10
|
|||||||
\begin{figure}[t]
|
\begin{figure}[t]
|
||||||
\centering
|
\centering
|
||||||
\includegraphics[width=\linewidth]{p2r_grid.pdf}
|
\includegraphics[width=\linewidth]{p2r_grid.pdf}
|
||||||
\caption{Experiment 2 overview. Band RMSE of each method divided by that of the Oracle (true warp), by observation setting and drift factor $c$, for (a) $N = 4$ and (b) $N = 16$ training wells. Each entry is the mean over 8 realizations $\times$ 5 seeds. The colour scale is clipped at 2.0; the two-anchor setting at $c = 2$ reaches 3.15. \figcodes{R10, R0, Rm5 are 10, 0, $-5$\,dB; R0h half-anchor; R10tb two-anchor; B3b calibrated sonic; B3c correlation tie; B3c-R phase-estimated correlation; B3d anchor mean; B3d-Sa \mPM{}; M2-Sa \mRML{}}}
|
\caption{Experiment 2 overview. Band RMSE of each method divided by that of the Oracle (true warp), by observation setting and drift factor $c$, for (a) $N = 4$ and (b) $N = 16$ training wells. Each entry is the mean over 8 realizations $\times$ 5 seeds. The colour scale is clipped at 2.0; the two-anchor setting at $c = 2$ reaches 3.15.}
|
||||||
\label{fig:p2rgrid}
|
\label{fig:p2rgrid}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
|
|
||||||
@@ -278,7 +278,7 @@ In all 13 families (setting, $c$) whose $N = 16$ cell is wide, the ratio \mRML{}
|
|||||||
\begin{figure}[!htbp]
|
\begin{figure}[!htbp]
|
||||||
\centering
|
\centering
|
||||||
\includegraphics[width=\linewidth]{bench_s1.pdf}
|
\includegraphics[width=\linewidth]{bench_s1.pdf}
|
||||||
\caption{Drift--well-count grid over drift factor $c$ and number of training wells $N$, by observation setting. (a) Band RMSE of the \mPM{} divided by that of the best deterministic tie. (b) Band RMSE of the \mRML{} divided by that of the \mPM{}. Entries are means over 8 realizations $\times$ 5 seeds; values in parentheses fail the no-margin rule. Outlined cells in (b) are wide ($\sigpost \ge 1.5$\,ms). Cells at $c \in \{0, 1, 2\}$, $N \in \{4, 16\}$ are those of Experiment~2. Cells at $c = 2$ have an unstable posterior. \figcodes{R10, R0, Rm5 are 10, 0, $-5$\,dB; R0h half-anchor; R10tb two-anchor; B3d-Sa \mPM{}; M2-Sa \mRML{}}}
|
\caption{Drift--well-count grid over drift factor $c$ and number of training wells $N$, by observation setting. (a) Band RMSE of the \mPM{} divided by that of the best deterministic tie. (b) Band RMSE of the \mRML{} divided by that of the \mPM{}. Entries are means over 8 realizations $\times$ 5 seeds; values in parentheses fail the no-margin rule. Outlined cells in (b) are wide ($\sigpost \ge 1.5$\,ms). Cells at $c \in \{0, 1, 2\}$, $N \in \{4, 16\}$ are those of Experiment~2. Cells at $c = 2$ have an unstable posterior.}
|
||||||
\label{fig:bench_s1}
|
\label{fig:bench_s1}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
|
|
||||||
@@ -349,7 +349,7 @@ $-5$\,dB & 32 & 1.46 / 1.64 & 0.80 / 0.64 & 0.635 [0.609, 0.673]$^\ast$ & 0.82 /
|
|||||||
\begin{figure}[!htbp]
|
\begin{figure}[!htbp]
|
||||||
\centering
|
\centering
|
||||||
\includegraphics[width=\linewidth]{bench_s8.pdf}
|
\includegraphics[width=\linewidth]{bench_s8.pdf}
|
||||||
\caption{Two-mode study at $N = 16$: measured transfer $\hat H(f)$ of the midpoint label (modes $\Delta$ apart), the two-member bank containing the true warp, and the two-member hard-min, relative to the Oracle, pooled over test wells, realizations and seeds, for (a) 10\,dB and (b) $-5$\,dB. Curves are shown at the usable frequencies (Oracle cross-spectrum at least 10\% of its maximum above 6\,Hz). Dashed: $\cos(\pi f\Delta)$ (Corollary~\ref{cor:twomode}). Shaded: the band $1/(2\Delta) < f < 3/(2\Delta)$ in which the transfer of the midpoint label is negative. \figcodes{R10 and Rm5 are 10 and $-5$\,dB; PM2 midpoint label; BK2 two-member bank; HM2 two-member hard-min}}
|
\caption{Two-mode study at $N = 16$: measured transfer $\hat H(f)$ of the midpoint label (modes $\Delta$ apart), the two-member bank containing the true warp, and the two-member hard-min, relative to the Oracle, pooled over test wells, realizations and seeds, for (a) 10\,dB and (b) $-5$\,dB. Curves are shown at the usable frequencies (Oracle cross-spectrum at least 10\% of its maximum above 6\,Hz). Dashed: $\cos(\pi f\Delta)$ (Corollary~\ref{cor:twomode}). Shaded: the band $1/(2\Delta) < f < 3/(2\Delta)$ in which the transfer of the midpoint label is negative.}
|
||||||
\label{fig:bench_s8}
|
\label{fig:bench_s8}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
|
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ The two field cases meet none of the four. Neither F3 nor Volve is evidence agai
|
|||||||
\paragraph{Limitations.}
|
\paragraph{Limitations.}
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
\item \textbf{One simulator.} In the nominal cells the data follow the rock physics and the warp-prior family that the registration assumes, with a registration prior on the bulk offset wider than the truth, so the gains there are not estimates of the gains to expect on field data. Every confirmatory result comes from one generator family with statistics estimated on F3. Lateral heterogeneity, multiples, anisotropy and non-stationary noise were not simulated, and the misspecification levels are not calibrated to any field.
|
\item \textbf{One simulator.} In the nominal cells the data follow the rock physics and the warp-prior family that the registration assumes, with a registration prior on the bulk offset wider than the truth, so the gains there are not estimates of the gains to expect on field data. Every confirmatory result comes from one generator family with statistics estimated on F3. Lateral heterogeneity, multiples, anisotropy and non-stationary noise were not simulated, and the misspecification levels are not calibrated to any field.
|
||||||
\item \textbf{Band of the benchmark.} The learned predictors have coherent power mostly below about 25\,Hz, whereas the F3 seismic peaks near 60\,Hz. The measured sensitivities to timing error may therefore understate what a label with more high-frequency content would suffer.
|
\item \textbf{Band of the benchmark.} In the benchmark, 72\% of the band power of the synthetic labels and 73\% of that of the Oracle predictions at 10\,dB lies below 25\,Hz, so the low-frequency concentration of the predictions is already present in the labels. The F3 $\mathrm{PHIE}_{\mathrm{DT}}$ labels are richer in high frequencies, with 54\% below 25\,Hz (46--68\% across the four wells), and the F3 seismic peaks near 60\,Hz (Table~\ref{tab:bandspectra}; post hoc and descriptive). The measured sensitivities to timing error may therefore understate what a label with more high-frequency content would suffer. We did not test this.
|
||||||
\item \textbf{Dependence between tests.} Experiment~2 was designed after Experiment~1 had failed. Experiment~3 reuses its test realizations and SMC particles and was designed after the field tests and post hoc analyses. F3 also supplied the statistics of the generator, and the Volve test was designed after the F3 test had failed.
|
\item \textbf{Dependence between tests.} Experiment~2 was designed after Experiment~1 had failed. Experiment~3 reuses its test realizations and SMC particles and was designed after the field tests and post hoc analyses. F3 also supplied the statistics of the generator, and the Volve test was designed after the F3 test had failed.
|
||||||
\item \textbf{The $\lambda \to 0$ objective was not trained.} Every bank used $\lambda = 1/\tau_c$, where RML is not near the limit analysed in Section~\ref{sec:theory:post}, and neither MSE on the bank-mean label nor the $\lambda \to 0$ loss was run. The tempering is a heuristic fixed in advance.
|
\item \textbf{The $\lambda \to 0$ objective was not trained.} Every bank used $\lambda = 1/\tau_c$, where RML is not near the limit analysed in Section~\ref{sec:theory:post}, and neither MSE on the bank-mean label nor the $\lambda \to 0$ loss was run. The tempering is a heuristic fixed in advance.
|
||||||
\item \textbf{Strong drift.} At $c = 2$ the mean warp of the SMC posterior was unstable between runs and the posterior was often multimodal. These cells are not primary evidence for the posterior-mean claim.
|
\item \textbf{Strong drift.} At $c = 2$ the mean warp of the SMC posterior was unstable between runs and the posterior was often multimodal. These cells are not primary evidence for the posterior-mean claim.
|
||||||
|
|||||||
@@ -62,3 +62,26 @@ At $\Delta = 8$\,ms, which is descriptive, the two-member bank was better than t
|
|||||||
|
|
||||||
\paragraph{Equal training budgets.}
|
\paragraph{Equal training budgets.}
|
||||||
Every method's training trajectory was also evaluated at 500 iterations, in the cells run in Experiment~3. No verdict-level result changed direction. The no-margin rule for \mRML{}/\mPM{} changed outcome in 14 of the 70 cells of the drift--well-count grid evaluated, all with ratios between 0.97 and 1.01 at both budgets. At 10\,dB, $c = 1.5$, \mPM{}/best deterministic tie was 0.867 and 0.793. At 10\,dB, $c = 1$, it was 0.944 and 0.920 under mild rock-physics error and 1.020 and 1.042 under the mild wavelet phase, so the misspecification failures are not caused by the training length. With the TCN at 10\,dB it was 0.864 and 0.813. The bank gain changed in narrow cells: at 10\,dB, $c = 1.5$, \mRML{}/\mPM{} was 0.997 and 0.999, against 0.978 and 0.987 at the pre-registered budgets. In wide cells it remained (two-anchor setting, $c = 1.5$: 0.916 and 0.747). The ratio of the two-member bank to the midpoint label changed by at most 0.013 (at most 0.01 at $\Delta \in \{16, 32\}$\,ms).
|
Every method's training trajectory was also evaluated at 500 iterations, in the cells run in Experiment~3. No verdict-level result changed direction. The no-margin rule for \mRML{}/\mPM{} changed outcome in 14 of the 70 cells of the drift--well-count grid evaluated, all with ratios between 0.97 and 1.01 at both budgets. At 10\,dB, $c = 1.5$, \mPM{}/best deterministic tie was 0.867 and 0.793. At 10\,dB, $c = 1$, it was 0.944 and 0.920 under mild rock-physics error and 1.020 and 1.042 under the mild wavelet phase, so the misspecification failures are not caused by the training length. With the TCN at 10\,dB it was 0.864 and 0.813. The bank gain changed in narrow cells: at 10\,dB, $c = 1.5$, \mRML{}/\mPM{} was 0.997 and 0.999, against 0.978 and 0.987 at the pre-registered budgets. In wide cells it remained (two-anchor setting, $c = 1.5$: 0.916 and 0.747). The ratio of the two-member bank to the midpoint label changed by at most 0.013 (at most 0.01 at $\Delta \in \{16, 32\}$\,ms).
|
||||||
|
|
||||||
|
\paragraph{Band content of labels and predictions.}
|
||||||
|
This comparison is post hoc and descriptive: it was made after every verdict and enters no rule. Table~\ref{tab:bandspectra} gives the distribution of power above 6\,Hz in the 600--1100\,ms window. The Oracle predictions have almost the same distribution as the synthetic labels. The F3 $\mathrm{PHIE}_{\mathrm{DT}}$ labels have more power at high frequency: 54\% of their band power lies below 25\,Hz (46--68\% across the four wells), against 72\% for the synthetic labels (61--79\% across realizations). Four short well windows do not define a spectrum for F3, and part of the high-frequency power of a sonic-derived label may be unrelated to the seismic.
|
||||||
|
|
||||||
|
\begin{table}[t]
|
||||||
|
\centering
|
||||||
|
\caption{Band content of the labels and of the Oracle predictions (post hoc, descriptive). Percentage of the power above 6\,Hz in each frequency bin, from the mean periodogram over traces (600--1100\,ms, 4\,ms sampling); median: frequency below which half of that power lies; band RMS: RMS of the part above 6\,Hz. F3: marker-calibrated $\mathrm{PHIE}_{\mathrm{DT}}$ at the four wells. Synthetic: true labels of the test wells (8 realizations $\times$ 8 wells), identical for all observation settings and drift factors. Oracle: test predictions at $N = 16$, $c = 1$ (8 realizations $\times$ 5 seeds).}
|
||||||
|
\label{tab:bandspectra}
|
||||||
|
\small
|
||||||
|
\begin{tabular}{lccccccc}
|
||||||
|
\toprule
|
||||||
|
& band RMS & \multicolumn{5}{c}{share of band power (\%), by frequency (Hz)} & median \\
|
||||||
|
\cmidrule(lr){3-7}
|
||||||
|
Source & (p.u.) & 6--15 & 15--25 & 25--40 & 40--60 & $>$60 & (Hz) \\
|
||||||
|
\midrule
|
||||||
|
F3 label, $\mathrm{PHIE}_{\mathrm{DT}}$ & 1.25 & 32 & 22 & 17 & 17 & 12 & 23 \\
|
||||||
|
Synthetic label & 1.46 & 53 & 19 & 12 & 9 & 7 & 13 \\
|
||||||
|
Oracle prediction, 10\,dB & 1.37 & 53 & 20 & 13 & 9 & 6 & 13 \\
|
||||||
|
Oracle prediction, 0\,dB & 1.27 & 53 & 20 & 13 & 9 & 6 & 13 \\
|
||||||
|
Oracle prediction, $-5$\,dB & 1.16 & 52 & 20 & 13 & 9 & 6 & 14 \\
|
||||||
|
\bottomrule
|
||||||
|
\end{tabular}
|
||||||
|
\end{table}
|
||||||
|
|||||||
@@ -342,7 +342,7 @@ const PHASES = [
|
|||||||
{id:"P7", name:"P7 Review và nộp", start:"2026-11-11", end:"2026-11-14", weeks:"T4–T7 11–14/11",
|
{id:"P7", name:"P7 Review và nộp", start:"2026-11-11", end:"2026-11-14", weeks:"T4–T7 11–14/11",
|
||||||
out:"bản nộp", gate:null,
|
out:"bản nộp", gate:null,
|
||||||
tasks:[
|
tasks:[
|
||||||
{id:"p7-rev", t:"Review nội bộ; hình; phụ lục chứng minh; gói tái lập", s:"todo", n:"T4 11/11 – T5 12/11. Phụ lục chứng minh rà xong 02/11, gói tái lập dựng xong 02/11. Rà soát chống hallucination toàn bài xong sớm 04/11 (plan §12 ý 36; <a href=\"docs/research/paper-audit.md\">biên bản</a>): 87 phát hiện, 4 lỗi S1, đều đã sửa; không verdict nào đổi. Còn mở cho tác giả: G1-14, 7 PDF thiếu, licence Volve, null Rm5."},
|
{id:"p7-rev", t:"Review nội bộ; hình; phụ lục chứng minh; gói tái lập", s:"todo", n:"T4 11/11 – T5 12/11. Phụ lục chứng minh rà xong 02/11, gói tái lập dựng xong 02/11. Rà soát chống hallucination toàn bài xong sớm 04/11 (plan §12 ý 36; <a href=\"docs/research/paper-audit.md\">biên bản</a>): 87 phát hiện, 4 lỗi S1, đều đã sửa; không verdict nào đổi. Còn mở cho tác giả: G1-14, 7 PDF thiếu, licence Volve, null Rm5. Năm hình còn mã cũ đã vẽ lại theo tên mô tả ngày 09/11; clean-room check chạy lại đạt 12/12 (plan §12 ý 40)."},
|
||||||
{id:"p7-nov", t:"Kiểm tra tính mới lần cuối, tra quartile, đăng preprint", s:"todo", n:"T6 13/11. Quét sơ bộ xong 02/11 (plan §12 ý 31): không bài nào đưa bất định tie vào huấn luyện; thêm Herrera 2014, Autotie 2026 (chỉ abstract) và Castagna 2026 (đọc toàn văn 02/11, plan §12 ý 33). Ngày 13/11: quét lại; abstract IMAGE 2026 của Palavicini Gurria; DOI Quesada 2024."},
|
{id:"p7-nov", t:"Kiểm tra tính mới lần cuối, tra quartile, đăng preprint", s:"todo", n:"T6 13/11. Quét sơ bộ xong 02/11 (plan §12 ý 31): không bài nào đưa bất định tie vào huấn luyện; thêm Herrera 2014, Autotie 2026 (chỉ abstract) và Castagna 2026 (đọc toàn văn 02/11, plan §12 ý 33). Ngày 13/11: quét lại; abstract IMAGE 2026 của Palavicini Gurria; DOI Quesada 2024."},
|
||||||
{id:"p7-sub", t:"Nộp Computers & Geosciences", s:"todo", n:"T7 14/11."}
|
{id:"p7-sub", t:"Nộp Computers & Geosciences", s:"todo", n:"T7 14/11."}
|
||||||
]}
|
]}
|
||||||
@@ -594,6 +594,7 @@ const LOG = [
|
|||||||
["2026-11-09","Viết lại abstract cho người đọc ngoài dự án (plan §12 ý 37): còn 231 từ, bỏ mã nội bộ và số verdict; không có số mới, verdict không đổi. Sec. 7 nói rõ các ô danh nghĩa dùng đúng mô hình mà bước tie giả định."],
|
["2026-11-09","Viết lại abstract cho người đọc ngoài dự án (plan §12 ý 37): còn 231 từ, bỏ mã nội bộ và số verdict; không có số mới, verdict không đổi. Sec. 7 nói rõ các ô danh nghĩa dùng đúng mô hình mà bước tie giả định."],
|
||||||
["2026-11-09","Viết lại toàn bộ bản thảo theo văn phong abstract (plan §12 ý 38): bỏ mã nội bộ, Methods trước Theory, thêm Phụ lục C và bảng bài học từ thất bại. Hai referee Fable: vòng 1 major revision, vòng 2 minor revision và đạt 5/5 tiêu chí. Không đổi verdict hay ngưỡng. Bài 68 trang; còn phải vẽ lại hình trên máy có outputs."],
|
["2026-11-09","Viết lại toàn bộ bản thảo theo văn phong abstract (plan §12 ý 38): bỏ mã nội bộ, Methods trước Theory, thêm Phụ lục C và bảng bài học từ thất bại. Hai referee Fable: vòng 1 major revision, vòng 2 minor revision và đạt 5/5 tiêu chí. Không đổi verdict hay ngưỡng. Bài 68 trang; còn phải vẽ lại hình trên máy có outputs."],
|
||||||
["2026-11-09","Chuyển phát biểu hình thức của phần lý thuyết sang Phụ lục A, thêm ví dụ số ở Sec. 6.6 và Practical advice ở Sec. 7 (plan §12 ý 39). Referee vòng 3: cả hai accept sau sửa nhỏ, đạt 5/5 tiêu chí; đã áp dụng. Bài 69 trang, thân bài khoảng 15.400 từ. Không đổi verdict hay ngưỡng."],
|
["2026-11-09","Chuyển phát biểu hình thức của phần lý thuyết sang Phụ lục A, thêm ví dụ số ở Sec. 6.6 và Practical advice ở Sec. 7 (plan §12 ý 39). Referee vòng 3: cả hai accept sau sửa nhỏ, đạt 5/5 tiêu chí; đã áp dụng. Bài 69 trang, thân bài khoảng 15.400 từ. Không đổi verdict hay ngưỡng."],
|
||||||
|
["2026-11-09","Vẽ lại p2_phase, p2r_grid, p2r_h2b, bench_s1, bench_s8 theo tên mô tả; số trong hình không đổi; xóa 5 ghi chú figcodes và macro; paper build sạch, 68 trang. Clean-room check: 12/12 bước exit 0, 63 file giống từng byte, 3 bằng về giá trị, không file nào khác; MANIFEST và archive không đổi. Thêm bảng post hoc tab:bandspectra (scripts/40_band_spectra.py): dưới 25 Hz có 72% công suất nhãn synthetic, 73% dự đoán Oracle ở 10 dB, 54% nhãn PHIE_DT của F3 (46–68% theo giếng); viết lại mục Band of the benchmark. Không đổi verdict, ngưỡng, protocol hay abstract (plan §12 ý 40)."],
|
||||||
];
|
];
|
||||||
/* ===================== HẾT DATA ===================== */
|
/* ===================== HẾT DATA ===================== */
|
||||||
|
|
||||||
|
|||||||
@@ -158,8 +158,8 @@ CUDA_VISIBLE_DEVICES= OMP_NUM_THREADS=2 MKL_NUM_THREADS=2 OPENBLAS_NUM_THREADS=2
|
|||||||
| figures_bench | `scripts/38_bench_figures.py` | `bench_s1.pdf`, `bench_s8.pdf` |
|
| figures_bench | `scripts/38_bench_figures.py` | `bench_s1.pdf`, `bench_s8.pdf` |
|
||||||
| s8_flipband | `scripts/38_bench_figures.py --flipband` | the cos/cos² table of the S8 discussion (stdout) |
|
| s8_flipband | `scripts/38_bench_figures.py --flipband` | the cos/cos² table of the S8 discussion (stdout) |
|
||||||
|
|
||||||
Result of the run of 2026-11-02 (04:24–04:44 UTC, 20 min on CPU; working tree at 2e4f618 with the uncommitted
|
Result of the latest run, 2026-11-09 (08:33–08:54 UTC, 21 min on CPU; working tree at 8d5befb with the figure
|
||||||
changes of that day), in [`verify_report.md`](verify_report.md): all twelve stages exit 0, and no stage reads a file
|
relabelling not yet committed), in [`verify_report.md`](verify_report.md): all twelve stages exit 0, and no stage reads a file
|
||||||
outside the clean room. Of the 66 files they rewrite, 63 are identical in bytes (the eight manuscript figures:
|
outside the clean room. Of the 66 files they rewrite, 63 are identical in bytes (the eight manuscript figures:
|
||||||
identical pixels at 110 dpi) and 3 are equal in value: two gzip tables with zero difference, and
|
identical pixels at 110 dpi) and 3 are equal in value: two gzip tables with zero difference, and
|
||||||
`outputs/bench/summary/verdict.json`, which differs only in the clean-room path it records. The 8 new files are
|
`outputs/bench/summary/verdict.json`, which differs only in the clean-room path it records. The 8 new files are
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Clean-room verification of the reproduction package
|
# Clean-room verification of the reproduction package
|
||||||
|
|
||||||
Written by `scripts/39_repro_package.py verify` (2026-11-02T04:24:29+00:00 → 2026-11-02T04:44:15+00:00). Code: 332 files of the working tree at 2e4f618947 with uncommitted changes; package: 11112 files from the archives listed in `repro/MANIFEST.json`; Python 3.13.15, CPU only. No SEG-Y, Volve or Teapot raw data in the clean room; the F3 well files tracked in git are present.
|
Written by `scripts/39_repro_package.py verify` (2026-11-09T08:33:38+00:00 → 2026-11-09T08:54:41+00:00). Code: 356 files of the working tree at 8d5befb412 with uncommitted changes; package: 11112 files from the archives listed in `repro/MANIFEST.json`; Python 3.13.15, CPU only. No SEG-Y, Volve or Teapot raw data in the clean room; the F3 well files tracked in git are present.
|
||||||
|
|
||||||
Status of a rewritten file: identical = same bytes as the original; equal = same values (csv/json/npz within 1e-9 relative, or bytes equal once the clean-room path is replaced by the original one; figures with < 0.01% differing pixels at 110 dpi); differs = see detail; missing = expected but not rewritten; new = written by the step but not part of the package. Reads are those of files under outputs/ (package) and data/ (tracked F3 well files); a read of the original repository would mean the clean room leaked.
|
Status of a rewritten file: identical = same bytes as the original; equal = same values (csv/json/npz within 1e-9 relative, or bytes equal once the clean-room path is replaced by the original one; figures with < 0.01% differing pixels at 110 dpi); differs = see detail; missing = expected but not rewritten; new = written by the step but not part of the package. Reads are those of files under outputs/ (package) and data/ (tracked F3 well files); a read of the original repository would mean the clean room leaked.
|
||||||
|
|
||||||
@@ -8,15 +8,15 @@ Status of a rewritten file: identical = same bytes as the original; equal = same
|
|||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|---|---|---|---|---|---|---|---|---|---|---|
|
||||||
| p1_summary | `python scripts/06_summarize_p1.py` | 0 | 2 | 2 | 0 | 0 | 0 | 1 | 0 | 0 |
|
| p1_summary | `python scripts/06_summarize_p1.py` | 0 | 2 | 2 | 0 | 0 | 0 | 1 | 0 | 0 |
|
||||||
| p2_summary | `python scripts/13_summarize_p2.py --mode main` | 0 | 8 | 9 | 0 | 0 | 0 | 4 | 0 | 0 |
|
| p2_summary | `python scripts/13_summarize_p2.py --mode main` | 0 | 8 | 9 | 0 | 0 | 0 | 4 | 0 | 0 |
|
||||||
| p2r_summary | `python scripts/18_summarize_p2r.py` | 0 | 220 | 9 | 0 | 0 | 0 | 0 | 0 | 0 |
|
| p2r_summary | `python scripts/18_summarize_p2r.py` | 0 | 224 | 9 | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||||
| p2r_posthoc | `python scripts/31_p2r_posthoc.py` | 0 | 92 | 3 | 0 | 0 | 0 | 0 | 0 | 0 |
|
| p2r_posthoc | `python scripts/31_p2r_posthoc.py` | 0 | 94 | 3 | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||||
| t4_coverage | `python scripts/30_t4_coverage.py` | 0 | 26 | 4 | 1 | 0 | 0 | 0 | 0 | 0 |
|
| t4_coverage | `python scripts/30_t4_coverage.py` | 0 | 23 | 4 | 1 | 0 | 0 | 0 | 0 | 0 |
|
||||||
| t3_power | `python scripts/27_t3_power.py` | 0 | 758 | 4 | 1 | 0 | 0 | 0 | 0 | 0 |
|
| t3_power | `python scripts/27_t3_power.py` | 0 | 785 | 4 | 1 | 0 | 0 | 0 | 0 | 0 |
|
||||||
| bench_summarize | `python scripts/34_run_bench.py summarize` | 0 | 24 | 18 | 1 | 0 | 0 | 0 | 0 | 0 |
|
| bench_summarize | `python scripts/34_run_bench.py summarize` | 0 | 33 | 18 | 1 | 0 | 0 | 0 | 0 | 0 |
|
||||||
| bench_verdicts | `python scripts/36_bench_verdicts.py` | 0 | 9 | 3 | 0 | 0 | 0 | 0 | 0 | 0 |
|
| bench_verdicts | `python scripts/36_bench_verdicts.py` | 0 | 26 | 3 | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||||
| bench_tables | `python scripts/37_bench_package.py tables --out outputs/bench/package` | 0 | 13 | 2 | 0 | 0 | 0 | 3 | 0 | 0 |
|
| bench_tables | `python scripts/37_bench_package.py tables --out outputs/bench/package` | 0 | 27 | 2 | 0 | 0 | 0 | 3 | 0 | 0 |
|
||||||
| figures_main | `python scripts/22_paper_figures.py` | 0 | 5 | 6 | 0 | 0 | 0 | 0 | 0 | 0 |
|
| figures_main | `python scripts/22_paper_figures.py` | 0 | 6 | 6 | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||||
| figures_bench | `python scripts/38_bench_figures.py` | 0 | 8 | 2 | 0 | 0 | 0 | 0 | 0 | 0 |
|
| figures_bench | `python scripts/38_bench_figures.py` | 0 | 11 | 2 | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||||
| s8_flipband | `python scripts/38_bench_figures.py --flipband` | 0 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
|
| s8_flipband | `python scripts/38_bench_figures.py --flipband` | 0 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
|
||||||
|
|
||||||
Paper figures deleted from the clean room and not regenerated: none.
|
Paper figures deleted from the clean room and not regenerated: none.
|
||||||
|
|||||||
@@ -33,10 +33,10 @@ WHITE = "#ffffff"
|
|||||||
SEQ_BLUE = LinearSegmentedColormap.from_list("seq_blue", ["#f0f5fc", "#86b6ef", "#2a78d6", "#104281"])
|
SEQ_BLUE = LinearSegmentedColormap.from_list("seq_blue", ["#f0f5fc", "#86b6ef", "#2a78d6", "#104281"])
|
||||||
RAMP4 = ["#86b6ef", "#5598e7", "#256abf", "#104281"] # ordinal ramp for σ (as in scripts/13)
|
RAMP4 = ["#86b6ef", "#5598e7", "#256abf", "#104281"] # ordinal ramp for σ (as in scripts/13)
|
||||||
REGIMES = ["R10", "R0", "Rm5", "R0h", "R10tb"]
|
REGIMES = ["R10", "R0", "Rm5", "R0h", "R10tb"]
|
||||||
REGIME_LABELS = {"R10": "10 dB", "R0": "0 dB", "Rm5": "\u22125 dB", "R0h": "half-anchor", "R10tb": "two-anchor"} # names used in the paper
|
REGIME_LABELS = {"R10": "10 dB", "R0": "0 dB", "Rm5": r"$-5$ dB", "R0h": "half-anchor", "R10tb": "two-anchor"} # names used in the paper
|
||||||
METHODS = [("B3b", "Calibrated sonic"), ("B3c", "Correlation tie"), ("B3c-R", "Phase-est. correlation"), ("B3d", "Anchor mean"),
|
METHODS = [("B3b", "Calibrated sonic"), ("B3c", "Correlation tie"), ("B3c-R", "Phase-est. correlation"), ("B3d", "Anchor mean"),
|
||||||
("B3d-Sa", "SMC mean"), ("M2-Sa", "SMC bank")]
|
("B3d-Sa", "SMC mean"), ("M2-Sa", "SMC bank")]
|
||||||
METHOD_LABELS = {"B3a": "sonic", "B3b": "cal. sonic", "B3c": "corr. tie", "B3c-R": "phase corr.", "B3d": "anchor mean"} # short names in cells
|
METHOD_LABELS = {"B3a": "sonic", "B3b": "cal. sonic", "B3c": "corr. tie", "B3c-R": "phase corr.", "B3d": "anchor"} # short names in cells
|
||||||
|
|
||||||
|
|
||||||
def load_script(name: str):
|
def load_script(name: str):
|
||||||
|
|||||||
137
scripts/40_band_spectra.py
Normal file
137
scripts/40_band_spectra.py
Normal file
@@ -0,0 +1,137 @@
|
|||||||
|
"""Band content of the labels and of the Oracle predictions (post hoc, descriptive; not part of any protocol).
|
||||||
|
|
||||||
|
Written on 2026-11-09, after every verdict, to support the "Band of the benchmark" limitation of the manuscript. It
|
||||||
|
compares, in the scoring window 600-1100 ms, the spectrum above f_c = 6 Hz of
|
||||||
|
F3 marker-calibrated PHIE_DT of the four wells (outputs/f3_wells.npz)
|
||||||
|
synthetic true labels of the test wells of Experiment 2, realizations 8-15, 8 wells each (y_true of the cells)
|
||||||
|
Oracle predictions of the five Oracle seeds, N = 16, c = 1, by SNR setting (10, 0, -5 dB; R10, R0, Rm5)
|
||||||
|
Oracle coh. the part of the Oracle predictions coherent with the label, S_m = max(Re S_mu,y, 0), as in script 31
|
||||||
|
The periodogram is that of scripts/31_p2r_posthoc.py (row mean removed, reflect-padded to 512 samples, 4 ms). Labels
|
||||||
|
do not depend on the setting or on c (checked below); predictions at c = 1 are used because it is the F3-like drift.
|
||||||
|
|
||||||
|
Output (outputs/band_spectra/, outside the repro archives): table.csv (one row per source: band RMS in p.u., share of the
|
||||||
|
band power per frequency bin, power-weighted and f^4-weighted median frequency), groups.csv (the same per F3 well and per
|
||||||
|
synthetic realization, which give the ranges), meta.json. Nothing here changes a registered number and nothing is
|
||||||
|
chosen with these numbers. CPU only, a few seconds.
|
||||||
|
|
||||||
|
CUDA_VISIBLE_DEVICES= .venv/bin/python scripts/40_band_spectra.py
|
||||||
|
"""
|
||||||
|
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
|
import json
|
||||||
|
|
||||||
|
import numpy as np
|
||||||
|
import pandas as pd
|
||||||
|
|
||||||
|
from ml_porosity.eval.metrics import split_bands
|
||||||
|
from ml_porosity.paths import outputs_dir
|
||||||
|
|
||||||
|
OUT = outputs_dir() / "band_spectra"
|
||||||
|
TRAIN = outputs_dir() / "p2r" / "train"
|
||||||
|
DT_MS, L, F_C = 4.0, 512, 6.0
|
||||||
|
F = np.fft.rfftfreq(L, DT_MS / 1000)
|
||||||
|
BAND = F >= F_C
|
||||||
|
BINS = [(6, 15), (15, 25), (25, 40), (40, 60), (60, 125.01)]
|
||||||
|
RIDS = range(8, 16)
|
||||||
|
SETTINGS = ["R10", "R0", "Rm5"]
|
||||||
|
F3_WELLS = ["F02-1", "F03-2", "F03-4", "F06-1"]
|
||||||
|
|
||||||
|
|
||||||
|
def fft_rows(P: np.ndarray) -> np.ndarray:
|
||||||
|
"""rfft of each row with its mean removed, reflect-padded to L (scripts/31_p2r_posthoc.py)."""
|
||||||
|
n = P.shape[1]
|
||||||
|
a = L // 2 - n // 2
|
||||||
|
return np.fft.rfft(np.pad(P - P.mean(1, keepdims=True), ((0, 0), (a, L - n - a)), mode="reflect"))
|
||||||
|
|
||||||
|
|
||||||
|
def weighted_median(S: np.ndarray, power: int = 0) -> float:
|
||||||
|
w = F ** power * S * BAND
|
||||||
|
return float(F[np.searchsorted(np.cumsum(w) / w.sum(), 0.5)])
|
||||||
|
|
||||||
|
|
||||||
|
def describe(S: np.ndarray, band_rms: float | None) -> dict:
|
||||||
|
total = S[BAND].sum()
|
||||||
|
row = {"band_rms_pu": band_rms, "median_hz": weighted_median(S), "f4_median_hz": weighted_median(S, 4)}
|
||||||
|
row |= {f"share_{lo:g}_{min(hi, 125):g}": float(S[(F >= lo) & (F < hi)].sum() / total) for lo, hi in BINS}
|
||||||
|
return row
|
||||||
|
|
||||||
|
|
||||||
|
def rms_band(P: np.ndarray) -> float:
|
||||||
|
return float(np.sqrt(np.mean(split_bands(P, F_C)[1] ** 2)))
|
||||||
|
|
||||||
|
|
||||||
|
def cell(setting: str, rid: int):
|
||||||
|
return np.load(TRAIN / setting / "cells" / f"r{rid}_c1_n16.npz")
|
||||||
|
|
||||||
|
|
||||||
|
def main() -> None:
|
||||||
|
OUT.mkdir(parents=True, exist_ok=True)
|
||||||
|
rows, groups = [], []
|
||||||
|
|
||||||
|
# F3 labels, in porosity units as the synthetic ones
|
||||||
|
wells = np.load(outputs_dir() / "f3_wells.npz")
|
||||||
|
Y = np.stack([100 * wells[f"{w}/calibrated/PHIE_DT"][wells[f"{w}/main_mask"]].astype(float) for w in F3_WELLS])
|
||||||
|
assert np.isfinite(Y).all() and Y.shape[1] == 126
|
||||||
|
S = np.abs(fft_rows(Y)) ** 2
|
||||||
|
rows.append({"source": "F3 PHIE_DT label", "n_traces": len(Y)} | describe(S.mean(0), rms_band(Y)))
|
||||||
|
for w, y, s in zip(F3_WELLS, Y, S):
|
||||||
|
groups.append({"source": "F3 PHIE_DT label", "group": w} | describe(s, rms_band(y[None])))
|
||||||
|
|
||||||
|
# synthetic labels and Oracle predictions
|
||||||
|
label_check = []
|
||||||
|
ys, per_rid = [], {}
|
||||||
|
for rid in RIDS:
|
||||||
|
z = cell("R10", rid)
|
||||||
|
y = z["y_true"].astype(float)
|
||||||
|
ys.append(y)
|
||||||
|
for s in SETTINGS[1:]:
|
||||||
|
label_check.append(np.array_equal(y, cell(s, rid)["y_true"].astype(float)))
|
||||||
|
for c in (0, 2):
|
||||||
|
label_check.append(np.array_equal(y, np.load(TRAIN / "R10" / "cells" / f"r{rid}_c{c}_n16.npz")["y_true"].astype(float)))
|
||||||
|
Sy = (np.abs(fft_rows(y)) ** 2).mean(0)
|
||||||
|
groups.append({"source": "Synthetic label", "group": f"r{rid}"} | describe(Sy, rms_band(y)))
|
||||||
|
assert all(label_check)
|
||||||
|
Y = np.concatenate(ys)
|
||||||
|
rows.append({"source": "Synthetic label", "n_traces": len(Y)} | describe((np.abs(fft_rows(Y)) ** 2).mean(0), rms_band(Y)))
|
||||||
|
|
||||||
|
for setting in SETTINGS:
|
||||||
|
acc_mu, acc_cross, rms = [], [], []
|
||||||
|
for rid in RIDS:
|
||||||
|
z = cell(setting, rid)
|
||||||
|
y = z["y_true"].astype(float)
|
||||||
|
FY = fft_rows(y)
|
||||||
|
keys = [k for k in z.files if k.startswith("Oracle/") and k.endswith("/mu")]
|
||||||
|
assert len(keys) == 5, keys
|
||||||
|
mu_r, cr_r, rms_r = [], [], []
|
||||||
|
for k in keys:
|
||||||
|
P = z[k].astype(float)
|
||||||
|
assert np.isfinite(P).all()
|
||||||
|
FM = fft_rows(P)
|
||||||
|
mu_r.append((np.abs(FM) ** 2).mean(0))
|
||||||
|
cr_r.append((FM * FY.conj()).real.mean(0))
|
||||||
|
rms_r.append(rms_band(P))
|
||||||
|
acc_mu.append(np.mean(mu_r, 0)); acc_cross.append(np.mean(cr_r, 0)); rms.append(np.mean(rms_r))
|
||||||
|
groups.append({"source": f"Oracle prediction {setting}", "group": f"r{rid}"} | describe(acc_mu[-1], rms[-1]))
|
||||||
|
groups.append({"source": f"Oracle coherent {setting}", "group": f"r{rid}"} | describe(np.clip(acc_cross[-1], 0, None), None))
|
||||||
|
rows.append({"source": f"Oracle prediction {setting}", "n_traces": 8 * 8 * 5} | describe(np.mean(acc_mu, 0), float(np.mean(rms))))
|
||||||
|
rows.append({"source": f"Oracle coherent {setting}", "n_traces": 8 * 8 * 5} | describe(np.clip(np.mean(acc_cross, 0), 0, None), None))
|
||||||
|
|
||||||
|
t, g = pd.DataFrame(rows), pd.DataFrame(groups)
|
||||||
|
t.to_csv(OUT / "table.csv", index=False)
|
||||||
|
g.to_csv(OUT / "groups.csv", index=False)
|
||||||
|
ranges = {s: {k: [float(d[k].min()), float(d[k].max())] for k in ("median_hz", "f4_median_hz", "share_25_40", "share_40_60", "share_60_125")}
|
||||||
|
for s, d in g.groupby("source")}
|
||||||
|
(OUT / "meta.json").write_text(json.dumps({
|
||||||
|
"status": "post hoc, descriptive; written 2026-11-09 after all verdicts; not part of any protocol",
|
||||||
|
"window_ms": [600, 1100], "dt_ms": DT_MS, "nfft": L, "f_c_hz": F_C, "bins_hz": BINS,
|
||||||
|
"labels_independent_of_setting_and_c": True, "ranges_over_groups": ranges}, indent=1), encoding="utf-8")
|
||||||
|
pd.set_option("display.width", 220, "display.max_columns", 20)
|
||||||
|
print(t.round(3).to_string(index=False))
|
||||||
|
print(json.dumps(ranges["F3 PHIE_DT label"], indent=0))
|
||||||
|
print(json.dumps(ranges["Synthetic label"], indent=0))
|
||||||
|
print("wrote", OUT)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
Reference in New Issue
Block a user