Add the M6 manuscript draft, figure script and number check

First full draft of the Volve-DIA paper in paper/ (13 LaTeX sections, 44 pages),
four figures built from outputs/ with assertions, a checker that traces every
number to plan.md or outputs/, and a source audit with its fixes. Correct the
pooled T2(b) values in the notes to the primary values and sync the plan, README,
overview and progress page.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-25 02:02:43 +00:00
parent 8c924b7f0d
commit 221399260f
37 changed files with 4198 additions and 46 deletions

View File

@@ -238,6 +238,20 @@ Dịch vụ OCR:
- Mỗi trang đọc xong được lưu ở `outputs/ocr/pages/<sha256[:16]>/pNNNN.json`. Khóa cache gồm model, hash prompt, DPI, `max_tokens`, temperature; đổi một giá trị thì mọi trang bị đọc lại.
- Script dừng trước khi gửi trang nào nếu dịch vụ không trả lời `/v1/models` hoặc không phục vụ model `chandra`. Script ngừng gửi khi 8 trang liên tiếp lỗi.
## Bài báo (M6)
Bản thảo ở `paper/` (LaTeX `article` + `natbib`; `paper/README.md` có sơ đồ phần, bảng tên gọi, quy tắc viết, các claim bị cấm và việc còn mở).
```bash
(cd paper && pdflatex main && bibtex main && pdflatex main && pdflatex main && pdflatex main)
/home/jovyan/lamlvh/ML-Porosity/.venv/bin/python scripts/22_paper_figures.py # bốn hình từ outputs/ (venv này có matplotlib)
.venv/bin/python paper/check_numbers.py --summary # mọi số trong paper/sections/ phải có trong plan.md hoặc outputs/ (allowlist: paper/number_allowlist.txt)
.venv/bin/python -m pytest tests/test_paper_numbers.py
```
Bản PDF đã rà soát nằm ở `outputs/paper/volve-dia-m6.pdf`. [Biên bản rà soát](paper/audit_report.md) ghi các sửa đổi và đối chiếu đầu ra.
`paper/provenance/*.md` ghi nguồn của từng phần. Văn phong theo mẫu ML-Porosity và skill academic-humanizer.
## Scripts
| Script | Việc |
@@ -264,6 +278,7 @@ Dịch vụ OCR:
| `scripts/19_m5_errors.py` | Phân loại lỗi theo họ câu hỏi và RQ4 (EGS so với điểm tự động) theo protocol v4 → `outputs/m5/errors/` |
| `scripts/20_m5_t5.py` | T5 truy xuất khoảng tương đồng và dự báo từ láng giềng theo protocol v5 → `outputs/m5/t5/` |
| `scripts/21_m5_synthetic.py` | Tín hiệu cấy cho T2 (cue văn bản) và T3 (hazard theo độ sâu) theo protocol v6 → `outputs/m5/synthetic/` |
| `scripts/22_paper_figures.py` | Bốn hình của bài từ `outputs/` (t4_modes, taxonomy, leakage, planted) → `paper/figures/`, kèm assert và `figures_provenance.md` |
| `scripts/runlog.sh` | Bọc một lệnh để ghi log và runtime |
| `scripts/run_m1.sh` | Chạy pipeline M1 trên nền P0: 04_ocr_hub, 05 `--source hub`, 06–09, pytest |
| `scripts/run_p0.sh` | Chạy toàn bộ P0: 00 `--check`, 01–05 (04 ở chế độ `--pilot`), pytest |