Files
Volve-DIA/paper/provenance/06b.md
lamlvh 221399260f 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>
2026-11-25 02:02:43 +00:00

13 KiB

Provenance: sections/06_results.tex and sections/06b_results_labels.tex

Conventions. classification.csv = outputs/m34/classification.csv; contrasts = outputs/m34/classification_contrasts.csv. Unless stated, rows are task T2 or T3, definition (b), split well, input XML, subset all. DistilBERT = seeds 0-2; DeepSeek = vai-deepseek-v4-1-flash repetitions 0-2; means and ranges over those runs are computed from the rows. CIs are 95% well-cluster bootstrap intervals as written in the files. Rounded to three decimals (four for T3) in the text.

Note on plan.md §1.6 / AGENTS.md headline T2 values. The plan values are means over subsets all and without_sidetrack (and XML + OCR input for TF-IDF), as PLAN_POOLED / pooled_plan_check in scripts/22_paper_figures.py confirm. The paper uses the all subset on XML, so its values differ from the plan:

Quantity plan.md §1.6 file (all) used in paper
Majority T2(b) masked 0.179 0.183
Lexicon 0.249 0.251
TF-IDF masked 0.461 0.463
DistilBERT masked (mean) 0.597 0.593
DeepSeek zero-shot (mean) 0.405 0.407
Qwen zero-shot seed 0 0.261 0.264
DistilBERT by wellbore (mean) 0.619 0.618
TF-IDF by wellbore 0.484 0.489
TF-IDF unmasked 0.994 0.995
DistilBERT unmasked (mean) 0.869 0.873

06_results.tex

Claim Value Source
Intervals are 95% percentile well-cluster bootstrap 95% plan.md §4.4; contrasts (ci_low, ci_high); "percentile" assumed from the bootstrap code

Sec. res:leak (T2, T1)

Claim Value Source
11 wells, leave-one-well-out 11 plan.md §1; classification.csv (split == well)
T2 activities 23,447 classification.csv (n); AGENTS.md
T2(b) prevalence = majority AP 0.183 classification.csv (majority, masked)
DistilBERT T2(b) masked, 3 seeds 0.579-0.603, mean 0.5928 classification.csv (distilbert seeds 0-2)
TF-IDF T2(b) masked [CI] 0.463 [0.418, 0.513] classification.csv (tfidf)
Lexicon; comment length 0.251; 0.162 classification.csv (lexicon, length)
Lowest DistilBERT lower limit vs TF-IDF upper limit 0.554 vs 0.513 classification.csv (ci_low min over seeds; tfidf ci_high)
TF-IDF T2(b) unmasked [CI] 0.995 [0.991, 0.999] classification.csv (tfidf, unmasked)
TF-IDF unmasked - masked [CI] +0.531 [0.480, 0.580] contrasts (unmasked_minus_masked, tfidf)
DistilBERT unmasked - masked per seed; all CIs exclude 0 +0.266 to +0.291 (mean 0.280) contrasts (distilbert seeds 0-2)
DistilBERT unmasked 0.869-0.880, mean 0.8729 classification.csv
DeepSeek T2(b) masked, 3 reps 0.406-0.408, mean 0.4074 classification.csv (t2_llm, vai-deepseek)
DeepSeek - TF-IDF per rep; CI rep 0 -0.055 to -0.058; [-0.134, 0.011] contrasts (llm_minus_tfidf)
Qwen3-8B seed 0 [CI]; minus TF-IDF [CI] 0.264 [0.206, 0.340]; -0.200 [-0.250, -0.152] classification.csv; contrasts; AGENTS.md
Qwen seed 1 stopped 17,827 / 23,447 AGENTS.md; plan.md §12 item 32
DistilBERT by wellbore, 3 seeds 0.612-0.624 classification.csv (split == wellbore)
DistilBERT wellbore - well per seed; all CIs include 0 +0.015 to +0.040 contrasts (wellbore_minus_well)
TF-IDF by wellbore; difference [CI] 0.489; +0.026 [-0.001, 0.042] classification.csv; contrasts
26 wellbores in 11 wells 26, 11 AGENTS.md; plan.md §1
Definition (a): majority; TF-IDF; DistilBERT; DeepSeek 0.153; 0.437; 0.552-0.578; 0.389-0.391 classification.csv (definition == a)
Definition (a) unmasked - masked: TF-IDF; DistilBERT +0.563; +0.298 to +0.337 contrasts (definition a)
TF-IDF (b) - (a) [CI] +0.026 [-0.003, 0.068] contrasts (b_minus_a, tfidf)
Sidetrack rows removed; rows left 202; 23,245 classification.csv (subset == without_sidetrack, n); 23,447 - 23,245 = 202
Without sidetrack: TF-IDF; DistilBERT; DeepSeek 0.457; 0.589-0.611; 0.401-0.404 classification.csv (without_sidetrack)
TF-IDF on OCR input; rows 0.464; 23,387 classification.csv (input == ocr)
T1 days; published; filled 932; 672; 260 AGENTS.md; classification.csv (T1 n)
T1 TF-IDF published [CI]; majority 0.621 [0.504, 0.742]; 0.286 classification.csv (T1, published)
T1 TF-IDF filled; majority 0.819; 0.815 classification.csv (T1, filled)
T1 DistilBERT published; filled 0.301-0.369 (mean 0.342); 0.754-0.808 classification.csv (T1 distilbert seeds 0-2)
LLM-rater section κ published / filled 0.707 / 0.059 outputs/audit/m2_300/agreement_pass1.json; AGENTS.md
T1 TF-IDF OCR published 0.625 classification.csv (T1, input == ocr)

