Add protocol v6: planted-signal studies for T2 and T3

Locked protocol v6 (SHA-256 0376aa18...), cue lexicon, the 21_m5_synthetic
script with its module and 22 tests. Labels are drawn at random so the truth
is known; a signal of controlled strength is written into the model input.
Null checks pass for T2 f = 0.02 and T3 s = 0 and fail for T2 f = 0.10 under
the locked rule. A post-hoc diagnosis (--arm diagnose) shows that the failure
comes from the null definition (c = 0 < f makes the absence of a cue a
signal), and the true null c = f passes. The real masked T2 AP corresponds to
a cue rate of about 0.82 and the real T3 forecast AP to a depth hazard of
about 0.66. Docs, report and logs updated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-23 01:50:28 +00:00
parent 5f780bab67
commit 8c924b7f0d
12 changed files with 965 additions and 11 deletions

View File

@@ -4,7 +4,7 @@ Volve-DIA: a public benchmark and baselines for drilling-context recognition, NP
Read first: `docs/plan.md` (plan, gates, decisions; §1 data facts, §6 roadmap, §10 forbidden claims, §12 decision log), `README.md` (setup, scripts, logging), `docs/danh-gia-huong-NCKH-2026-10-29.md` (why this direction, competitors, references; local only, not in git), `docs/technical_overview.md` (a lecture for newcomers: drilling, DDR, leakage, tasks, labels, OCR, evaluation, code map). Progress page: `report.html`. These docs are in Vietnamese.
## Status (20/11/2026)
## Status (23/11/2026)
- **P0 (infrastructure) done and committed** (first commit on `main`, 29/10/2026). The project folder is `/home/jovyan/lamlvh/Volve-DIA`; remote `origin` `https://gitea.vts-ai.space/lamlvh/Volve-DIA` is **public**. `scripts/run_p0.sh` runs scripts 00–05 and the tests.
- **M1 machine work committed** (17/11/2026, `1791665`). The M1 driver generated the machine outputs; its final pytest
@@ -64,7 +64,7 @@ Read first: `docs/plan.md` (plan, gates, decisions; §1 data facts, §6 roadmap,
coverage (`scripts/16_m34_session.py prepare|regroup|status|collect`, batches of 15 T4 / 50 T2 items with `.txt` copies because
Read returns about 42k characters). `configs/protocol_v2.yaml` (+ `.sha256`) extends v1; never edit it while the VAI run
exists (its SHA is in every checkpoint). `g2` (v1) cannot be met; `g2_v2` needs VAI complete plus the v1 comparison baselines.
Track runs with `bash scripts/m34_status.sh`. 204 tests (20/11).
Track runs with `bash scripts/m34_status.sh`. 226 tests (23/11).
- **G2 v2 passed on 20/11/2026** (`outputs/m34/report.json` refreshed 06:32 UTC): `g2_v2.passed` True with no missing
classification or QA cells; `g2` (v1) False as expected. C4 coverage 1,376 paired questions, 1,293 without date-flagged
pages; `sha256sum -c configs/protocol_v2.yaml.sha256` OK. Headline T4 macro-family accuracy (well-scoped, mean of 3
@@ -113,12 +113,28 @@ Read first: `docs/plan.md` (plan, gates, decisions; §1 data facts, §6 roadmap,
section and formation follow depth in one field; cause overlap barely moves (0.70 random, 0.75 best). Neighbour forecast
over 4,894 T3 cells (k = 10, other wells): AP 0.150 (0.116–0.204) by depth, 0.135 with WITSML, prevalence 0.114.
T5 is outside G2 and stays a diagnostic.
- **Protocol v6: planted-signal studies done (20/11/2026, plan §1.9, §12 item 37).** `configs/protocol_v6.yaml`
(+ `.sha256`, extends v5; never edit it; cue phrases in `configs/synth_cues.yaml`) was locked before any planted score.
`scripts/21_m5_synthetic.py` (`volve_dia/m5_synthetic.py`, 22 tests) writes `outputs/m5/synthetic/`; five `m5_synthetic`
runs finished `ok` on 20/11 (run on an uncommitted tree, `dirty` True in `logs/index.csv`). Labels are drawn at random
(known exactly), then a signal of known strength is written into the model input; real labels are not used. 5 seeds,
well-cluster CIs, no gate, no replacement for H3. **Null checks:** pass for T2 f = 0.02 (AP 0.182, pi 0.183) and T3
s = 0 (0.118, pi 0.114); **fail for T2 f = 0.10** (AP 0.193, off by 0.0101 against the 0.01 tolerance, seed-0 CI does
not contain pi), so that sensitivity setting is not interpreted under v6 (the locked verdict stays). Post-hoc diagnosis (23/11,
`scripts/21_m5_synthetic.py --arm diagnose`, `null_diagnosis_t2.csv`): the cause is the null definition, not the
pipeline. At c = 0 < f the absence of an own cue already marks planted rows; the no-cue indicator alone gives AP 0.2004
(theory 0.199) at f = 0.10 and 0.185 at f = 0.02. The true null is c = f: AP 0.1819 at f = c = 0.10 (passes). Using the
f = 0.10 curve would need a new locked protocol with the null at c = f. T2 (f = 0.02): AP 0.182 at
c = 0 rising monotonically to 0.521 at c = 1; the real masked TF-IDF AP 0.463 corresponds to c about 0.82 (0.78-0.84):
about 82% of NPT rows would need an explicit cue in the masked text. Cue spill into neighbouring activities makes this
slightly high. T3: real depth forecast AP 0.150 corresponds to s about 0.66 (0.55-0.72), oracle about 0.21, a very
weak depth hazard. This bounds detectability; it does not validate the labels.
## Next
Roadmap and gates: `docs/plan.md` §6, §12 item 1.
1. G2 v2, G3, the error taxonomy, RQ4 and T5 are done (20/11). Next: paper writing (M6) and release
1. G2 v2, G3, the error taxonomy, RQ4, T5 and the planted-signal studies are done (20/11). Next: paper writing (M6) and release
terms at G4. T4 headline numbers stay automatic. No claim of a human, author or expert audit is allowed.
2. C4 reports results with and without the 16 date-disagreement pages; the 7 unmatched reports are dropped.
3. Decided 17/11 (plan §12 item 21): WITSML suspect values (-999, -99999, 99999, 9999, |v| > 1e15) are missing at feature stage; formation picks file is the label source; 7 unmatched OCR reports are dropped from C4; G1 locked NPT (b) (+0.025 median weighted κ in the first pass).