Files
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

79 lines
9.0 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Provenance: sections/06a_results_qa.tex
DeepSeek = `vai-deepseek-v4-1-flash`, seeds 0-2. "qa.csv" rows use `subset == well`, `average == macro_families`.
Means and ranges over the three seeds are computed from those rows. Rounded to three decimals in the text.
| Claim | Value | Source |
|---|---|---|
| Well-scoped T4 questions; single / pair / field | 1,652; 1,560 / 92 / 10 | `outputs/m34/qa.csv` (`n`); plan.md §1.6 |
| Family sizes, well-scoped (lookup, aggregation, temporal, comparison, multi-hop) | 825, 513, 134, 92, 88 | `outputs/m5/errors/taxonomy.csv` (`n`, DeepSeek, non-C4 modes) |
| C4 family sizes (lookup, aggregation, comparison, temporal, multi-hop) | 731, 497, 92, 27, 19 (sum 1,366) | `taxonomy.csv` (`mode == c4`) |
| Bootstrap: 95% well-cluster, 2,000 resamples | 2,000 | `qa_contrasts.csv` (`finite_resamples`); plan.md §4.4 |
| Tool-only accuracy, mean [range] | 0.712 [0.704-0.722] | qa.csv |
| Agent accuracy | 0.618 [0.606-0.629] | qa.csv |
| C4 XML / HTML / OCR accuracy | 0.151 [0.145-0.154] / 0.177 [0.169-0.187] / 0.181 [0.176-0.184] | qa.csv (`mode == c4`) |
| RAG / few-shot / zero-shot accuracy | 0.148 [0.145-0.151] / 0.151 [0.144-0.154] / 0.071 [0.066-0.076] | qa.csv |
| Citation precision (report_precision), mean | tool 0.920, agent 0.878, C4 XML 0.506, HTML 0.415, OCR 0.433, RAG 0.352 | qa.csv |
| Wrong wellbore, mean | tool 0.050, agent 0.046, C4 XML 0.198, HTML 0.381, OCR 0.361, RAG 0.299, few 0.079, zero 0.026 | qa.csv |
| "about four times" | 0.712 / 0.181 = 3.93 | derived from qa.csv |
| Agent − RAG per rep [CI] | +0.461 [0.420, 0.544]; +0.479 [0.453, 0.514]; +0.471 [0.422, 0.551] | `outputs/m34/qa_contrasts.csv` (`agent_minus_rag`, subset well) |
| Agent − tool-only | −0.116 [−0.172, −0.063]; −0.075 [−0.112, −0.030]; −0.089 [−0.171, −0.024] | qa_contrasts.csv |
| Few-shot − zero-shot | +0.068 [0.052, 0.095]; +0.088 [0.080, 0.102]; +0.083 [0.073, 0.089] | qa_contrasts.csv |
| RAG − zero-shot | +0.069 [−0.016, 0.145]; +0.084 [−0.008, 0.173]; +0.078 [−0.016, 0.165] | qa_contrasts.csv |
| C4 OCR − XML (n 1,366) | +0.023 [−0.012, 0.067]; +0.028 [−0.011, 0.081]; +0.038 [−0.002, 0.085] | qa_contrasts.csv (`ocr_minus_xml`, well) |
| C4 OCR − XML without date flags (n 1,284, rebuilt corpus) | +0.011 [−0.012, 0.056]; +0.016 [−0.013, 0.066]; +0.027 [−0.002, 0.088] | qa_contrasts.csv (`ocr_minus_xml_clean`, well); matches plan.md §1.7 |
| C4 OCR − HTML range | −0.000 to +0.015 (all CIs include 0) | qa_contrasts.csv (`ocr_minus_html`); text writes −0.005 to +0.015 (seed 1 −0.0046) |
| Qwen OCR − XML; without date flags | −0.018 [−0.057, 0.012]; −0.009 [−0.065, 0.033] | qa_contrasts.csv (qwen, `ocr_minus_xml`, `ocr_minus_xml_clean`) |
| C4 without date flags accuracy XML / HTML / OCR | 0.156 / 0.170 / 0.175 | qa.csv (`mode == c4_clean`) |
| Qwen accuracy C4 XML / HTML / OCR / RAG | 0.214 / 0.235 / 0.196 / 0.154 | qa.csv (qwen, seed 0) |
| Aggregation correct: tool 0.726, RAG 0.016, C4 0.017-0.027, agent 0.451 | as stated | taxonomy.csv (family aggregation) |
| Multi-hop correct: tool 0.723, RAG 0.011; agent 0.636 | as stated | taxonomy.csv |
| Comparison correct: agent 0.688, tool 0.514; zero-shot 0.185, few-shot 0.576 | as stated | taxonomy.csv |
| Comparison abstention zero-shot 0.685, few-shot 0.029 | as stated | taxonomy.csv |
| Zero-shot temporal 0.159; lookup 0.011; aggregation and multi-hop 0 | as stated | taxonomy.csv; checked against `outputs/m5/errors/predictions.parquet` |
| Few-shot fabricated rate | 0.986 | qa.csv (`metrics.fabricated`); not interpreted; definition in `volve_dia/m34_qa.py` (numeric, incorrect, absent from context) |
| Few-shot ties C4 XML through macro weighting | (0 + 0.576 + 0.013 + 0 + 0.164) / 5 = 0.151 | derived from taxonomy.csv |
| 26 wellbores, 11 wells | 26 / 11 | plan.md §1; AGENTS.md |
| Retriever is TF-IDF without a wellbore filter | code | `volve_dia/m34_qa.py` (`Retriever.search`) |
| Qwen v1 stopped, C4 and RAG complete; Llama smoke only | as stated | plan.md §12 item 32; AGENTS.md |
| Judge sample: 100 items, 10 wells, 50 auto-correct | 100 / 10 / 50 | `outputs/m5/judge/report.json` |
| Sonnet κ 0.98 [0.947, 1.0], agreement 0.99; Haiku κ 0.90 [0.826, 0.966]; between κ 0.92 [0.833, 1.0] | as stated | judge report.json; plan.md §1.7 |
| Five disagreements (J008 sentence-form; J026, J027, J037, J071 OCR "MERSK INSPIRER") | 5 | judge report.json |
| Auto-incorrect answers accepted by Sonnet in the balanced sample | 1 / 50 | judge report.json, confusion matrix |
| Session sample: 300 questions, 11 wells, seed 20261117, one repetition | as stated | `outputs/m34/v2/session/{sonnet,haiku}/summary.json`; plan.md §12 item 32 |
| Session accuracy Sonnet / Haiku | C4 XML 0.123/0.083, HTML 0.177/0.147, OCR 0.187/0.150, RAG 0.128/0.098, zero-shot 0/0 | session summary.json |
| Sonnet C4 XML interval | 0.038-0.206 | sonnet summary.json |
| Batches of 15; no read isolation; outside G2 | as stated | AGENTS.md (session sample limitations) |
| C4 pairs 1,376; well-scoped 1,366; date-flagged 83; without flags 1,293 (1,284 well-scoped) | as stated | `outputs/m34/report.json` (`c4`); qa.csv `n` |
| 1,752 complete reports; 7 unmatched dropped; 16 date-disagreement pages | as stated | plan.md §1.3; AGENTS.md |
| OCR: 1,752 reports, 3,056 pages, 365,698 items, exact 0.9181, CER 2.4020%, WER 5.5560% | as stated | `outputs/ocr_qc_hub/summary.md` (full corpus, hub source; not the pilot) |
| Cells 280,995 / 0.9116 / 2.67%; Operations 140,322 / 0.8605 / 2.985%; Drilling Fluid 108,342 / 0.9648 / 1.093%; Survey 8,595 / 0.9944 / 0.239%; Casing 3,500 / 0.9394 / 4.717%; Bit Record 1,652 / 0.9576 / 1.428% | as stated | summary.md |
| Operations is half of all cells | 140,322 / 280,995 = 0.499 | derived |
| Fields 54,312 / 0.9280 / 2.999%; headers 3,504 / 0.9777 / 2.507%; texts 3,504 / 0.7740 / 0.527% | as stated | summary.md |
| depth mMD 0.9241 / 6.967%; mTVD 0.9418 / 5.421%; plug back 0.9578 / 7.452%; rig name 0.3385 / 5.162% | as stated | summary.md; `by_field.csv` |
| Pressure 50% (42 chars), temperature 33.3% (24 chars) | as stated | by_field.csv |
| Character errors: insert space 9,507; delete "-" 9,160; "-" to en dash 7,952; insert "°" 2,524; "Æ" to "E" 1,152 | as stated | `outputs/ocr_qc_hub/confusions.csv` |
| Æ occurs in 1,384 reference items, 1,378 of them rig name "MÆRSK INSPIRER" | 1,378 / 1,384 | derived from `outputs/ocr_qc_hub/items.parquet` (`ref` contains Æ) |
| Per-report CER median 0.93%, p90 4.98%, max 85.7%; 9 / 1,752 exact | as stated | plan.md §1.3 (from `doc_metrics.csv`) |
| Tight well / HPHT: XML N in 1,759, HTML Y in 1,759; OCR exact 0.9954 / 0.992 | as stated | plan.md §1.3; by_field.csv |
| Bit Record End mMD = bitRun_mdHoleStart, 16/16 rows, 90/90 T4 items | as stated | plan.md §1.3 |
| Render QC scope: header, fields, summaries, Operations | as stated | AGENTS.md (DDR XML bullet) |
| Abstention shares (macro, mean): C4 XML 0.678, HTML 0.535, OCR 0.580, RAG 0.638, zero 0.891, few 0.739, tool 0.083, agent 0.129 | as stated | taxonomy.csv (family macro) |
| Wrong wellbore class 0.095-0.190 (C4), RAG 0.110; tool 0.049, agent 0.026 | as stated | taxonomy.csv |
| Wrong report cited, wrong value, call failure, other | table values | taxonomy.csv (`evidence_missed`, `wrong_with_evidence`, `failed`, `no_citation` + `answered_unanswerable`) |
| Agent call failure range | 0.048-0.080 | taxonomy.csv (`failed_min`, `failed_max`) |
| Lookup: C4 XML correct 0.089 / abstained 0.762; HTML 0.285 / 0.448; OCR 0.285 / 0.462 | as stated | taxonomy.csv |
| Aggregation abstention C4 and RAG 0.69-0.71; C4 multi-hop abstention 0.912-1.0 | as stated | taxonomy.csv |
| Multi-hop wrong value: tool 0.254, agent 0.269 | as stated | taxonomy.csv |
| Comparison wrong wellbore: C4 0.210-0.225, RAG 0.214, tool 0.246, agent 0.120, zero 0.130, few 0.395 | as stated | taxonomy.csv |
| EGS definition (measurement + DDR citation, item 0, /3) | {0, 1/3, 2/3} | plan.md §1.7, §12 item 35; `configs/protocol_v4.yaml` |
| H4 rule ρ ≥ 0.3 means not supported | 0.3 | plan.md §12 item 35 |
| Pooled ρ 0.538 / 0.535 / 0.535; rep 0 CI 0.530-0.551; mean 0.536 | as stated | `outputs/m5/errors/report.json` (`rq4`, primary, pooled) |
| Pooled n (rep 0) and levels: 6,242 / 0.013; 6,489 / 0.221; 3,211 / 0.669 | as stated | report.json; accuracy is micro over predictions; pooled includes the `c4_clean` rows and excludes unanswerable questions |
| No-abstention pooled ρ 0.233 / 0.234 / 0.231; rep 0 CI 0.196-0.296; mean 0.232 | as stated | report.json (`no_abstentions`) |
| Within-mode ρ means and ranges (Table tab:egs) | as tabulated | derived: mean, min, max over seeds of report.json rows |
| Tool-only no-abstention ρ −0.095 [−0.133, −0.051], −0.073 [−0.134, −0.030], −0.097 [−0.157, −0.050] | as stated | report.json |
| Tool-only accuracy at EGS 1/3 vs 2/3, rep 0 | 0.787 vs 0.766 | report.json (`by_level`, primary) |
| Few-shot EGS 1/3 answers: 54 / 48 / 51, all wrong, measurement True, ddr_reference False | as stated | report.json; predictions.parquet |
| Qwen pooled ρ 0.331 [0.295, 0.372] | as stated | report.json (qwen, primary, pooled) |