Table tab:leakage (beyond the above)

Claim Value Source
T3 cells 4,894 classification.csv (T3 n); AGENTS.md
T3(b) majority (prevalence) 0.1136 classification.csv; 556 / 4,894 = 0.1136
T3 TF-IDF masked [CI]; unmasked 0.1225 [0.093, 0.195]; 0.1273 classification.csv
T3 TF-IDF unmasked - masked [CI] +0.0048 [-0.0005, 0.0238] contrasts; AGENTS.md
T3 DistilBERT masked; unmasked 0.1175-0.1245 (mean 0.1212); 0.1189-0.1312 (mean 0.1235) classification.csv seeds 0-2
T3 DistilBERT unmasked - masked per seed; all CIs include 0 -0.0011 to +0.0066 contrasts

Sec. res:diag (T3, T5)

Claim Value Source
10 m cells; 21 wellbores; 10 wells 10, 21, 10 plan.md §1; configs/labels.yaml; AGENTS.md (G1 preflight, 21 eligible wellbores)
T3(b) positive cells; prevalence 556; 0.114 outputs/m5/t5/report.json (knn prevalence); cross_checks/summary.json (code_positive b)
IoU TF-IDF; DistilBERT 0.119 (0.1185); 0.108-0.124 classification.csv (iou); AGENTS.md
TF-IDF IoU unmasked - masked [CI] +0.017 [0.0003, 0.061] contrasts (iou)
T3 TF-IDF by wellbore; difference [CI] 0.141; +0.019 [-0.033, 0.043] classification.csv; contrasts
Depth-neighbour forecast k; AP [CI] 10; 0.150 [0.116, 0.204] outputs/m5/t5/report.json (knn); plan.md §1.8
With WITSML [CI] 0.135 [0.110, 0.183] t5 report.json
Definition (a): depth; WITSML; prevalence 0.132; 0.120; 0.098 t5 report.json (definition a); 478 / 4,894 = 0.098
T5 queries; wellbores; wells 410; 19; 10 t5 report.json; plan.md §1.8
Median candidates 358 t5 report.json / per_query.parquet
Gain 0-3 0-3 configs/protocol_v5.yaml
Depth nDCG@10 [CI]; random 0.666 [0.644, 0.685]; 0.463 t5 report.json
Fusion pre-event; minus depth [CI] 0.670; +0.004 [-0.010, 0.018] t5 report.json; plan.md §1.8
Text pre-event; minus depth [CI] 0.611; -0.055 [-0.063, -0.048] t5 report.json
WITSML pre-event; minus random [CI] 0.495; +0.032 [0.008, 0.053] t5 report.json
Text of the event 0.528 t5 report.json
Definition (a): depth; fusion - depth [CI] 0.660; +0.005 [-0.012, 0.022] t5 report.json (definition a)
Candidates by wellbore: depth; fusion - depth [CI] 0.663; +0.003 [-0.012, 0.016] t5 report.json (wellbore sensitivity)
Same formation in top 10: depth; random 0.711 (71%); 0.234 (23%) t5 report.json (shares)
Same section: pre-event text; depth 0.576 (58%); 0.451 (45%) t5 report.json
Shared cause share: random to best 0.703 to 0.754 (text "0.70 ... at most 0.75") t5 report.json
RRF k 60 configs/protocol_v5.yaml
tab:t5 all cells (nDCG, CI, Δ, MRR, P@10, shares) incl. fusion-all 0.661 / -0.005 / 0.434 / 0.217 / 0.546 / 0.540 / 0.746 as in table t5 report.json
Queries with a fully relevant candidate 374 t5 report.json / per_query.parquet

