# Protocol v4: M5 error taxonomy by question family and RQ4 (EGS against the automatic score). Extends locked v3. protocol: volve-dia version: 4 status: locked drafted: 2026-11-20 locked_before: any error-class count or EGS value was computed; only the G2 v2 headline metrics were known extends: file: configs/protocol_v3.yaml sha256: 61bc3e1d4f2e7840adb9e5c5fd14bd445c25b988666eca2217325ccda3001622 deviation: date: 2026-11-20 what: >- Protocols v1 to v3 list error analysis (M5) and RQ4 without fixing rules. v4 fixes both before computing them. TADI (arXiv 2605.00060, eq. 3) defines EGS = (1/3)(has_measurement + has_ddr_quote + sections_present/6) for a six-section narrative answer. The locked T4 baselines answer in a JSON object {answer, unit, citations} with no sections and no quoted text, so v4 adapts the two signals that can be observed and records the section term as 0. consequence: >- EGS here is an adaptation of TADI's proxy to the benchmark's answer format, not TADI's agent output. Its rank correlation with correctness is unaffected by the constant section term. Correctness is the automatic score against the XML answer; no human rater exists (plan section 12 item 20). unchanged: - protocols v1, v2 and v3 in full, including T4 automatic scoring, headline metrics, G2 and G3 predictions: primary: VAI DeepSeek-V4.1-Flash-1017, repetitions 0, 1 and 2 (outputs/m34/v2/qa/vai-deepseek-v4-1-flash/rep*.sqlite) secondary: Qwen v1 seed 0 (outputs/m34/qa/qwen.sqlite), complete runs only, reported as partial v1 complete_run: a (model, mode, source, seed) run whose item set equals the locked question set of that condition provenance: checkpoint input digests must equal the current M3-M4 input digests (as in the G2 report) universe: well-scoped questions (single and pair; the 10 field questions are excluded), as in the T4 headline error_taxonomy: unit: prediction rule: >- Each well-scoped prediction gets exactly one class, the first rule that matches, in this order. Answerable questions: correct; failed (call or parse failure); abstained (no answer to an answerable question); wrong_wellbore (the scorer's wrong_wellbore flag: a cited or named wellbore outside the question); no_citation (no citation); evidence_missed (citations, none of them an evidence report, report recall 0); wrong_with_evidence (at least one evidence report cited, answer still wrong). Unanswerable questions: correct (abstained); failed; answered_unanswerable. fields: the stored scorer fields failed, correct, wrong_wellbore and report_recall, and t4.is_abstention on the answer report: >- Share of each class among all predictions of a run, per family (lookup, aggregation, temporal_event, comparison, multi_hop) and macro over families (mean of family shares, as the headline); counts alongside. Primary numbers are the mean over the three DeepSeek repetitions with the per-repetition range. Cross-tabulation by answer type. Descriptive only: no test and no gate. rq4: egs: has_measurement: >- a number followed by a TADI drilling unit in the text " ". Units, matched case-insensitively as a whole token after optional space: m, m/hr, kN, sg, g/cm3, mPa, Pa, ppm, hrs, days, % has_measurement_extended: >- sensitivity only: the TADI units plus h, hr, hour(s), metre(s), meter(s), mMD, mTVD, in, inch(es), ft, ft/h, deg, degree(s), bar, psi, pcf, degC has_ddr_quote: >- at least one citation that resolves to a known DDR report (the report id names the wellbore and the date); quoted text cannot be observed in the JSON answer format sections_present: 0 of 6 for every prediction (no sections in the answer format) formula: EGS = (has_measurement + has_ddr_quote + 0) / 3, so EGS takes the values 0, 1/3 and 2/3 correctness: the stored automatic `correct` flag (failed predictions are excluded) universe: well-scoped answerable questions, failed predictions excluded; abstentions included (primary) sensitivity: [abstentions excluded, extended unit list] statistic: >- Spearman rank correlation between EGS and correctness over all modes and sources of one repetition (pooled), and within each (mode, source) run. 95% interval by whole-well cluster bootstrap, 2,000 resamples, seed 20261117. Accuracy at each EGS level is reported beside it. h4_reading: >- H4 (EGS correlates weakly with correctness) is supported if the pooled point rho of the primary model is below 0.3 in absolute value in every repetition; a pooled rho of 0.3 or more in every repetition does not support it; otherwise mixed. Within-run rhos are reported, since pooling across modes mixes mode differences into rho. code: scripts/19_m5_errors.py, volve_dia/m5_errors.py