Sec. res:labels

Claim Value Source
Trial: 100 items; raters Sonnet, Opus, Haiku 100 outputs/audit/trial_100/raters.json; AGENTS.md
Trial κ (weighted) per rater and median, all targets table values trial_100/raters.json
Trial operation class items 65; Haiku 2 unrated 65; 2 trial_100/raters.json
M2: 300 activities, 11 wells, 225 strata, 90 days (45/45) as stated outputs/audit/m2_300/sample.json; key_activity.csv (300 rows, npt_b 150 / 150)
M2 pass 1 κ per rater and median, all targets (Ministral NPT b 0.29150 -> 0.292) table values m2_300/agreement_pass1.json
M2 pass 2 medians table values m2_300/agreement_pass2.json
M2 operation class items 195 agreement_pass1.json
Fleiss NPT trial / M2 / M2 pass 2 0.662 / 0.512 / 0.528 raters.json; agreement_pass1.json; agreement_pass2.json
Fleiss cause; operation; section (n = 77) 0.644 / 0.392; 0.662 / 0.255; 0.480 same files
Only Opus > 0.6 on NPT; Opus NPT (b) 0.683 raters.json
Within-rater pass 1 vs 2: Qwen; Gemma; Ministral 0.912; 0.9999; 0.824 agreement_pass2.json; AGENTS.md
Gap between passes 25.6-29.2 min plan.md §1.5 (pass2_schedule.json timestamps)
Weighted NPT-call rate, pass 2 Qwen 0.4934, Gemma 0.2304, Ministral 0.2730 -> 23.0-49.3% derived: ratings/pass2 joined with key_activity.csv weight, sum(weight x yes) / sum(weight)
Code (b) share of non-trial frame 0.1814 (18.1%) of 23,347 derived: 23,447 - 100 trial items = 23,347; npt_b mean over outputs/labels/t2_labels.parquet without trial act_ids
All three raters NPT on code-negative; not NPT on code-positive (pass 2) 22 of 150; 34 of 150 derived from m2_300/disagreements_pass2.csv (target == npt_b, all three equal and opposite to code_label)
A062 (casing_cement, npt_b False, all rate yes); A157 (interruption/sidetrack, npt_b True, all rate no) items disagreements_pass2.csv
Waiting activities outside interruption codes 8; rated NPT by 7 / 4 / 6 derived: key_activity.csv joined with pass-2 ratings (Qwen 7, Gemma 4, Ministral 6)
G1 rule margin; observed Δκ 0.02; 0.025 configs/protocol_v1.yaml; agreement_pass1.json; AGENTS.md
Leave-one-well-out Δκ; kept 0.015-0.037; 10 of 11 plan.md §1.5 (no output file)
Unweighted Δκ 0.019 plan.md §1.5
Well bootstrap interval for Δκ [-0.0095, 0.0741] plan.md §1.5
Strata with one item; Kish n 185 of 225; about 126 plan.md §1.5
Class thresholds κ 0.60, 20 items, 3 wells x 5 items configs/protocol_v1.yaml
12 1/4 in section 0.701 (18 items); drill_ream 0.655 (15); equipment 0.277 (62); downhole 0.173 (20); failed operation 0.009 (25) as stated m2_300/g1_class_review_pass1.json (classes)
DrillScribe episodes matched 1,758 of 1,758; 23,447 activities m2_300/cross_checks/summary.json (drillscribe)
Anatoly5ms strong-or-weak cells 219 of 4,894 cross_checks/summary.json (cells_own_hole_with_witsml)
Overlap (b): 83 of 556, Jaccard 0.120; (a): 72 of 478, 0.115 as stated cross_checks/summary.json
Strong only overlap (b); (a) 36; 34 cross_checks/summary.json (strong)
Four complication rules lost circulation, well control, stuck pipe, wellbore instability cross_checks/summary.json (strength_by_rule)
TSPP wells; ±3 h windows; activities F-4, F-9 A, F-1; 3 h; 9, 14, 15 cross_checks/TSPP2-4_ddr.csv; AGENTS.md
Equipment-failure codes in F-4 / F-9 A windows 3 / 1 TSPP2_ddr.csv, TSPP3_ddr.csv

Sec. res:planted

Claim Value Source
T2 planted prevalence 0.183 outputs/m5/synthetic/report.json; configs/protocol_v6.yaml
k nearest cells; seeds 10; 5 protocol_v6.yaml
Null tolerance 0.01 of π, seed-0 CI contains π protocol_v6.yaml
T2 f = 0.02 null: mean AP; π; seed-0 CI 0.182; 0.183; 0.179-0.195 synthetic report.json; settings_t2.csv; seeds_t2.csv
T3 s = 0 null: mean AP; π; seed-0 CI 0.118; 0.114; 0.107-0.124 report.json; settings_t3.csv; seeds_t3.csv
T2 f = 0.10 null: mean AP; difference; seed-0 CI 0.193 (0.19314); 0.0101; 0.193-0.208 report.json; settings_t2.csv; seeds_t2.csv
Post hoc diagnosis date 23 November 2026 AGENTS.md; plan.md §1.9
No-cue indicator AP f = 0.10 (theory); f = 0.02 (theory) 0.2004 (0.1993); 0.1848 (0.1860) outputs/m5/synthetic/null_diagnosis_t2.csv
c = f = 0.10: AP; seed-0 CI 0.1819; 0.1760-0.1883 null_diagnosis_t2.csv
T2 curve at f = 0.02: c = 0 / 0.25 / 0.5 / 1 0.182 / 0.258 / 0.363 / 0.521 settings_t2.csv
c matching real TF-IDF 0.463 0.823 (text 0.82); per seed 0.7846-0.8401 report.json (calibration); seeds_t2.csv; target 0.46346
Unplanted rows exposed to cue at c = 1 0.347 (34.7%) settings_t2.csv (exposure_unplanted_mean)
T3 curve s = 0 / 0.5 / 1 / 2 0.118 / 0.131 / 0.191 / 0.379 settings_t3.csv
Oracle s = 0.5 / 1 / 2 0.176 / 0.283 / 0.489 settings_t3.csv
s matching real depth forecast 0.150 0.6567 (text 0.66); per seed 0.554-0.716 report.json; seeds_t3.csv; target 0.14952
Oracle AP at s ≈ 0.66 about 0.21 derived: 0.1763 + (0.6567 - 0.5) / 0.5 x (0.2830 - 0.1763) = 0.2097
"about four in five" 0.82 restatement of c ≈ 0.82