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:
17
paper/sections/00_abstract.tex
Normal file
17
paper/sections/00_abstract.tex
Normal file
@@ -0,0 +1,17 @@
|
||||
\begin{abstract}
|
||||
Daily drilling reports record non-productive time (NPT) in both activity codes and comments. We ask how much the
|
||||
codes inflate prediction scores and how well language models answer questions from the underlying records.
|
||||
\VolveDIA{} uses 1,759 reports from 11 Volve wells and WITSML logs from 21 wellbores. The benchmark derives
|
||||
its labels and answers from structured source records and holds out entire wells for supervised evaluation.
|
||||
Showing the activity codes raised average precision for NPT activities from 0.463 to 0.995 for TF-IDF
|
||||
logistic regression (paired increase 0.531, 95\% CI 0.480--0.580) and by 0.27--0.29 for DistilBERT.
|
||||
Depth-interval prediction remained near prevalence. In the planted-cue calibration, the masked TF-IDF score
|
||||
matched a cue rate of about 82\% among planted positives. Three blind language-model raters reached a median
|
||||
sample-weighted $\kappa$ of 0.283 against the NPT code labels, so the NPT tasks remain diagnostics.
|
||||
On 1,652 well-scoped questions, DeepSeek-V4.1-Flash reached a macro-family accuracy of 0.712 with typed queries,
|
||||
0.618 with an agent, 0.148 with text retrieval and 0.071 with the question alone. On the 1,366 well-scoped
|
||||
questions paired across document sources, the optical character recognition (OCR) minus XML differences ranged from $+0.02$ to $+0.04$, with
|
||||
intervals spanning zero. OCR had a character error rate of 2.40\% against HTML text,
|
||||
and two flags were wrong in all 1,759 HTML reports. These results distinguish direct code leakage, access to
|
||||
structured evidence and fidelity of the reports a model reads.
|
||||
\end{abstract}
|
||||
56
paper/sections/01_introduction.tex
Normal file
56
paper/sections/01_introduction.tex
Normal file
@@ -0,0 +1,56 @@
|
||||
\section{Introduction}
|
||||
\label{sec:intro}
|
||||
|
||||
A daily drilling report (DDR) records each activity using times, depths, a comment and a set of codes. The same
|
||||
codes can define non-productive time (NPT) for a benchmark and give a model the label in its input. A second
|
||||
problem arises when the model reads a printed report whose fields differ from the structured source.
|
||||
We ask how much code access raises NPT scores and how access to different records affects answers to drilling
|
||||
questions \citep{lu2026tadi,lu2026petroagents,hussain2026similarity,bihani2026knowledge}.
|
||||
|
||||
The Volve field release contains 1,759 DDRs with 23,447 activities on 26 wellbores of 11 wells
|
||||
\citep{equinor2018volve}. WITSML time logs exist for 21 of those wellbores, which account for 1,384 reports.
|
||||
Under the broader rule used here, three activity fields classify 4,286 activities (18.3\%) as NPT.
|
||||
PetroAgents reported an increase from 0.355 to 0.431 macro-F1 when it exposed the activity codes in an ablation
|
||||
on 30 well-day examples \citep{lu2026petroagents}. We measure the score change at activity level and hold out
|
||||
entire wells. We also compare the structured records with the published renders. The \emph{Tight well} and
|
||||
\emph{HPHT} flags print as \texttt{Y} in all 1,759 HTML reports even though the XML records negative values.
|
||||
Across the 1,752 reports with complete optical character recognition (OCR), the character error rate (CER) and
|
||||
word error rate (WER) against the HTML text were 2.40\% and 5.56\%, respectively (Section~\ref{sec:data}).
|
||||
|
||||
\VolveDIA{} defines benchmarks for hole-section classification and grounded question answering, with NPT
|
||||
activity classification, NPT depth-interval forecasting and similar-interval retrieval reported as diagnostics.
|
||||
The reference data come from DDR XML, WITSML and formation picks. All 1,662 question answers from 39 templates
|
||||
agree across SQL, an independent pandas implementation and checks against the raw XML. The answering baselines
|
||||
range from a question-only prompt to typed queries and an agent. The document comparison holds the questions
|
||||
and reference answers fixed across XML, HTML and OCR text. It pairs 1,376 questions and repeats the comparison
|
||||
on 1,293 after excluding questions whose evidence reports have a date flag and rebuilding the retrieval corpora
|
||||
(Sections~\ref{sec:design} and \ref{sec:res:c4}). The protocols and deviations are recorded in
|
||||
Appendix~\ref{app:record}.
|
||||
|
||||
Activity codes dominate NPT scores when supplied to the classifier. Showing them raised average precision (AP)
|
||||
by 0.531 for TF-IDF and by 0.266 to 0.291 for DistilBERT. With the codes masked, DistilBERT reached 0.579 to
|
||||
0.603, TF-IDF reached 0.463, and the prevalence was 0.183. The hosted zero-shot model scored 0.055 to 0.058
|
||||
below TF-IDF, with intervals spanning zero. A planted phrase on about 82\% of planted positives produced
|
||||
the same masked TF-IDF score under the calibration design. Depth-interval prediction stayed near prevalence,
|
||||
and its depth-neighbour score matched a weak planted depth effect. The cue study also exposed a failure in its
|
||||
design. At the larger decoy rate, $f = 0.10$, the locked null failed because the absence of a cue already carried
|
||||
information about the class. A post hoc check with equal cue rates illustrates the mechanism
|
||||
(Sections~\ref{sec:res:leak} and \ref{sec:res:planted}).
|
||||
|
||||
Access to XML-derived tables gave DeepSeek the highest question-answering scores. Macro-family accuracy over
|
||||
three repetitions reached 0.712 with typed queries, 0.618 with an agent, 0.148 with retrieval-augmented
|
||||
generation (RAG) and 0.071 with the question alone. The agent exceeded RAG by 0.461 to 0.479 and fell below
|
||||
tool-only by 0.075 to 0.116 in paired comparisons. Abstentions accounted for 0.535 to 0.678 of the predictions
|
||||
with text retrieval. Wrong-wellbore rates were 0.198 to 0.381 with text retrieval and about 0.05 with tools.
|
||||
On paired document questions, OCR minus XML was $+0.023$ to $+0.038$, with confidence intervals spanning zero
|
||||
(Sections~\ref{sec:res:t4}, \ref{sec:res:c4} and \ref{sec:res:errors}).
|
||||
|
||||
The NPT labels measure how the DDR records an activity. Agreement with independent drilling-engineer annotations
|
||||
is unknown. Three blind language-model raters compared 300 masked activities to the broader code-based definition
|
||||
and reached a median sample-weighted $\kappa$ of 0.283, below the 0.6 threshold. No class met the separate reporting
|
||||
criteria. Reproducing all 1,758 DrillScribe episode keys checks parsing of a shared source
|
||||
\citep{paul2026drillscribe}. Anatoly5ms provides a separate text-rule cross-check \citep{grigorovich2026complication}. For hole section, agreement was 0.707 on published days
|
||||
and 0.059 on days with a filled value. The primary hole-section result uses published days. The primary language-model
|
||||
judge agreed with the automatic free-text scorer at $\kappa = 0.98$ on the judged sample, and the headline T4
|
||||
results use the automatic XML-based scores. The open-weight Qwen3-8B run covers only part of the planned matrix
|
||||
(Sections~\ref{sec:res:t4} and \ref{sec:res:labels}).
|
||||
63
paper/sections/02_related.tex
Normal file
63
paper/sections/02_related.tex
Normal file
@@ -0,0 +1,63 @@
|
||||
\section{Related work}
|
||||
\label{sec:related}
|
||||
|
||||
Work on drilling records with language models has grown quickly, and most of it uses the Volve release \citep{equinor2018volve}. This section groups the studies by what they measure and asks, for each group, whether labels, splits and the reading step are controlled. Table~\ref{tab:positioning} summarizes the comparison. Several entries are conference papers whose full text we could not obtain; the table and the text mark them as \emph{abstract only}, and nothing is claimed about them beyond their abstracts.
|
||||
|
||||
\paragraph{Agentic systems on Volve have been specified more often than scored.}
|
||||
TADI combines a DuckDB store of 12 tables with a ChromaDB vector index, exposes 12 tools to an orchestrating model, proposes an evidence grounding score (EGS) and gives a taxonomy of 130 questions \citep{lu2026tadi}. The paper reports no quantitative result, and EGS is defined but not computed on any question. Whether EGS tracks correctness was therefore open; Section~\ref{sec:res:errors} tests an adapted version against automatic scores. PetroAgents, by the same author, specifies a benchmark of six tasks and reports two of them \citep{lu2026petroagents}. Its NPT task labels 1,750 well-days in 7 classes derived from \texttt{stateDetailActivity} and \texttt{proprietaryCode}. Each seed scores a stratified sample of 60 examples, and the split groups by wellbore, so the sub-wellbores of well F-11 are kept apart. Macro-F1 was 0.464 over all wellbores and 0.442 on the subset with WITSML. The multi-agent system exceeded a single model by 0.048 on that subset ($p = 0.22$), which is not significant. The paper is also the only Volve study we found that measures code leakage: exposing the codes raised one baseline from 0.355 to 0.431, on 30 examples. It is a preprint without peer review. We take from it the observation that the codes leak, and we make masked input the primary mode. Because its unit, sample and split differ from ours, its numbers are not placed in a table with ours.
|
||||
|
||||
\paragraph{Two conference papers evaluate question answering on Volve reports, without labelling tasks or code control.}
|
||||
Both are abstract only. \citet{hussain2026similarity} build a deterministic retrieval tree from field to wellbore, report and section over 1,266 Volve DDRs. They evaluate generated questions with recall, mean reciprocal rank, nDCG and a wrong-well rate. Their emphasis on wellbore accuracy matches an error class that dominates our retrieval results (Section~\ref{sec:res:errors}). \citet{bihani2026knowledge} run a ReAct agent over 1,681 Volve DDRs and a set of BSEE reports, compare five ways of organizing the knowledge, check answers by machine and judge outputs blind in pairs with a multiplicity correction. The abstracts describe document question answering. They provide no section, NPT or depth-interval task and no code-leakage comparison. They are the direct comparators of our T4. Our T4 differs in that answers are computed from the XML by three independent routes, and the same questions are answered from XML, HTML and OCR text. Other systems are described without public questions or numbers. \citet{joshi2025unified} present a commercial agent over WITSML and PDF reports tested on Volve, and \citet{boden2025rag} evaluate a closed research assistant with 75 users (both abstract only). \citet{idrus2026cognitive} classify activity logs on internal data and note that supervisors choose activity codes inconsistently (abstract only). That observation is one reason why code-derived labels need validation. \citet{mishra2026timeseries} study report generation from sensor time series using multimodal and
|
||||
tool-augmented methods (workshop abstract). That task produces a report from signals.
|
||||
\todo{Verify authors and publication metadata for EAGE 2026101276 before citing.}
|
||||
|
||||
\paragraph{Public NPT labels on Volve are transforms of the same activity codes.}
|
||||
DrillScribe builds an NPT ledger of episodes from the DDR XML, groups its folds by well name and reports a text-only F1 of 0.866 \citep{paul2026drillscribe}. Its labels are a transform of \texttt{stateDetailActivity}. Our parser reproduces all 1,758 of its episode keys from the 23,447 activities. This agreement validates the parser, not the labels: both sides read the same field, so DrillScribe is not an independent label set. The repository of \citet{grigorovich2026complication} labels 10\,m measured-depth intervals with regular expressions and codes, and splits by well. It documents post-event feature leakage. The share of positive intervals whose drilling-fluid features were measured after the event began fell from 53\% to 4\% once features were taken when the bit entered the interval; this is a contamination rate, not a score. It ships no label file. We reimplemented its text rules on our 10\,m grid. They mark 219 of the 4,894 T3 cells and overlap with 72 of the 478 positive NPT~(a) cells (Jaccard 0.115) and with 83 of the 556 NPT~(b) cells (Jaccard 0.120). The rules target four trouble groups, while T3 covers all NPT, so low overlap is expected. Both repositories are code, not peer-reviewed publications. Both keep sidetracks with their parent well, which supports our choice of the well as the split unit.
|
||||
|
||||
\paragraph{Stuck-pipe and NPT prediction on Volve rests on few events or few wells.}
|
||||
The TSPP dataset gives WITSML time series around stuck-pipe events on Volve \citep{cao2024tspp,cao2023tsppdata}; the dataset paper is abstract only. The full text of the follow-up study \citep{cao2025crossformer} shows three stuck events and no label column. It trains a Crossformer on normal drilling, splits each series in time, and reports two case studies, not an aggregate accuracy. The repository has no licence. In the DDR, the three event windows contain 9, 14 and 15 activities and no activity coded as stuck equipment. TSPP therefore serves as a qualitative case, not as a label set. \citet{mbamarah2026hierarchical} predict NPT from Volve DDRs by training on well F-10 and testing on F-9, with an F1 of 0.436 (abstract only). This is the only cross-well NPT number we found on Volve, and it rests on two wells. \citet{abaalharith2026hybrid} report an F1 of 0.993 for geomechanical risk on Volve wells with leave-one-well-out validation (abstract only). The abstract does not explain the near-perfect score, so we do not interpret it \todo{verify the split and feature timing of IPTC-25191-MS from the full text}. \citet{almamoori2025stuck} detect stuck pipe with an autoencoder; we have not verified its split design \todo{verify the data and split of Al-Mamoori et al. 2025 before characterizing it}. \citet{cunedioglu2026practical} detect rig and stand activity with rules on Volve and FORGE data (abstract only); rig-state rules of this kind produce context features rather than NPT labels.
|
||||
|
||||
\paragraph{Rule-built labels with provenance have a precedent outside drilling.}
|
||||
\citet{bassey2026grounded} construct anomaly labels on Volve daily production data, not on drilling reports or WITSML. Rule-based candidates are confirmed against the plan for development and operation, giving 236 events on 6 production wells, released with provenance under CC BY-NC-SA \citep{bassey2026release}. The labels describe production days, so they cannot serve as a reference for drilling NPT. The study is a precedent for the method we follow: labels built by rules, released with the rule that produced each one, and evaluated across wells.
|
||||
|
||||
\paragraph{Domain benchmarks for language models test knowledge, not records.}
|
||||
PetroBench poses petroleum-engineering questions to language models \citep{wang2026petrobench}, and a related benchmark from the PetroAgents author does the same in multiple-choice form \citep{lu2026upstreambench}. DrillBench evaluates sequential decisions on episodes from a geothermal drilling campaign \citep{shah2026drillbench}. None of these asks a model to recover facts or labels from the reports of a specific well, which is what \VolveDIA{} measures.
|
||||
|
||||
\paragraph{Leakage and split design decide what a drilling score means.}
|
||||
Target leakage arises when a feature is a function of the label or is recorded after the event \citep{kaufman2012leakage}. In DDR tasks both forms are present: NPT status is a function of the activity codes, and fluid or survey records may postdate an event. A split by time window within one well also inflates scores, because adjacent windows share the formation, the bit run and the crew \citep{roberts2017crossvalidation}. On Volve a further dependence exists: sidetracks share the upper hole of their parent well. We therefore split by well, mask the codes in the primary input and keep T3 features strictly before the event (Section~\ref{sec:design:splits}).
|
||||
|
||||
\paragraph{Document-reading benchmarks measure text fidelity, not its downstream effect.}
|
||||
OCR and document-parsing benchmarks score the transcribed text against a reference transcription \citep{ouyang2025omnidocbench}. A low character error rate does not show that an answer built on that text is correct, and a correct transcription of a faulty render carries the fault through. Volve provides both structured XML and rendered documents. The C4 comparison uses these parallel sources and holds the reference answer fixed.
|
||||
|
||||
\paragraph{Position of this work.}
|
||||
Table~\ref{tab:positioning} compares studies by the source of their labels, the unit held out and the evaluations
|
||||
they report. \VolveDIA{} measures code exposure on the same held-out wells, retains the provenance of each label and
|
||||
answer, and measures the document contrast against a fixed XML reference. Blind language-model ratings quantify
|
||||
agreement on code-derived labels. A separate language-model judge checks consistency with the automatic answer scorer.
|
||||
|
||||
\begin{table}[t]
|
||||
\centering
|
||||
\caption{Positioning of studies on Volve drilling records and related benchmarks. Entries marked $^{a}$ were read as abstracts only. Numbers from other studies follow their own protocols and are not comparable with ours.}
|
||||
\label{tab:positioning}
|
||||
\footnotesize
|
||||
\setstretch{1}
|
||||
\setlength{\tabcolsep}{3pt}
|
||||
\begin{tabular}{@{}>{\raggedright\arraybackslash}p{2.4cm}>{\raggedright\arraybackslash}p{2.4cm}>{\raggedright\arraybackslash}p{2.7cm}>{\raggedright\arraybackslash}p{2.0cm}>{\raggedright\arraybackslash}p{2.4cm}>{\raggedright\arraybackslash}p{2.8cm}@{}}
|
||||
\toprule
|
||||
Work & Data & Labels & Split & Leakage control & Evaluation \\
|
||||
\midrule
|
||||
\citet{lu2026tadi} & Volve DDR, WITSML, other files & None & None & None & None reported; EGS defined, not computed \\
|
||||
\citet{lu2026petroagents} & Volve DDR, WITSML & Well-day NPT class from codes & By wellbore & Code ablation on 30 examples & Macro-F1 on 60-example samples; preprint \\
|
||||
\citet{hussain2026similarity}$^{a}$ & 1,266 Volve DDRs & Generated questions & Not stated & Not stated & Retrieval metrics, wrong-well rate \\
|
||||
\citet{bihani2026knowledge}$^{a}$ & 1,681 Volve DDRs, BSEE reports & Machine-checked answers & Not stated & Not stated & Blind pairwise judging \\
|
||||
\citet{paul2026drillscribe} & Volve DDR XML & NPT episodes from \texttt{stateDetail}\allowbreak\texttt{Activity} & By well name & Codes not in input & Text-only F1; code repository \\
|
||||
\citet{grigorovich2026complication} & Volve DDR, WITSML & 10\,m intervals from rules and codes; no label file & By well & Post-event features reduced & Code repository \\
|
||||
\citet{cao2025crossformer} & Volve WITSML, 3 stuck events & Events named in text; no label column & In time, within a series & Not stated & Two case studies \\
|
||||
\citet{mbamarah2026hierarchical}$^{a}$ & Volve DDR, 2 wells & NPT & Train F-10, test F-9 & Not stated & F1 \\
|
||||
\citet{abaalharith2026hybrid}$^{a}$ & Volve, 4 wells & Geomechanical risk intervals & Leave one well out & Not stated & F1; source of score unclear \\
|
||||
\citet{bassey2026grounded} & Volve production data & Rule-built production events with provenance & Leave one well out & Not applicable & Anomaly detection \\
|
||||
\midrule
|
||||
\VolveDIA{} (this work) & Volve DDR XML, HTML, OCR, WITSML & Built by code from XML and WITSML; public mapping; LLM agreement and source cross-checks & By well; leave one well out & Codes masked; pre-event features; masked and unmasked runs & T1--T5; three repetitions; well-cluster CIs; same questions from XML, HTML and OCR \\
|
||||
\bottomrule
|
||||
\end{tabular}
|
||||
\end{table}
|
||||
198
paper/sections/03_data.tex
Normal file
198
paper/sections/03_data.tex
Normal file
@@ -0,0 +1,198 @@
|
||||
% Section 3: Data. Every number is traced in paper/provenance/03_05_AB.md.
|
||||
\section{Data}\label{sec:data}
|
||||
|
||||
\VolveDIA{} is built from the daily drilling reports (DDRs), the WITSML real-time logs and the formation picks of the
|
||||
Volve field data set \citep{equinor2018volve}. All counts in this section are computed by code from the local copy of
|
||||
that release, and Table~\ref{tab:inventory} collects them. Figure~\ref{fig:overview} shows how the sources feed the
|
||||
labels and the model inputs. The one rule the figure is meant to show is that labels and reference answers come only
|
||||
from the XML and WITSML files; rendered and OCR text is model input and never a label source.
|
||||
|
||||
\begin{table}[t]
|
||||
\centering
|
||||
\caption{Inventory of the Volve sources used by \VolveDIA{}. Counts are from the parsed local copy; OCR figures are
|
||||
for the full-corpus export, not the pilot.}
|
||||
\label{tab:inventory}
|
||||
\small
|
||||
\begin{tabular}{@{}p{0.30\textwidth}p{0.62\textwidth}@{}}
|
||||
\toprule
|
||||
Item & Value \\
|
||||
\midrule
|
||||
Daily drilling reports & 1,759 reports on 26 wellbores of 11 wells; 6 (15/9-F-15 B) to 165 (15/9-F-12) per
|
||||
wellbore \\
|
||||
Formats per report & XML (WITSML \texttt{drillReport}), HTML and PDF for all 1,759 reports \\
|
||||
Size on disk & XML 21.3 MB; HTML 31.0 MB; PDF 56.8 MB; WITSML 19.3 GB \\
|
||||
Activities & 23,447 rows; 64 activity codes in 7 main groups \\
|
||||
PDF pages & 3,066 (457 one-page, 1,297 two-page and 5 three-page reports); 83 near-empty last pages \\
|
||||
Sentinel values set to missing & 9,164 in the DDR tables; 3,703 in the WITSML object files \\
|
||||
WITSML coverage & 21 DDR wellbores with time logs (none for the five 15/9-19 wellbores); 1,384 reports on those
|
||||
wellbores, 1,102 with at least 1 h and 983 with at least 23 h of log in the report period \\
|
||||
WITSML volume & 2.25 billion time-log values; 45.4 million depth-log values; 1,744 mnemonics; 2.2 GB as Parquet \\
|
||||
Formation picks & 409 picks on 35 wellbores; 24 DDR wellbores with their own picks, 2 with shared picks only \\
|
||||
OCR export & 3,059 of 3,066 DDR pages matched; 1,752 of 1,759 reports complete; 16 pages with a date
|
||||
disagreement \\
|
||||
\bottomrule
|
||||
\end{tabular}
|
||||
\end{table}
|
||||
|
||||
\begin{figure}[t]
|
||||
\centering
|
||||
\begin{tikzpicture}[
|
||||
font=\small,
|
||||
box/.style={draw, rounded corners=2pt, align=center, minimum height=9mm, text width=3.0cm, inner sep=3pt},
|
||||
src/.style={box, fill=gray!12},
|
||||
code/.style={box, fill=blue!8},
|
||||
res/.style={box, fill=green!10},
|
||||
arr/.style={-{Stealth[length=2.2mm]}, thick}]
|
||||
\node[src] (xml) at (0,0) {DDR XML\\(1,759 reports)};
|
||||
\node[src] (wits) at (0,-1.6) {WITSML logs and\\formation picks};
|
||||
\node[src] (render) at (0,-3.8) {HTML and PDF\\renders};
|
||||
\node[code] (code) at (3.75,-0.8) {Deterministic code\\(parser, \texttt{labels.yaml},\\SQL)};
|
||||
\node[code] (ocr) at (3.75,-3.8) {OCR of\\page images};
|
||||
\node[res] (lab) at (7.5,-0.8) {Labels and answers\\T1--T5, with provenance};
|
||||
\node[box] (inp) at (7.5,-3.8) {Model input\\(masked text,\\WITSML features)};
|
||||
\node[box, text width=1.6cm] (eval) at (10.9,-2.3) {Scoring\\by code};
|
||||
\draw[arr] (xml) -- (code);
|
||||
\draw[arr] (wits) -- (code);
|
||||
\draw[arr] (code) -- (lab);
|
||||
\draw[arr] (xml.west) -- ++(-3mm,0) |- (render.west) node[pos=0.25, left, align=right] {publisher\\render};
|
||||
\draw[arr] (render) -- (ocr);
|
||||
\draw[arr] (ocr) -- (inp);
|
||||
\draw[arr] (code.south east) -- node[right, pos=0.5, align=left, font=\scriptsize] {masked XML\\text and tables}
|
||||
(inp.north west);
|
||||
\draw[arr] (lab.east) -| (eval.north);
|
||||
\draw[arr] (inp.east) -| node[pos=0.25, below, font=\scriptsize] {predictions} (eval.south);
|
||||
\draw[arr, dashed, red!70!black] (ocr.north) -- node[pos=0.5, font=\Large] {$\times$}
|
||||
node[pos=0.5, left=3mm, align=right, font=\scriptsize, text=red!70!black] {OCR never\\creates a label} (code.south);
|
||||
\end{tikzpicture}
|
||||
\caption{Data flow of \VolveDIA{}. Labels and reference answers for tasks T1--T5 are computed by code from the DDR
|
||||
XML, the WITSML logs and the formation picks. The HTML and PDF renders and their OCR text only reach the model input,
|
||||
for example in the document-fidelity contrast C4; the crossed arrow marks the path that is never used.}
|
||||
\label{fig:overview}
|
||||
\end{figure}
|
||||
|
||||
\subsection{Daily drilling reports}
|
||||
|
||||
The DDR corpus has 1,759 reports on 26 wellbores of 11 wells, and every report exists in three versions. The XML file
|
||||
follows the WITSML \texttt{drillReport} schema; the HTML and PDF files are renders of it by the publisher. We parse
|
||||
the XML into 17 DuckDB tables that keep the WITSML element names as column names, so that every value can be traced
|
||||
back to the schema. The report count per wellbore ranges from 6 (15/9-F-15 B) to 165 (15/9-F-12).
|
||||
|
||||
The activity table is the core of the corpus. It holds 23,447 rows, each with start and end times, an end depth in
|
||||
metres measured depth (MD), a free-text comment, a proprietary activity code, a state and a state detail. The 64
|
||||
codes fall into seven main groups: drilling (9,137 rows), plug and abandon (4,595), interruption (3,577), completion
|
||||
(2,944), workover (2,221), formation evaluation (732) and moving (241). The state is \texttt{ok} on 22,967 rows and
|
||||
\texttt{fail} on 480. The state detail is \texttt{success} on 20,802 rows; the remaining values are equipment failure
|
||||
(1,975), operation failed (456), stuck equipment (109), circulation loss (92), mud loss (12) and injury (1). These
|
||||
three fields are the source of the NPT labels in Sec.~\ref{sec:design:labels}, and they are masked in the model input
|
||||
(Sec.~\ref{sec:design:splits}). The \texttt{phase} column holds only the values ``fixed'' (20,696) and ``wire line''
|
||||
(2,751); it records the rig type, not a drilling phase, and is not used as a label. The text fields are short: a
|
||||
comment has 114.3 characters on average and a 24-hour summary 173.2. The summary is the literal string ``None'' in 73
|
||||
reports, and the forecast in 103.
|
||||
|
||||
The reports are internally consistent with few exceptions. The date in each file name equals the end of its reporting
|
||||
period, and no (wellbore, date) pair repeats. The period lasts 24 h in 1,751 reports and 23 h or 25 h in four
|
||||
reports each, at the daylight-saving changes. Between consecutive activities, 21,667 gaps are zero, 25 are positive
|
||||
and 5 are negative (overlaps). Activity durations sum to the period length in 1,529 reports and fall short in 221
|
||||
(2,605.01 h in total); none exceeds it. Nine reports have no activity. One of them, \texttt{15\_9\_19\_A\_1980\_01\_01},
|
||||
is a placeholder for five tie-in survey stations with a default date in 1980, while its wellbore was spudded in
|
||||
1997. It is excluded from T1--T3 and kept in the published data that T4 queries.
|
||||
|
||||
\subsection{Sentinels, units and missing fields}
|
||||
|
||||
Missing values in the DDR XML are written as sentinels, which the parser turns into nulls. We found 9,164 values equal
|
||||
to $-999.99$, $-999.25$ or $-9999$ and set each to missing, with a per-column count kept in a \texttt{sentinels}
|
||||
table. Two header fields are sentinels in all 1,759 reports: the planned depth (\texttt{mdPlanned}) and the current
|
||||
rate of penetration (\texttt{ropCurrent}). Rate of penetration therefore cannot be read from the report header. The
|
||||
drilled distance (\texttt{distDrill}) is a sentinel in 1,247 reports, and the bit record gives an average rate of
|
||||
penetration in only 88 values over 80 reports on 21 wellbores. Questions about rate of penetration must state which
|
||||
of these sources they use, and the T4 templates do. Each column carries a single unit, recorded in a \texttt{units}
|
||||
table of 105 rows. The parsed hole diameter (\texttt{diaHole}) is missing in 990 reports, including the placeholder report. Most of them are
|
||||
completion, workover or abandonment days, but 260 of them, on 24 wellbores, still contain drilling activities
|
||||
(2,618 rows). The bit table covers only 25 of these 260 reports, so the section label of T1 needs a fill rule
|
||||
(Sec.~\ref{sec:design:labels}).
|
||||
|
||||
\subsection{WITSML real-time data and formation picks}
|
||||
|
||||
WITSML time logs exist for 21 of the 26 DDR wellbores; the five 15/9-19 wellbores have none. The 1,384 reports of the
|
||||
21 wellbores are the scope of the parts of the benchmark that need real-time data: T3, T5 and the WITSML features of
|
||||
T1. Of these reports, 1,102 have at least one hour of log data in their period and 983 have at least 23 hours. Three
|
||||
wellbore names differ between WITSML and DDR: WITSML \texttt{15/9-F-15 S} is DDR 15/9-F-15, WITSML 15/9-F-15 is DDR
|
||||
15/9-F-15 A, and WITSML 15/9-F-15A is DDR 15/9-F-15 C. We resolved them from the wellbore identifier, the final
|
||||
report depth, the survey stations and the total depth, not from the names. A pipeline that joins the two sources by
|
||||
name assigns the logs of these wellbores to the wrong DDRs.
|
||||
|
||||
The parser stores the logs in long format, one Parquet file per wellbore: 2.25 billion time-log values and 45.4
|
||||
million depth-log values over 1,744 mnemonics, 2.2 GB in total. The logs come from two service companies with
|
||||
different layouts. The 2013--2016 logs have 78 channels at a 3.0~s step. The 2007--2009 logs have 42 to 252 channels
|
||||
with a median step of 3.97~s. Within a log, 2.9 million values are duplicated, all with identical values and no
|
||||
conflict; we rank duplicates across logs and delete none. In the WITSML object files, 3,703 sentinel values are set to
|
||||
missing. Further suspect values stay in the stored logs and are counted, and protocol v1 treats them as missing at
|
||||
the feature stage: $-999$, $-99999$, $99999$, $9999$ and magnitudes above $10^{15}$. The rule follows what the values
|
||||
are: $-999$ fills MWD channels (224,841 values), $99999$ sits almost entirely in one annular-velocity channel
|
||||
(279,676 of 279,866 values), and $9999$ appears in timer channels. The object counts reproduce those reported for
|
||||
TADI \citep{lu2026tadi}: 161 BHA runs, 2,882 mud-log intervals and 11,134 messages. The trajectory count does not:
|
||||
we parse 5,561 stations against 4,217 in TADI, and we have not found the cause.
|
||||
|
||||
Formation tops come from the field's well-pick file, with 409 picks on 35 wellbores. Matching by name finds picks
|
||||
for 23 of the 26 DDR wellbores. Three mappings close the gap: \texttt{15/9-19 SR} is DDR 15/9-19 ST2; DDR 15/9-19 S
|
||||
inherits the four picks of SR above the kick-off point at 1,493~m; and 15/9-F-9 A inherits two picks of 15/9-F-9.
|
||||
After mapping, 24 DDR wellbores have their own picks and 2 have shared picks only. The DDRs also list formation tops
|
||||
(\texttt{stratInfo}). Against them, 130 picks match by name, with a median difference of 0.0~m and 97 within 5~m.
|
||||
The other 33 differ by up to 1,093~m. The largest differences occur where the DDR lists two different depths for the
|
||||
same formation, so we keep the pick file as the single source of formation labels and use \texttt{stratInfo} only as
|
||||
a cross-check.
|
||||
|
||||
\subsection{Fidelity of the rendered reports}
|
||||
|
||||
The renders are not faithful copies of the XML. We compared 272,544 printed items of the 1,759 HTML reports with the
|
||||
XML values: the header, 31 report fields, the two 24-hour summaries and the Operations table. All items agree except
|
||||
two flags. \emph{Tight well} and \emph{HPHT} are 0 (no) in the XML of all 1,759 reports and are printed as ``Y'' in
|
||||
all 1,759 renders. A third error came to light when we checked T4 answers: the ``End mMD'' column of the Bit Record
|
||||
table prints the hole depth at the \emph{start} of the bit run (\texttt{bitRun\_mdHoleStart}). We confirmed this on
|
||||
16 of 16 rows by hand and on 90 of 90 rows through T4; the ``Form ROP'' column of the same table prints the average
|
||||
rate of penetration correctly (88 of 88). The other 13 tables of the HTML report were not compared. A pipeline that
|
||||
reads only the PDF inherits these errors, and no OCR system can correct them, because the page itself is wrong.
|
||||
\VolveDIA{} therefore takes these fields from the XML only, and the C4 contrast (Sec.~\ref{sec:res:c4}) starts from
|
||||
the fact that a born-digital render can already differ from its source.
|
||||
|
||||
\subsection{OCR of the rendered pages}
|
||||
|
||||
The PDFs are born-digital, with a text layer. OCR matters when a DDR archive exists only as page images, and to
|
||||
measure what it does to the benchmark tasks, the pages were read as images by an OCR model. \todo{name and version of
|
||||
the OCR model
|
||||
used for the full-corpus export} The PDFs have 3,066 pages; 83 near-empty pages (fewer than 50 characters) are all last
|
||||
pages of a report. A colleague ran OCR on 3,639 PDF pages, of which 3,066 are DDR pages, and exported the result through
|
||||
a data hub in COCO format (3,502 images, 33,489 text blocks). The export did not keep file names, so we matched each
|
||||
page to its report by content. A TF-IDF filter proposes candidate pages; an idf-weighted token F1 of at least 0.7
|
||||
accepts a match for pages with at least 50 tokens; a thumbnail correlation of at least 0.9 decides pages without
|
||||
text. Of the 3,066 DDR pages, 3,059 were matched, including all 49 blank pages, and 1,752 of the 1,759 reports are
|
||||
complete. The seven unmatched pages have thumbnail correlations of 0.69--0.94 with their best candidate, and their
|
||||
seven reports are dropped from the OCR experiments. A second check compares the dates printed on a page with the dates
|
||||
the OCR read. Of the 1,753 pages that carry a date, 16 disagree. All 16 have a text F1 of at least 0.91 and a
|
||||
thumbnail correlation of at least 0.94, so the page match is probably right and the OCR misread a digit or dropped the
|
||||
period line; we have not inspected them page by page. C4 reports results with and without these 16 pages.
|
||||
|
||||
The OCR quality was measured on the full export, not on a sample. The QC parses the HTML and the OCR blocks into the
|
||||
same structure (header, fields, paragraphs and tables) and compares them item by item. Only whitespace is normalised;
|
||||
a missing item counts as a deletion and an extra OCR item as an insertion. The OCR parser undoes the pagination of
|
||||
the PDF before the comparison: it joined tables broken across pages 1,136 times and merged continuation rows 151 times,
|
||||
a repair that never fires on the HTML. Over 1,752 reports, 3,056 pages and 365,698 content items, the exact-match
|
||||
rate is 0.9181, the character error rate (CER) 2.40\% and the word error rate (WER) 5.56\%. Table cells (280,995
|
||||
items) reach an exact-match rate of 0.9116 and a CER of 2.67\%; the Operations table (140,322 cells) is weaker, at
|
||||
0.8605 and 2.99\%. Header fields reach 0.9280 and 3.00\%. The fields that matter most for drilling questions are the
|
||||
weakest. The depth field (metres MD) has an exact-match rate of 0.9241 and a CER of 6.97\%, the hole diameter has a CER
|
||||
of
|
||||
5.4\%, and the rig name has an exact-match rate of only 0.3385. In the pressure and temperature fields the OCR
|
||||
inserts units that the page does not print. The per-report CER has a median of 0.93\%, a 90th percentile of 4.98\% and
|
||||
a maximum of 85.7\%, and only 9 of the 1,752 reports are read without any error. The most frequent character errors
|
||||
are an inserted space (9,507), a dropped hyphen (9,160), a hyphen read as an en dash (7,952), an inserted degree sign
|
||||
(2,524) and \AE{} read as E (1,152).
|
||||
|
||||
These rates understate the risk for drilling use. In a pilot of 26 reports (47 pages), each error was checked against
|
||||
the page image, and the error types are listed in Appendix~\ref{app:labels}. The OCR fills empty unit brackets, invents
|
||||
a printed-date line, silently corrects typing errors of the source, misreads proper names, merges table columns, and in
|
||||
one report shifts a depth value one field down. The last error type produces a value that looks valid and is wrong.
|
||||
The pilot pages come from a different OCR run (3.97\% of their characters differ from the export), so the pilot
|
||||
illustrates the error types; all rates in this paper are full-corpus rates.
|
||||
|
||||
The release terms for the labels and tables derived from this copy of the data are still to be settled.
|
||||
181
paper/sections/04_design.tex
Normal file
181
paper/sections/04_design.tex
Normal file
@@ -0,0 +1,181 @@
|
||||
% Section 4: Benchmark design. Every number is traced in paper/provenance/03_05_AB.md.
|
||||
\section{Benchmark design}\label{sec:design}
|
||||
|
||||
\VolveDIA{} defines five tasks on the data of Sec.~\ref{sec:data} and one contrast (Table~\ref{tab:tasks}). Their
|
||||
roles differ, and the roles were fixed in protocol v1 before any baseline ran. Grounded question answering (T4) and the
|
||||
document-fidelity contrast C4 are the headline analyses. The hole-section task T1 on days with a published hole size
|
||||
supports them. The two NPT tasks, T2 and T3, are diagnostics: they test how well a model recovers the DDR activity
|
||||
codes from masked text and data, which is not the same as detecting non-productive time as an engineer would. T5 is an
|
||||
optional retrieval diagnostic added later under its own protocol. All labels and answers come from code
|
||||
(Sec.~\ref{sec:design:labels}); validation without a human rater is described in Sec.~\ref{sec:design:validation}, the
|
||||
split and leakage rules in Sec.~\ref{sec:design:splits}, and the locked protocols in Sec.~\ref{sec:design:protocols}.
|
||||
|
||||
\begin{table}[t]
|
||||
\centering
|
||||
\caption{Tasks of \VolveDIA{}. NPT (b) is the primary definition and (a) the sensitivity definition. ``Masked'' means
|
||||
that the activity code, state and state detail are removed from the input.}
|
||||
\label{tab:tasks}
|
||||
\small
|
||||
\begin{tabular}{@{}p{0.12\textwidth}p{0.19\textwidth}p{0.19\textwidth}p{0.17\textwidth}p{0.20\textwidth}@{}}
|
||||
\toprule
|
||||
Task & Unit and size & Input & Metric & Leakage control \\
|
||||
\midrule
|
||||
T1 hole section & Report day; 932 drilling days (672 published, 260 filled) & DDR text of the day and WITSML
|
||||
statistics & Pooled out-of-fold accuracy per label source & Hole-size, bit-size and casing-size fields withheld \\
|
||||
T2 NPT activity & Activity; 23,447 rows, 4,286 NPT (b), 3,577 NPT (a) & Comment, neighbouring comments, 24-hour
|
||||
summary & Average precision & Codes masked; unmasked run as ablation \\
|
||||
T3 NPT depth interval & 10~m cell; 4,894 own-hole cells on 21 wellbores & Activity history, WITSML, formation
|
||||
distance & Interval IoU; average precision per cell & Features end before the interval starts; codes masked \\
|
||||
T4 grounded QA & Question; 1,662 (1,638 answerable, 24 unanswerable), 39 templates & Question plus mode-specific
|
||||
evidence & Accuracy within tolerance; citation precision; wrong-wellbore rate & Answers by SQL; few-shot examples
|
||||
from development wells \\
|
||||
C4 fidelity & Paired T4 question; 1,376 (1,293 without date-flagged pages) & Same retrieval over XML, HTML or OCR
|
||||
text & T4 metrics, paired by question & Labels from XML in every condition \\
|
||||
T5 similar interval & Query interval; 410 (b), 373 (a) & Depth, WITSML and masked text before the interval &
|
||||
nDCG@10, MRR, P@10 & Candidates from other wells; no code, cause, section or formation read \\
|
||||
\bottomrule
|
||||
\end{tabular}
|
||||
\end{table}
|
||||
|
||||
\subsection{Labels by code}\label{sec:design:labels}
|
||||
|
||||
Every label is computed by code from the DDR XML tables, the WITSML logs or the pick file, and every derived value
|
||||
carries its provenance. The mapping from source fields to labels is a public configuration file. A check compares
|
||||
the code and state counts written in that file with the data and reports every difference. No person and no language
|
||||
model
|
||||
creates a label, and rendered or OCR text is never a label source. The full mapping is summarised in
|
||||
Appendix~\ref{app:labels}.
|
||||
|
||||
\paragraph{T1: hole section.} The section of a report day is its published hole diameter. The diameter is missing in
|
||||
990 reports, 260 of which contain drilling activities, so a fill rule was needed for those days. We evaluated
|
||||
candidate rules by hiding known diameters and asking each rule to recover them. The chosen rule, a forward fill of the
|
||||
most recently opened section of the wellbore, recovers 1.0000 of the values when the second half of a run is hidden
|
||||
(the pattern of the real gaps, and correct by construction) and 0.9051 when single reports are hidden. On the real
|
||||
gaps, it agrees with the hole size named in the text on 7 of 8 reports and with the bit record on 23 of 30. The 17
|
||||
reports before the first known diameter of a wellbore take the first section and carry a flag. The benchmark scores
|
||||
the 932 drilling days, 672 with a published and 260 with a filled label, and reports the two sources apart; the 818
|
||||
non-drilling days are not scored. The 6-inch and 9.875-inch sections fail the evaluability rule and are not scored as
|
||||
separate classes. A second T1 label, the operation class of an activity, maps the code to one of 15 classes; it is
|
||||
used only in the label audit.
|
||||
|
||||
\paragraph{T2: NPT activity.} Two NPT definitions are computed side by side. Definition (a) marks the rows with an
|
||||
interruption code: 3,577 rows (15.3\%), 8,343~h or 21.2\% of the reported hours. Definition (b) is the union of an
|
||||
interruption code, \texttt{state = fail} and a state detail other than \texttt{success}: 4,286 rows (18.3\%), 9,626~h
|
||||
or 24.4\% of the hours. Protocol v1 chose (b) as the primary definition by the rule in
|
||||
Sec.~\ref{sec:design:validation}, and (a) is the sensitivity definition. Each NPT row also receives a cause group. The
|
||||
code decides when it names a cause, the state detail decides otherwise, and \texttt{unspecified} is the default. The
|
||||
two sources name different groups on 192 rows; these rows keep the code's group and are retained for the audit.
|
||||
|
||||
\paragraph{T3: NPT depth interval.} The depth of an activity is its end depth, one value per row, which is not
|
||||
necessarily the depth of the problem in the hole. Only rows below the mud line can be placed in depth. Of the 23,447
|
||||
activities, 9,116 have a depth of zero and 2,923 lie above the mud line, so only 50.3\% of the NPT rows (44.6\% of the
|
||||
NPT hours) can be located. The located rows are mapped onto a 10~m MD grid, and a cell is positive when it holds at
|
||||
least one NPT activity. Over all 26 wellbores the grid has 8,757 cells, 844 positive under (a) and 979 under (b).
|
||||
Touching positive cells merge into intervals. The scored universe is the own hole of each of the 21 wellbores with
|
||||
WITSML: 4,894 cells, of which 556 are positive under (b) and 478 under (a). Cells above the own-hole top of a sidetrack
|
||||
belong to the parent wellbore, and the 191 positive cells there are reported apart and not scored.
|
||||
|
||||
\paragraph{T4: grounded questions.} Each of 39 templates has three SQL queries over the DDR tables: one enumerates the
|
||||
instances, one computes the answer and one returns the evidence rows. The templates produced 3,915 candidate
|
||||
instances. Of these, 371 were dropped by rule, most for an ambiguous value (311), and 1,662 questions were sampled from
|
||||
the rest: 1,638 answerable and 24 with the reference answer ``not reported''. The five question families are lookup
|
||||
(825 questions), aggregation (513), temporal event (134), comparison (102) and multi-hop (88). Of the 1,662 questions,
|
||||
1,560 concern one wellbore, 92 compare two wellbores of one well and 10 concern the whole field. Three independent
|
||||
implementations give the same answers: SQL, a separate pandas version and a direct reading of the raw XML agree on all
|
||||
1,662 questions. A question has a median of 3 evidence rows (maximum 488). Questions about
|
||||
trouble use the published codes, not either NPT definition. Numeric answers match within a tolerance that was fixed
|
||||
per quantity before any model ran: 1.0~m for depth, 0.01~g/cm$^3$ for density, 0.1$^\circ$ for inclination, 0.25~h for
|
||||
durations, 2\% for rate of penetration and 0.01~in for sizes; counts and dates must match exactly.
|
||||
|
||||
\paragraph{T5: relevance.} A query is an own-hole T3 interval with a known section and formation: 410 intervals under
|
||||
(b) and 373 under (a), on 19 wellbores of 10 wells. The formation of an interval is the deepest pick at or above its
|
||||
top. A candidate interval receives a gain $g$ from 0 to 3: one point each for the same section, the same formation and
|
||||
a shared cause group. It is fully relevant when $g = 3$.
|
||||
|
||||
\subsection{Label validation without a human rater}\label{sec:design:validation}
|
||||
|
||||
No human rater was available for this benchmark, so no label in it has been checked by a person. Validation therefore
|
||||
rests on three layers, none of which creates labels. Their results are in Sec.~\ref{sec:res:labels}.
|
||||
|
||||
\paragraph{Blind LLM raters.} Language models from different families rated masked items without seeing the codes or
|
||||
each other's answers. A trial of 100 activities, rated by Claude Sonnet, Opus and Haiku, served as a pipeline check
|
||||
and was not used for any decision. The decision sample was drawn before any rating: 300 activities outside the trial,
|
||||
stratified by NPT zone, cause or operation class and well (105 rows positive under
|
||||
(a), 45 positive under (b) only and 150 negative, in 225 strata), plus 90 T1 days (45 with a published and 45 with a
|
||||
filled section). Three open-weight models, Qwen3-8B, Gemma 3 12B and Ministral 3 8B, ran locally with fixed weights and
|
||||
one conversation per item. Each rated every item twice on the same day, 1,170 ratings per pass.
|
||||
The decision statistic is the median over raters of Cohen's $\kappa$ \citep{cohen1960kappa} against the code label,
|
||||
weighted by the inverse inclusion probability of each item, from the first pass. The second pass measures short-term
|
||||
repeatability. The statistic served two decisions. First, (b) became the primary NPT definition because its median
|
||||
$\kappa$ exceeded that of (a) by at least 0.02. Second, a class qualified for a separate score only with
|
||||
$\kappa \geq 0.6$, at least 20 rated items and at least 3 wells with 5 items each. The raters are language models.
|
||||
They may share training data or conventions with the LLM baselines, so agreement with the code labels is evidence
|
||||
of consistency with one reading of the text. It is not a check by drilling engineers and not evidence that the labels
|
||||
are
|
||||
correct.
|
||||
|
||||
\paragraph{Cross-checks with third-party work.} No public NPT label set on Volve is independent of the DDR codes. We
|
||||
re-ran three checks. DrillScribe \citep{paul2026drillscribe} builds episodes from the same state-detail field, so
|
||||
matching its episode keys tests our parsing, not our labels. The text rules of \citet{grigorovich2026complication},
|
||||
re-implemented with attribution, flag trouble intervals from comments and give a check on T3 that is partly
|
||||
independent of the codes. The three stuck-pipe cases of the TSPP data set \citep{cao2023tsppdata,cao2024tspp}, on
|
||||
15/9-F-4, 15/9-F-9 A and 15/9-F-1, are read case by case against what the DDR records in the same windows.
|
||||
|
||||
\paragraph{Calibrated judge for free text.} Free-text T4 answers (string, enumeration and list types; 233 of the 1,662
|
||||
questions) are hard to score by string matching. Protocol v3 tested an LLM judge on 100 answers sampled before any
|
||||
verdict. The planned reference, the author's own scores, was replaced by the automatic score against the XML answer,
|
||||
because no human rater exists. The judge sees the question, the reference and the candidate answer, and never the
|
||||
model, mode, source, citations or automatic score. Claude Sonnet is the primary judge and Claude Haiku the sensitivity
|
||||
judge, and the statistic is unweighted Cohen's $\kappa$ with the threshold $\kappa \geq 0.6$ of gate G3. A pass shows
|
||||
that the judge is consistent with the automatic scorer, not that it agrees with a person. T4 headline numbers remain
|
||||
automatic scores.
|
||||
|
||||
\subsection{Splits and leakage control}\label{sec:design:splits}
|
||||
|
||||
The primary split groups items by well, because wellbores of one well share data. The 26 wellbores belong to 11 wells:
|
||||
15/9-19 and 15/9-F-15 have five wellbores each, 15/9-F-1 and 15/9-F-11 four each, 15/9-F-9 two, and six wells one each.
|
||||
Sixteen report dates are shared by two wellbores of the same well. A sidetrack inherits the upper hole of its parent,
|
||||
and 191 of the 844 positive T3 cells under (a) lie in such inherited sections. Verbatim repetition of comments of at
|
||||
least 40 characters is rare both between sibling wellbores (0.30\%) and across wells (0.96\%), so it is the shared
|
||||
dates and inherited hole, not text duplication, that motivate the grouping. Both third-party repositories we compared
|
||||
against also keep sidetracks with the parent well. The outer loop leaves one well out (11 folds). The inner loop for
|
||||
tuning uses five-fold grouped cross-validation by well, and scores are computed on the pooled out-of-fold predictions.
|
||||
A split by wellbore (26 folds) is a sensitivity analysis; its inner loop still groups by well, so the sibling wellbores
|
||||
of a test wellbore never enter tuning. Nothing is chosen on a test well: no hyperparameter, prompt, threshold, class
|
||||
merge or few-shot example. Systems that need prompt development use the two wells with the fewest reports, 15/9-F-7 and
|
||||
15/9-F-9.
|
||||
|
||||
For T2 and T3, the activity code, its main and sub parts, the state and the state detail are masked in the input view,
|
||||
which raises an error if a masked column appears. The equipment-failure table and the schedule fields
|
||||
\texttt{daysAhead} and \texttt{daysBehind} are withheld as well, since they record NPT almost directly. TF-IDF and DistilBERT also run on unmasked input for T2 and T3. Their paired score changes measure the effect of exposing the codes. For T3,
|
||||
a forecast is issued for the whole grid of a wellbore at its first in-hole activity and uses only data that end before
|
||||
that time, within a 24-hour history window. The code checks that no forecast time is later than the start of the
|
||||
interval it is scored against. For T1, the hole-size, pilot-size, bit-size and casing-size fields are withheld; sizes
|
||||
named
|
||||
in the free text stay in the input, because they are the evidence a reader would use.
|
||||
|
||||
\paragraph{Metrics and statistics.} For T2 and T3, average precision sums the precision at each distinct score threshold, weighted by the
|
||||
increase in recall at that threshold. The reporting code computes this sum directly from the pooled held-out predictions. T3 also reports interval IoU: the length of the intersection of the
|
||||
predicted and reference intervals on the 10~m grid divided by the length of their union, pooled over wellbores. T4
|
||||
reports accuracy within the template tolerance, macro-averaged over the five families on the questions scoped to one
|
||||
well; field questions are scored on a separate line. Citation precision is computed at the report level. The
|
||||
wrong-wellbore rate counts predictions that name or cite a wellbore outside the question scope, or name a wellbore
|
||||
other than the reference when the reference answer specifies one. T5 reports
|
||||
nDCG@10 with linear gain $g$ \citep{jarvelin2002ndcg}, MRR and precision at 10. Confidence intervals come from 2,000 bootstrap
|
||||
resamples of whole wells (95\%, seed 20261117), and comparisons are paired on the same items. Stochastic models run
|
||||
with three seeds or repetitions for the complete baseline matrix. Appendix~\ref{app:record} records partial runs.
|
||||
|
||||
\subsection{Locked protocols, hypotheses and gates}\label{sec:design:protocols}
|
||||
|
||||
Each analysis was fixed in a protocol file that was locked by its SHA-256 hash before the results it governs were
|
||||
computed. Protocol v1 fixed the splits, masking, NPT definition, class rules, metrics, seeds and gate thresholds before
|
||||
the first baseline run. Protocols v2--v6 each extend the previous one by checksum and leave it unchanged. They cover
|
||||
the replacement of two baselines, the judge, the error taxonomy with the evidence-grounding score, T5 and the
|
||||
planted-signal studies. Five hypotheses were stated before G1. H1: on masked T2, the advantage of a zero-shot LLM over
|
||||
TF-IDF with logistic regression is unclear. H2: unmasking the codes raises T2 and T3 scores. H3: blind raters reach
|
||||
$\kappa \geq 0.6$ on binary NPT, with lower values for cause classes. H4: the evidence-grounding score correlates only
|
||||
weakly with correctness. H5: OCR lowers T4 more than T2 because T4 needs exact values. T1 section is included in the document sensitivity analysis. Gates G1--G3 control the
|
||||
protocol lock, baseline coverage and judge use. A threshold is never relaxed: a
|
||||
change of plan goes into a new protocol with a recorded deviation. Appendix~\ref{app:record} and
|
||||
Table~\ref{tab:protocols} give the lock dates, hashes, what was known before each lock, the gate outcomes and every
|
||||
deviation.
|
||||
99
paper/sections/05_baselines.tex
Normal file
99
paper/sections/05_baselines.tex
Normal file
@@ -0,0 +1,99 @@
|
||||
% Section 5: Baselines. Every number is traced in paper/provenance/03_05_AB.md.
|
||||
\section{Baselines}\label{sec:baselines}
|
||||
|
||||
The baselines range from a constant predictor to a tool-using language model (Table~\ref{tab:baselines}). They were
|
||||
fixed in protocol v1, except for the replacement of the two local language models described in
|
||||
Sec.~\ref{sec:baselines:deviation}. No baseline is tuned on a test well, and every run that started is reported,
|
||||
including the stopped ones. Results are in Sec.~\ref{sec:results}.
|
||||
|
||||
\begin{table}[t]
|
||||
\centering
|
||||
\caption{Baselines and their runs. ``Repetition'' marks independent API calls whose seed is sent but not verified.
|
||||
Partial v1 runs are reported as partial and are not part of the G2 coverage.}
|
||||
\label{tab:baselines}
|
||||
\small
|
||||
\begin{tabular}{@{}p{0.25\textwidth}p{0.17\textwidth}p{0.22\textwidth}p{0.28\textwidth}@{}}
|
||||
\toprule
|
||||
System & Tasks & Runs & Notes \\
|
||||
\midrule
|
||||
Majority (prevalence) & T1--T3 & deterministic & Reference score \\
|
||||
Lexicon & T2 & deterministic & Public NPT keyword rules \\
|
||||
TF-IDF + logistic regression & T1--T3 & deterministic & $C \in \{0.25, 1, 4\}$ chosen in the inner loop \\
|
||||
DistilBERT & T1--T3 & 3 seeds & Fine-tuned; masked and unmasked \\
|
||||
DeepSeek-V4.1-Flash & T4 (5 modes), C4 (3 sources), T2 zero-shot & 3 repetitions & Protocol v2, full matrix \\
|
||||
Qwen3-8B & T4, C4, T2 zero-shot & stopped 19/11/2026 & Partial v1 \\
|
||||
Llama 3.1 8B & T4, C4 & never ran beyond a smoke test & Retired in protocol v2 \\
|
||||
Claude Sonnet, Claude Haiku & T4 (300 questions, 5 conditions), T2 (500 items) & 1 repetition & Session subagents,
|
||||
auxiliary sample \\
|
||||
\bottomrule
|
||||
\end{tabular}
|
||||
\end{table}
|
||||
|
||||
\subsection{Classification baselines}
|
||||
|
||||
Four non-generative baselines cover T1--T3. The majority baseline uses the training-fold majority class and a constant ranking score for the binary tasks.
|
||||
On these tasks, its average precision equals the prevalence. The lexicon baseline flags a masked T2 comment that matches the public NPT keyword rules of the
|
||||
label configuration (Appendix~\ref{app:labels}); a comment-length score is also reported as a trivial reference. TF-IDF
|
||||
with logistic regression \citep{pedregosa2011sklearn} uses
|
||||
word features with a minimum document frequency of 2. The inverse regularisation strength $C$ is chosen from
|
||||
$\{0.25, 1, 4\}$ by the inner grouped cross-validation. For T3, the input concatenates the masked activity text of the
|
||||
previous 24~h with WITSML statistics of ten channels: \texttt{RPM}, \texttt{WOB}, \texttt{TORQ}, \texttt{SPPA},
|
||||
\texttt{ROP}, \texttt{HKLD}, \texttt{RPMAV}, \texttt{WOBA}, \texttt{RPMA} and \texttt{ROPA}. T3 forecasts are cut at
|
||||
thresholds
|
||||
from 0.1 to 0.5 in steps of 0.1 to form intervals for IoU. DistilBERT \citep{sanh2019distilbert} is fine-tuned from the
|
||||
uncased base
|
||||
checkpoint at a fixed revision for two epochs, with learning rate $2 \times 10^{-5}$, batch size 32 and at most 192
|
||||
tokens. It runs with three seeds for both NPT definitions, masked and unmasked, and for both splits.
|
||||
|
||||
\subsection{Language-model baselines}
|
||||
|
||||
DeepSeek-V4.1-Flash \citep{deepseekai2026v41flash} is the API baseline of protocol v2. It runs through an
|
||||
OpenAI-compatible gateway with thinking disabled, temperature 0.2, at most 320 output tokens and a JSON answer with the
|
||||
fields answer, unit and citations. Each call is repeated three times with the repetition index sent as the seed. The
|
||||
gateway does not confirm that the seed is honoured, so the three runs are repetitions, not seeded replicates. The full
|
||||
matrix has 48,951 T4 and C4 predictions and 70,341 T2 predictions, and all of them were collected.
|
||||
|
||||
T4 is run in five modes. Zero-shot gives the model only the question. Few-shot adds two question--answer examples from
|
||||
the development wells, in a fixed order. RAG retrieves up to eight passages of the XML-derived text, within 12,000
|
||||
characters. Tool-only gives the model a parameterised query tool over the DDR tables without a retrieved context.
|
||||
The agent adds an initial retrieved context and a search tool. Both modes allow up to three tool calls. C4 runs the RAG mode over the XML, HTML
|
||||
or OCR text of the same reports, on the 1,376 paired questions and again on the 1,293 questions without
|
||||
date-disagreement pages.
|
||||
|
||||
Qwen3-8B \citep{yang2025qwen3} and Llama 3.1 8B \citep{grattafiori2024llama3} were the local open-weight baselines of protocol v1,
|
||||
run as 4-bit quantised GGUF files. Qwen completed T2 seed 0 (23,447 predictions) and reached 17,827 of 23,447 for
|
||||
seed 1. For T4 and C4, it completed seed 0 for the C4, date-clean C4 and RAG modes, with 10,214 of 16,317 predictions
|
||||
over all modes, and its agent mode stopped at 545 of 1,662. Llama ran only a smoke test. These runs are partial v1
|
||||
results. They do not enter the comparison that gate G2 requires.
|
||||
|
||||
Claude Sonnet and Claude Haiku run as subagents of the Claude Code session, because no API key was available for them.
|
||||
They answer a fixed auxiliary sample drawn with seed 20261117 over all 11 wells before any answer existed: 300 T4
|
||||
questions in five conditions (zero-shot, RAG over XML text, and C4 over XML, HTML and OCR text) and 500 masked T2
|
||||
items, with one repetition. The prompts are built by the same code as the DeepSeek prompts. The sample has three
|
||||
limitations, which Sec.~\ref{sec:results} carries. The subagents were told to read only their batch file, but file
|
||||
access was not enforced, and some agents listed the directory. Group outputs were quarantined and rerun as one batch
|
||||
per agent. The batches held 15 T4 questions or 50 T2 items, not the 30 and 100 of the protocol, because the reading tool
|
||||
returns about 42,000 characters.
|
||||
|
||||
\subsection{Deviation: replacement of the local models}\label{sec:baselines:deviation}
|
||||
|
||||
On 19/11/2026, after the v1 runs had started, the project owner stopped Qwen3-8B and Llama 3.1 8B and locked protocol
|
||||
v2.
|
||||
The change was not driven by a test-well result. DeepSeek-V4.1-Flash
|
||||
fills the API cell of v1 on the full matrix. Claude Sonnet and Claude Haiku replace the local models on the auxiliary
|
||||
sample. All v1 checkpoints stay unchanged and are reported as partial. Appendix~\ref{app:record} records the deviation
|
||||
and the two drafts that were replaced before any v2 call.
|
||||
|
||||
\subsection{Later analyses}
|
||||
|
||||
Three later analyses were locked before their scores in protocols v4--v6. Protocol v4 fixed an ordered error taxonomy,
|
||||
assigned by the earliest matching rule for each T4 prediction, and an evidence-grounding score (EGS). EGS is adapted from TADI
|
||||
\citep{lu2026tadi} to the JSON answer: one third for a number followed by a TADI drilling unit, one third for a
|
||||
citation that resolves to a known DDR report, and zero for sections, which the format does not have.
|
||||
Protocol v5 fixed the T5 representations, none of which reads codes, causes, labels, sections or formations: random
|
||||
order, depth, WITSML statistics and masked text before the interval, text after it (reported apart) and
|
||||
reciprocal-rank fusion \citep{cormack2009rrf} with $k = 60$. Protocol v6 fixed a planted-signal study.
|
||||
Labels are drawn at random with the real prevalence, and a signal of
|
||||
controlled strength is written into the model input: a cue phrase in the masked T2 text, or a depth hazard for T3. This
|
||||
bounds what TF-IDF and the depth forecast can detect. Their
|
||||
results are in Secs.~\ref{sec:res:errors}, \ref{sec:res:diag} and \ref{sec:res:planted}.
|
||||
9
paper/sections/06_results.tex
Normal file
9
paper/sections/06_results.tex
Normal file
@@ -0,0 +1,9 @@
|
||||
\section{Results}
|
||||
\label{sec:results}
|
||||
|
||||
The results cover question answering and document fidelity, NPT code exposure, and the diagnostic tasks.
|
||||
The depth-interval labels derive from DDR codes. Similar-interval relevance also uses hole section and formation.
|
||||
Unless stated otherwise, intervals are 95\% percentile intervals from a bootstrap over whole wells.
|
||||
|
||||
\input{sections/06a_results_qa}
|
||||
\input{sections/06b_results_labels}
|
||||
362
paper/sections/06a_results_qa.tex
Normal file
362
paper/sections/06a_results_qa.tex
Normal file
@@ -0,0 +1,362 @@
|
||||
% Results, part A: T4 grounded QA, C4 reading fidelity, error taxonomy and EGS (RQ4).
|
||||
% Input from 06_results.tex; no \section here. Numbers: paper/provenance/06a.md.
|
||||
|
||||
\subsection{Grounded question answering (T4)}\label{sec:res:t4}
|
||||
|
||||
T4 is scored on the 1,652 well-scoped questions: 1,560 ask about one wellbore and 92 compare two. The 10 field-level
|
||||
questions are kept in the record (Appendix~\ref{app:record}) and left out of the headline. Accuracy is the automatic
|
||||
score against the answer computed from the XML, within the tolerance of each template. It is averaged within each
|
||||
of the five families (lookup 825 questions, aggregation 513, temporal event 134, comparison 92, multi-hop 88) and
|
||||
then across families, so that the lookup questions do not set the result alone. Citation precision is the share of
|
||||
cited DDR reports that belong to the evidence of the question. An answer counts as wrong-wellbore when it cites or
|
||||
names a wellbore outside the question, or names a wellbore other than the one in the answer. DeepSeek values are
|
||||
the mean of three repetitions, with the range across repetitions. Contrasts are paired within a repetition and carry
|
||||
95\% well-cluster bootstrap intervals (2,000 resamples), reported for each repetition separately because the three
|
||||
repetitions answer the same questions. The C4 rows use the 1,366 well-scoped questions whose evidence is printed in all
|
||||
three sources (Section~\ref{sec:res:c4}); the non-C4 modes use all 1,652. Table~\ref{tab:t4main} and
|
||||
Figure~\ref{fig:t4} give the results; Table~\ref{tab:contrasts} gives the paired contrasts.
|
||||
|
||||
\begin{table}[t]
|
||||
\centering
|
||||
\small
|
||||
\caption{T4 results on well-scoped questions by answering mode. Accuracy is macro-family accuracy (automatic score
|
||||
against the XML answer); citation precision is the share of cited reports that are evidence reports; wrong wellbore
|
||||
counts predictions that name or cite a wellbore outside the question scope, or name a wellbore inconsistent with a wellbore-valued reference answer. DeepSeek: mean of three repetitions, range
|
||||
in brackets. Qwen3-8B: incomplete v1 run, seed 0, C4 and RAG modes only; these cells are not used in any
|
||||
comparison. Zero-shot and few-shot receive no supporting records, so we omit their citation precision.}
|
||||
\label{tab:t4main}
|
||||
\begin{tabular}{@{}lrlccc@{}}
|
||||
\toprule
|
||||
& & \multicolumn{3}{c}{DeepSeek (3 repetitions)} & Qwen3-8B \\
|
||||
\cmidrule(lr){3-5}\cmidrule(l){6-6}
|
||||
Mode & $n$ & Accuracy & Citation prec. & Wrong wellbore & Accuracy (incomplete) \\
|
||||
\midrule
|
||||
Tool-only & 1,652 & 0.712 [0.704--0.722] & 0.920 & 0.050 & -- \\
|
||||
Agent & 1,652 & 0.618 [0.606--0.629] & 0.878 & 0.046 & -- \\
|
||||
C4 XML & 1,366 & 0.151 [0.145--0.154] & 0.506 & 0.198 & 0.214 \\
|
||||
C4 HTML & 1,366 & 0.177 [0.169--0.187] & 0.415 & 0.381 & 0.235 \\
|
||||
C4 OCR & 1,366 & 0.181 [0.176--0.184] & 0.433 & 0.361 & 0.196 \\
|
||||
RAG (XML) & 1,652 & 0.148 [0.145--0.151] & 0.352 & 0.299 & 0.154 \\
|
||||
Few-shot & 1,652 & 0.151 [0.144--0.154] & -- & 0.079 & -- \\
|
||||
Zero-shot & 1,652 & 0.071 [0.066--0.076] & -- & 0.026 & -- \\
|
||||
\bottomrule
|
||||
\end{tabular}
|
||||
\end{table}
|
||||
|
||||
\begin{figure}[t]
|
||||
\centering
|
||||
\includegraphics[width=0.9\linewidth]{t4_modes.pdf}
|
||||
\caption{T4 macro-family accuracy on well-scoped questions by answering mode (DeepSeek, three repetitions). Tool-only
|
||||
and agent read typed tables built from the same XML that defines the reference answers; the other modes read
|
||||
retrieved text passages or no records at all.}
|
||||
\label{fig:t4}
|
||||
\end{figure}
|
||||
|
||||
\paragraph{Typed queries attain the highest observed accuracy.}
|
||||
Tool-only reaches 0.712 (0.704--0.722 across repetitions) and the agent 0.618 (0.606--0.629). The best text mode,
|
||||
C4 OCR, reaches 0.181, and RAG over the full XML corpus 0.148. The paired agent minus RAG difference is $+0.461$,
|
||||
$+0.479$ and $+0.471$ in the three repetitions, and no interval comes closer to zero than $+0.420$. The gap is widest
|
||||
on questions that combine many rows. On aggregation, tool-only scores 0.726 against 0.016 for RAG and 0.017--0.027
|
||||
for C4; on multi-hop it scores 0.723 against 0.011 for RAG. An aggregate query can count events across reports even when the fixed passage budget leaves relevant records outside
|
||||
the retrieval context (Section~\ref{sec:baselines}). The query tool uses keyed tables from the same XML that supplies
|
||||
the SQL references. Tool-only accuracy measures query construction and interpretation under direct access to those tables.
|
||||
|
||||
\paragraph{The agent scores below the query-only configuration.}
|
||||
The agent minus tool-only difference is $-0.116$ ($-0.172$ to $-0.063$), $-0.075$ ($-0.112$ to $-0.030$) and
|
||||
$-0.089$ ($-0.171$ to $-0.024$); all three intervals exclude zero. The error classes
|
||||
(Section~\ref{sec:res:errors}) place most of the loss in call failures, 0.064 of agent predictions (0.048--0.080)
|
||||
against 0.004 for tool-only, and in abstentions, 0.129 against 0.083. The share of answers with the right report and
|
||||
a wrong value is nearly equal (0.146 and 0.144). The agent does better on comparison questions (0.688 against
|
||||
0.514) and worse on aggregation (0.451 against 0.726). Both configurations use a fixed tool-call budget. Their differences combine initial context, tool choice and prompt instructions.
|
||||
|
||||
\paragraph{Retrieval over the XML does not separate from answering without records.}
|
||||
RAG minus zero-shot is $+0.069$ ($-0.016$ to $0.145$), $+0.084$ ($-0.008$ to $0.173$) and $+0.078$ ($-0.016$ to
|
||||
$0.165$); every interval includes zero. Few-shot, which also sees no records, beats zero-shot by $+0.068$ to $+0.088$,
|
||||
with intervals that exclude zero. Several answers can be guessed from the question itself, especially when it names the possible wellbores. Zero-shot accuracy comes almost
|
||||
entirely from comparison questions (0.185), where the answer is one of two named wellbores, and from temporal-event
|
||||
questions (0.159); on lookup, aggregation and multi-hop it is at most 0.011. The two few-shot examples, drawn from
|
||||
development wells, show the answer format, and the model then picks a wellbore instead of abstaining: comparison
|
||||
accuracy rises to 0.576 and the abstention share on that family falls from 0.685 to 0.029. Because the macro average
|
||||
gives the 92 comparison questions one fifth of the weight, few-shot ties C4 XML at 0.151. The few-shot
|
||||
fabricated-number rate (0.986) is not comparable with the evidence modes and is not interpreted. Without a context,
|
||||
every wrong number counts as absent from the context by construction.
|
||||
|
||||
\paragraph{Text modes cite the wrong wellbore far more often than tool modes.}
|
||||
The wrong-wellbore share is 0.299 for RAG, 0.381 for C4 HTML, 0.361 for C4 OCR and 0.198 for C4 XML, against 0.050
|
||||
for tool-only and 0.046 for the agent. Citation precision follows the same split: 0.920 and 0.878 for the tool
|
||||
modes, 0.352--0.506 for the text modes. The 26 wellbores come from 11 wells, so sidetracks share the name of their
|
||||
parent well. The retriever ranks passages by lexical similarity without a wellbore filter. The query tool can filter
|
||||
on the wellbore column. The effect of a wellbore filter in text retrieval remains untested.
|
||||
|
||||
\paragraph{The Qwen3-8B cells are not compared.}
|
||||
The Qwen3-8B run under protocol v1 was stopped after seed 0, with only the C4 and RAG modes complete. Its cells in
|
||||
Table~\ref{tab:t4main} (C4 XML 0.214, HTML 0.235, OCR 0.196, RAG 0.154) are shown for completeness. They come from
|
||||
one seed of a different model, and we draw no ranking from them. Llama never ran
|
||||
beyond a smoke test.
|
||||
|
||||
\paragraph{Blind judges agree with the automatic score on free-text answers.}
|
||||
Under protocol v3 (Section~\ref{sec:design:protocols}), 100 free-text answers of DeepSeek repetition 0 from 10
|
||||
wells, half scored correct by the automatic scorer, were judged blind by two session subagents. Sonnet, the primary
|
||||
judge, reaches Cohen's $\kappa = 0.98$ with the automatic score (well bootstrap interval 0.947--1.0; raw agreement
|
||||
0.99). Haiku reaches $\kappa = 0.90$ (0.826--0.966), and the two judges agree with each other at $\kappa = 0.92$
|
||||
(0.833--1.0). Five items differ. In one, a sentence-form answer that contains the right wellbore name was missed by
|
||||
the string scorer and accepted by both judges. In the other four, OCR answers give the rig as ``MERSK INSPIRER'' for
|
||||
``M\AE RSK INSPIRER''; Haiku accepted them, while Sonnet and the scorer did not. Sonnet accepted one of the fifty sampled answers that the automatic scorer marked wrong. The judges are language
|
||||
models and no person rated these answers. The $\kappa$ values measure consistency with the automatic scorer, not
|
||||
agreement with people, and all T4 figures in this paper remain automatic scores.
|
||||
|
||||
\paragraph{An auxiliary session sample shows the same ordering of sources.}
|
||||
Sonnet and Haiku, run as session subagents, answered a fixed sample of 300 T4 questions drawn over all 11 wells
|
||||
(seed 20261117) in five conditions, one repetition each. Macro-family accuracy, Sonnet then Haiku, is 0.123 and 0.083
|
||||
for C4 XML, 0.177 and 0.147 for C4 HTML, 0.187 and 0.150 for C4 OCR, 0.128 and 0.098 for RAG, and 0 for zero-shot.
|
||||
Every zero-shot answer of both models was ``not reported'', as the answering rules require when the records do not
|
||||
establish an answer; DeepSeek's zero-shot score above comes from guesses that these models did not make. Within C4,
|
||||
XML is again the lowest source. With 300 questions the intervals are wide (Sonnet C4 XML 0.038--0.206). The sample
|
||||
lies outside the G2 coverage, the batches held 15 questions, and the agents were not isolated from each other's
|
||||
files. It uses a different question set from Table~\ref{tab:t4main}, so no ranking across models is drawn.
|
||||
|
||||
\begin{table}[t]
|
||||
\centering
|
||||
\small
|
||||
\caption{Paired contrasts in T4 macro-family accuracy, well-scoped questions. Each cell gives the difference and its
|
||||
95\% well-cluster bootstrap interval (2,000 resamples) for one DeepSeek repetition. ``Without date flags'' removes
|
||||
the questions whose evidence report has a page where the OCR missed a date in the PDF text layer and rebuilds each
|
||||
retrieval corpus. Qwen3-8B rows: incomplete v1 run, seed 0, not interpreted.}
|
||||
\label{tab:contrasts}
|
||||
\providecommand{\ciCell}[2]{\begin{tabular}[t]{@{}c@{}}#1\\[-1pt]{\scriptsize #2}\end{tabular}}
|
||||
\begin{tabular}{@{}lrccc@{}}
|
||||
\toprule
|
||||
Contrast & $n$ & Repetition 0 & Repetition 1 & Repetition 2 \\
|
||||
\midrule
|
||||
Agent $-$ RAG & 1,652 & \ciCell{$+0.461$}{[0.420, 0.544]} & \ciCell{$+0.479$}{[0.453, 0.514]}
|
||||
& \ciCell{$+0.471$}{[0.422, 0.551]} \\
|
||||
Agent $-$ tool-only & 1,652 & \ciCell{$-0.116$}{[$-0.172$, $-0.063$]} & \ciCell{$-0.075$}{[$-0.112$, $-0.030$]}
|
||||
& \ciCell{$-0.089$}{[$-0.171$, $-0.024$]} \\
|
||||
Few-shot $-$ zero-shot & 1,652 & \ciCell{$+0.068$}{[0.052, 0.095]} & \ciCell{$+0.088$}{[0.080, 0.102]}
|
||||
& \ciCell{$+0.083$}{[0.073, 0.089]} \\
|
||||
RAG $-$ zero-shot & 1,652 & \ciCell{$+0.069$}{[$-0.016$, 0.145]} & \ciCell{$+0.084$}{[$-0.008$, 0.173]}
|
||||
& \ciCell{$+0.078$}{[$-0.016$, 0.165]} \\
|
||||
C4 OCR $-$ C4 XML & 1,366 & \ciCell{$+0.023$}{[$-0.012$, 0.067]} & \ciCell{$+0.028$}{[$-0.011$, 0.081]}
|
||||
& \ciCell{$+0.038$}{[$-0.002$, 0.085]} \\
|
||||
C4 OCR $-$ C4 XML, without date flags & 1,284 & \ciCell{$+0.011$}{[$-0.012$, 0.056]}
|
||||
& \ciCell{$+0.016$}{[$-0.013$, 0.066]}
|
||||
& \ciCell{$+0.027$}{[$-0.002$, 0.088]} \\
|
||||
\midrule
|
||||
\multicolumn{5}{@{}l}{\emph{Qwen3-8B, incomplete v1 run (seed 0 only)}} \\
|
||||
C4 OCR $-$ C4 XML & 1,366 & \ciCell{$-0.018$}{[$-0.057$, 0.012]} & -- & -- \\
|
||||
C4 OCR $-$ C4 XML, without date flags & 1,284 & \ciCell{$-0.009$}{[$-0.065$, 0.033]} & -- & -- \\
|
||||
\bottomrule
|
||||
\end{tabular}
|
||||
\end{table}
|
||||
|
||||
\subsection{Document-reading fidelity (C4)}\label{sec:res:c4}
|
||||
|
||||
C4 asks whether the source a model reads changes T4 accuracy when the questions and the reference answers stay
|
||||
fixed. It pairs 1,376 questions that are answerable from the printed version and whose evidence is present in the
|
||||
XML, the HTML render and the OCR text; 1,366 of them are well-scoped. The three corpora cover the same 1,752 reports
|
||||
with complete OCR, and the 7 reports with unmatched pages are dropped. Of the paired questions, 83 rely on a report
|
||||
with one of the 16 pages whose OCR omitted a date found in the PDF text layer. The sensitivity analysis removes them and
|
||||
rebuilds each corpus, leaving 1,293 questions (1,284 well-scoped). The C4 question set is not the T4 set in
|
||||
miniature. It holds 731 lookup, 497 aggregation, 92 comparison, 27 temporal-event and 19 multi-hop questions, so the
|
||||
macro average gives 19 multi-hop questions one fifth of the weight.
|
||||
|
||||
\begin{table}[t]
|
||||
\centering
|
||||
\small
|
||||
\caption{Reading fidelity and its effect on T4. Panel A: full-corpus OCR (1,752 reports, 3,056 pages) against the
|
||||
content of the printed HTML version; exact is the share of items read exactly. Panel B: faults of the printed version
|
||||
itself, checked against the XML. Panel C: T4 macro-family accuracy by source (DeepSeek, mean of three repetitions).}
|
||||
\label{tab:c4fidelity}
|
||||
\begin{tabular}{@{}lrcc@{}}
|
||||
\toprule
|
||||
\multicolumn{4}{@{}l}{\emph{A. OCR against the printed version}} \\
|
||||
Item family & Items & Exact & CER (\%) \\
|
||||
\midrule
|
||||
All content items & 365,698 & 0.918 & 2.40 \\
|
||||
Table cells, all & 280,995 & 0.912 & 2.67 \\
|
||||
\quad Operations & 140,322 & 0.861 & 2.99 \\
|
||||
\quad Drilling fluid & 108,342 & 0.965 & 1.09 \\
|
||||
\quad Survey station & 8,595 & 0.994 & 0.24 \\
|
||||
\quad Casing, liner, tubing & 3,500 & 0.939 & 4.72 \\
|
||||
\quad Bit record & 1,652 & 0.958 & 1.43 \\
|
||||
Report fields, all & 54,312 & 0.928 & 3.00 \\
|
||||
\quad Depth (mMD) & 1,752 & 0.924 & 6.97 \\
|
||||
\quad Depth (mTVD) & 1,752 & 0.942 & 5.42 \\
|
||||
\quad Plug-back depth (mMD) & 1,752 & 0.958 & 7.45 \\
|
||||
\quad Rig name & 1,752 & 0.339 & 5.16 \\
|
||||
Headers & 3,504 & 0.978 & 2.51 \\
|
||||
Free-text summaries & 3,504 & 0.774 & 0.53 \\
|
||||
\midrule
|
||||
\multicolumn{4}{@{}l}{\emph{B. Printed-version faults (values in the benchmark come from the XML)}} \\
|
||||
\multicolumn{4}{@{}p{0.85\linewidth}@{}}{Tight well and HPHT: XML ``N'' in all 1,759 reports, HTML prints ``Y'' in all
|
||||
1,759; OCR copies the printed flag (exact 0.995 and 0.992).} \\
|
||||
\multicolumn{4}{@{}p{0.85\linewidth}@{}}{Bit Record ``End mMD'': prints the start depth \texttt{bitRun\_mdHoleStart}
|
||||
(16 of 16 checked rows; 90 of 90 T4 items that use the column).} \\
|
||||
\midrule
|
||||
\multicolumn{4}{@{}l}{\emph{C. T4 accuracy by source}} \\
|
||||
Source & Questions & All & Without date flags \\
|
||||
\midrule
|
||||
C4 XML & 1,366 / 1,284 & 0.151 & 0.156 \\
|
||||
C4 HTML & 1,366 / 1,284 & 0.177 & 0.170 \\
|
||||
C4 OCR & 1,366 / 1,284 & 0.181 & 0.175 \\
|
||||
\bottomrule
|
||||
\end{tabular}
|
||||
\end{table}
|
||||
|
||||
\paragraph{Full-corpus OCR is close to the printed version on average, with errors concentrated in depths and names.}
|
||||
Over 365,698 content items in 1,752 reports, OCR reads 0.918 of items exactly, with a character error rate (CER) of
|
||||
2.40\% and a word error rate of 5.56\% (Table~\ref{tab:c4fidelity}). The Operations table, the largest (half of all
|
||||
cells), has the lowest cell accuracy (exact 0.861, CER 2.99\%); drilling-fluid and survey cells are read
|
||||
almost perfectly. Among the report fields, depths are the weakest numeric items: the measured depth has a CER of
|
||||
6.97\%, the true vertical depth 5.42\% and the plug-back depth 7.45\%. The rig name is read exactly in only 0.339 of
|
||||
reports. The most frequent character errors are formatting: 9,507 inserted spaces, 9,160 deleted hyphens, 7,952
|
||||
hyphens read as en dashes and 2,524 inserted degree signs. The letter ``\AE'', read as ``E'' 1,152 times, occurs
|
||||
almost only in the rig name ``M\AE RSK INSPIRER'' (1,378 of the 1,384 items that contain it).
|
||||
Errors are uneven across reports: the median report CER is 0.93\%, the 90th percentile 4.98\% and the maximum
|
||||
85.7\%, and only 9 of 1,752 reports are read without any error. Two fields with very few characters
|
||||
(pressure, temperature) give unstable CERs of 50\% and 33\% and are not interpreted. All figures here are
|
||||
full-corpus figures against the printed version. They measure OCR against what the page shows, not against the XML.
|
||||
|
||||
\paragraph{The printed version itself carries field errors that no reading of the page can repair.}
|
||||
The HTML render prints ``Y'' for Tight well and HPHT in all 1,759 reports, whereas the XML holds ``N'' in all
|
||||
1,759. The Bit Record ``End mMD'' column prints the start depth of the bit run, not the end depth: the value is
|
||||
\texttt{bitRun\_mdHoleStart} in all 16 rows checked against the XML and in all 90 T4 items that use the column. OCR
|
||||
copies the wrong flags faithfully (exact 0.995 for Tight well, 0.992 for HPHT). A model that reads these pages
|
||||
correctly therefore reports a wrong value. This is why every label and answer for these fields comes from the XML
|
||||
and never from a printed version (Section~\ref{sec:data}). The render was checked only for the header, the report
|
||||
fields, the summaries and the Operations table, so other printed tables may carry faults we have not found.
|
||||
|
||||
\paragraph{The paired OCR--XML contrasts leave the accuracy difference unresolved.}
|
||||
Accuracy is 0.151 with C4 XML, 0.177 with C4 HTML and 0.181 with C4 OCR. The paired OCR minus XML difference is
|
||||
$+0.023$, $+0.028$ and $+0.038$ (Table~\ref{tab:contrasts}), and every interval includes zero. Without the
|
||||
date-flagged questions the difference is $+0.011$, $+0.016$ and $+0.027$, again with intervals that include zero. OCR
|
||||
minus HTML lies between $-0.005$ and $+0.015$, with intervals that also include zero. The part of H5 that predicts an
|
||||
OCR loss on T4 is therefore not supported. The lowest point estimate is for XML, where the model abstains most often:
|
||||
the abstention share is 0.678 for C4 XML against 0.535 for HTML and 0.580 for OCR. On lookup questions the gap is
|
||||
largest. C4 XML answers 0.089 correctly and abstains on 0.762, while HTML and OCR both reach 0.285 and abstain on
|
||||
0.448 and 0.462. Passage format and retrieval may contribute to the pattern. The comparison varies representations together with their
|
||||
retrieved passages, so the cause of the abstentions remains untested. All three modes score below 0.2. The overall CER
|
||||
of 2.4\% and the depth CER of about 7\% describe transcription fidelity in this corpus. HTML and OCR answers also cite a wrong wellbore about twice as often as XML
|
||||
answers (0.381 and 0.361 against 0.198), a difference whose cause we did not isolate either.
|
||||
|
||||
\subsection{Where the answers go wrong, and whether a score without references tracks accuracy}\label{sec:res:errors}
|
||||
|
||||
Protocol v4 fixed the error classes and the evidence-grounding analysis before any class or score was computed
|
||||
(Appendix~\ref{app:record}). Each prediction falls into exactly one class, assigned by the earliest matching rule in a
|
||||
fixed order: correct, call failure, answer given to an unanswerable question, abstention, wrong wellbore, no citation,
|
||||
wrong report cited (none of the cited reports is an evidence report), and right report cited but wrong value.
|
||||
Shares are averaged over families and over the three DeepSeek repetitions (Table~\ref{tab:taxonomy},
|
||||
Figure~\ref{fig:taxonomy}).
|
||||
|
||||
\begin{table}[t]
|
||||
\centering
|
||||
\small
|
||||
\caption{Error classes by mode, T4 well-scoped questions (DeepSeek; macro over families, mean of three repetitions).
|
||||
One class per prediction, earliest matching rule wins, so a wrong-wellbore answer is not counted again as a wrong
|
||||
value. ``Other'' joins no citation and answers to unanswerable questions. Rows may not sum to 1 because of rounding.}
|
||||
\label{tab:taxonomy}
|
||||
\begin{tabular}{@{}lccccccc@{}}
|
||||
\toprule
|
||||
Mode & Correct & Abstained & \shortstack{Wrong\\wellbore} & \shortstack{Wrong report\\cited} &
|
||||
\shortstack{Right report,\\wrong value} & \shortstack{Call\\failure} & Other \\
|
||||
\midrule
|
||||
C4 XML & 0.151 & 0.678 & 0.095 & 0.026 & 0.047 & 0 & 0.002 \\
|
||||
C4 HTML & 0.177 & 0.535 & 0.190 & 0.025 & 0.072 & 0 & 0.001 \\
|
||||
C4 OCR & 0.181 & 0.580 & 0.137 & 0.026 & 0.074 & 0 & 0.003 \\
|
||||
RAG (XML) & 0.148 & 0.638 & 0.110 & 0.030 & 0.066 & 0 & 0.008 \\
|
||||
Zero-shot & 0.071 & 0.891 & 0.026 & 0.012 & 0 & 0 & 0 \\
|
||||
Few-shot & 0.151 & 0.739 & 0.079 & 0.009 & 0 & 0 & 0.022 \\
|
||||
Tool-only & 0.712 & 0.083 & 0.049 & 0.008 & 0.144 & 0.004 & 0 \\
|
||||
Agent & 0.618 & 0.129 & 0.026 & 0.014 & 0.146 & 0.064 & 0.003 \\
|
||||
\bottomrule
|
||||
\end{tabular}
|
||||
\end{table}
|
||||
|
||||
\begin{figure}[t]
|
||||
\centering
|
||||
\includegraphics[width=0.9\linewidth]{taxonomy.pdf}
|
||||
\caption{Share of T4 predictions in each error class by answering mode (DeepSeek, macro over families, mean of three
|
||||
repetitions; one class per prediction, earliest matching rule wins).}
|
||||
\label{fig:taxonomy}
|
||||
\end{figure}
|
||||
|
||||
\paragraph{Abstention is the main failure of every text mode.}
|
||||
The model abstains on 0.678 of C4 XML predictions, 0.535 of C4 HTML, 0.580 of C4 OCR and 0.638 of RAG, and on 0.891
|
||||
of zero-shot and 0.739 of few-shot predictions. Wrong wellbore comes next in the text modes (0.095--0.190). Answers
|
||||
that cite the right report but give a wrong value make up only 0.047--0.074. The classes describe the outputs. An abstention alone gives no evidence about whether the model retrieved,
|
||||
recognized or trusted the relevant passage. The pattern is sharpest on questions that
|
||||
combine reports. On aggregation, C4 and RAG abstain on 0.69--0.71 and answer at most 0.027 correctly; on the 19 C4
|
||||
multi-hop questions they abstain on 0.912--1.0. Two limits apply. The answering rules ask the model to abstain when the
|
||||
records do not establish an answer, so part of the share is compliance rather than failure, and abstaining is the
|
||||
safer error in a drilling report. Because abstention precedes the evidence rules, the taxonomy also cannot tell an
|
||||
abstention with the evidence in context from one without it.
|
||||
|
||||
\paragraph{Tool modes fail mostly by citing the right report with a wrong value.}
|
||||
For tool-only and the agent, this class takes 0.144 and 0.146, against 0.083 and 0.129 for abstention and 0.049 and
|
||||
0.026 for wrong wellbore. On multi-hop questions it rises to 0.254 and 0.269. A citation places a reference report in the response. The taxonomy leaves query, calculation and answer-format errors
|
||||
within that class unresolved. The agent's call failures
|
||||
(0.064) are the one class that tool-only nearly lacks, and they account for much of the difference between the two
|
||||
modes.
|
||||
|
||||
\paragraph{On comparison questions a wrong pick is classed as a wrong wellbore.}
|
||||
The answer to a comparison question is a wellbore, so a wrong choice meets the wrong-wellbore rule. On this family
|
||||
the wrong-wellbore share is 0.210--0.225 for C4, 0.214 for RAG and 0.246 for tool-only; it is 0.120 for the agent,
|
||||
0.130 for zero-shot and 0.395 for few-shot. For this family, the class can record a wrong choice even if the cited evidence is in scope.
|
||||
|
||||
\begin{table}[t]
|
||||
\centering
|
||||
\small
|
||||
\caption{Evidence-grounding score (EGS, adapted from \citet{lu2026tadi}) against the automatic score, T4 answerable
|
||||
well-scoped predictions of DeepSeek. Panel A: accuracy at each EGS level, repetition 0, pooled over modes (micro
|
||||
accuracy over predictions). Panel B: Spearman $\rho$ between EGS and correctness, mean of three repetitions with the
|
||||
range; the locked H4 rule reads $\rho \geq 0.3$ as ``not supported''. Zero-shot answers all have EGS 0, so $\rho$ is
|
||||
undefined.}
|
||||
\label{tab:egs}
|
||||
\begin{tabular}{@{}lcc@{}}
|
||||
\toprule
|
||||
\multicolumn{3}{@{}l}{\emph{A. Accuracy by EGS level (repetition 0, all modes)}} \\
|
||||
EGS & Predictions & Accuracy \\
|
||||
\midrule
|
||||
0 & 6,242 & 0.013 \\
|
||||
1/3 & 6,489 & 0.221 \\
|
||||
2/3 & 3,211 & 0.669 \\
|
||||
\midrule
|
||||
\multicolumn{3}{@{}l}{\emph{B. Spearman $\rho$ (mean [range] over three repetitions)}} \\
|
||||
Scope & All predictions & Without abstentions \\
|
||||
\midrule
|
||||
Pooled over modes & 0.536 [0.535--0.538] & 0.232 [0.231--0.234] \\
|
||||
C4 HTML & 0.581 [0.575--0.587] & 0.540 [0.518--0.551] \\
|
||||
C4 OCR & 0.573 [0.569--0.578] & 0.508 [0.500--0.520] \\
|
||||
C4 XML & 0.338 [0.330--0.343] & 0.133 [0.128--0.139] \\
|
||||
RAG (XML) & 0.346 [0.342--0.351] & 0.121 [0.115--0.130] \\
|
||||
Agent & 0.327 [0.325--0.329] & 0.051 [0.049--0.054] \\
|
||||
Tool-only & 0.067 [0.048--0.087] & $-0.088$ [$-0.097$ to $-0.073$] \\
|
||||
Few-shot & $-0.036$ [$-0.036$ to $-0.035$] & $-0.419$ [$-0.430$ to $-0.405$] \\
|
||||
Zero-shot & undefined & undefined \\
|
||||
\bottomrule
|
||||
\end{tabular}
|
||||
\end{table}
|
||||
|
||||
\paragraph{The evidence-grounding score correlates with accuracy, so H4 is not supported.}
|
||||
TADI scores an answer by whether it states a measurement, names an item and cites a source, without a reference
|
||||
answer \citep{lu2026tadi}. We adapted the score to the JSON answer format. One point goes to a measurement, a number
|
||||
with a unit from the TADI list, and one to a citation of a DDR report that exists. The item term is 0 because no T4
|
||||
answer names a section. The sum is divided by three, so EGS takes the values 0, 1/3 and 2/3. Pooled over all
|
||||
answerable well-scoped predictions, Spearman's $\rho$ between EGS and the automatic score is 0.538, 0.535 and 0.535
|
||||
in the three repetitions (repetition 0 interval 0.530--0.551). Under the locked rule, $\rho \geq 0.3$ in all three
|
||||
repetitions means that H4, which predicted a weak correlation, is not supported. The pooled estimates include the
|
||||
rebuilt date-filtered C4 runs. Accuracy rises from 0.013 at EGS 0 to
|
||||
0.221 at 1/3 and 0.669 at 2/3 (Table~\ref{tab:egs}).
|
||||
|
||||
\paragraph{The correlation comes mostly from separating answers from abstentions.}
|
||||
An abstention carries no number and usually no citation, so it scores EGS 0 and counts as incorrect. Without
|
||||
abstentions the pooled $\rho$ falls to 0.233, 0.234 and 0.231 (repetition 0 interval 0.196--0.296), below the H4
|
||||
threshold. Within modes, EGS keeps some signal only where the model reads printed text: $\rho$ is 0.540 for C4 HTML
|
||||
and 0.508 for C4 OCR without abstentions, against 0.133 for C4 XML and 0.121 for RAG. Within tool-only, $\rho$ is
|
||||
0.048--0.087 over all predictions and negative without abstentions in every repetition ($-0.073$ to $-0.097$, each
|
||||
interval excluding zero). Tool-only answers that carry a unit and a citation are correct slightly less often than
|
||||
those with only one of the two (0.766 against 0.787 in repetition 0). In few-shot, the 48--54 answers per repetition
|
||||
that state a number with a unit and cite nothing are all wrong. EGS checks the form of an answer, not its truth: a
|
||||
number with a unit and a real report reaches 2/3 whatever the value. It can screen out abstentions and bare answers.
|
||||
It does not rank answers that already have that form, which is the case for the strongest modes. The Qwen3-8B
|
||||
incomplete run gives a pooled $\rho$ of 0.331 (0.295--0.372); it is not compared.
|
||||
361
paper/sections/06b_results_labels.tex
Normal file
361
paper/sections/06b_results_labels.tex
Normal file
@@ -0,0 +1,361 @@
|
||||
% Second half of Sec. 6. Every number is traced in paper/provenance/06b.md.
|
||||
% Primary values are those of subset "all" in outputs/m34/classification.csv (see the provenance note on plan Sec. 1.6).
|
||||
|
||||
\subsection{Code leakage in NPT recognition (T1--T3)}
|
||||
\label{sec:res:leak}
|
||||
|
||||
All scores in this subsection are for models trained and tested with leave-one-well-out splits over the 11 wells
|
||||
(Section~\ref{sec:design:splits}). T2 has 23,447 activities. Under definition (b), the share of NPT activities is 0.183,
|
||||
which is also the average precision (AP) of the majority baseline. \emph{Masked} input hides the three fields from which
|
||||
the label is built (\texttt{proprietaryCode}, \texttt{stateDetailActivity} and \texttt{state};
|
||||
Section~\ref{sec:design:labels}). The model then sees the activity comment and the comments of the neighbouring
|
||||
activities. \emph{Unmasked} input shows those fields as text. Table~\ref{tab:leakage} and Fig.~\ref{fig:leakage}
|
||||
collect the results.
|
||||
|
||||
\paragraph{With codes masked, the text still carries part of the NPT coding, and DistilBERT recovers the most.}
|
||||
On T2(b), the fine-tuned DistilBERT reached an AP of 0.579--0.603 over three seeds. TF-IDF with logistic regression
|
||||
reached 0.463 (95\% CI 0.418--0.513), the keyword lexicon 0.251 and the majority baseline 0.183. The comment-length
|
||||
baseline (0.162) did not exceed the prevalence, so the length of a comment alone does not mark NPT. The interval of every
|
||||
DistilBERT seed lies above that of TF-IDF; the lowest lower limit is 0.554 against an upper limit of 0.513. The protocol
|
||||
did not fix a paired contrast between the two models, so we attach no interval to their difference.
|
||||
|
||||
\paragraph{Showing the codes almost reproduces the label, so H2 is supported on T2.}
|
||||
With codes shown, TF-IDF reached an AP of 0.995 (0.991--0.999). The paired difference, unmasked minus masked, was
|
||||
$+0.531$ (0.480--0.580). For DistilBERT the difference was $+0.266$ to $+0.291$ over the three seeds, and each interval
|
||||
excluded zero. H2 predicted that showing the codes would raise the scores. The size of the rise matters more than its
|
||||
sign. The label is a deterministic function of the unmasked fields, and a linear model over word counts learns that
|
||||
function almost perfectly. The unmasked score is dominated by access to the fields used to construct the label. DistilBERT gained less and stayed at 0.869--0.880 with codes shown. We did not test why it
|
||||
uses the code tokens less well than the linear model.
|
||||
|
||||
\paragraph{The paired DeepSeek comparison leaves its difference from TF-IDF unresolved.}
|
||||
DeepSeek (the hosted DeepSeek-V4.1-Flash model, three repetitions) reached an AP of 0.406--0.408 with codes masked. Its
|
||||
paired difference to TF-IDF was $-0.055$ to $-0.058$, and the interval contained zero in each repetition (for example
|
||||
$-0.134$ to $0.011$ in repetition 0). Qwen3-8B, an incomplete run reported as such, scored 0.264 on seed~0. That is $0.200$
|
||||
below TF-IDF ($-0.250$ to $-0.152$). Its second seed was stopped at 17,827 of 23,447 activities and is not scored. H1
|
||||
expected no clear advantage of a zero-shot model over TF-IDF once codes are masked. The data agree, and every DeepSeek
|
||||
point estimate lies below TF-IDF, although that difference is not resolved. A zero-shot model never sees the convention by
|
||||
which the supervisors coded these reports, whereas the supervised baselines learn it from the training wells. This is one
|
||||
plausible reason for the gap; we did not test it. The point estimates spread from 0.406 to 0.408 across the three repetitions.
|
||||
|
||||
\paragraph{Grouping by wellbore instead of well raised the learned scores slightly, and no difference is resolved.}
|
||||
When the folds held out wellbores instead of wells, DistilBERT reached 0.612--0.624 on T2(b) with codes masked. The paired
|
||||
difference to the well split was $+0.015$ to $+0.040$, and every interval contained zero. TF-IDF rose to 0.489, a
|
||||
difference of $+0.026$ ($-0.001$ to $0.042$). The majority and lexicon scores were unchanged under the wellbore split. All learned point estimates are positive. This is consistent with sidetracks of one well sharing wording
|
||||
and context across folds (Section~\ref{sec:design:splits}), but with 26 wellbores in 11 wells the effect could not be
|
||||
resolved. It is also an order of magnitude smaller than the effect of showing the codes. The well split remains primary.
|
||||
|
||||
\paragraph{The same pattern holds under definition (a), without sidetrack rows and with OCR input.}
|
||||
Under definition (a), the majority AP is 0.153. With codes masked, TF-IDF reached 0.437, DistilBERT 0.552--0.578 and
|
||||
DeepSeek 0.389--0.391. Showing the codes added $+0.563$ for TF-IDF and $+0.298$ to $+0.337$ for DistilBERT. For TF-IDF
|
||||
the difference between the definitions, (b) minus (a), was $+0.026$ ($-0.003$ to $0.068$). The 202 activities coded as
|
||||
sidetrack were removed in a sensitivity run, leaving 23,245. On that set TF-IDF scored 0.457, DistilBERT 0.589--0.611 and
|
||||
DeepSeek 0.401--0.404. TF-IDF trained and tested on the OCR text of 23,387 activities reached 0.464, the same as on XML
|
||||
text. For this baseline, the OCR errors measured in Section~\ref{sec:data} do not change T2. Section~\ref{sec:res:c4}
|
||||
reports the corresponding comparison for T4.
|
||||
|
||||
\paragraph{Hole sections can be learned on days with a published hole size, not on filled days.}
|
||||
T1 has 932 drilling days: 672 with a hole size published in the report and 260 whose section was filled forward from an
|
||||
earlier day. On published days, TF-IDF reached an accuracy of 0.621 (0.504--0.742) against 0.286 for the majority
|
||||
section. On filled days it reached 0.819 against 0.815 for the majority. A filled label mostly continues the section in
|
||||
progress, so the majority baseline already predicts it and the text adds nothing. DistilBERT was below TF-IDF on published
|
||||
days (0.301--0.369) and close to the majority on filled days (0.754--0.808); we did not investigate why. The LLM raters
|
||||
show the same split (Section~\ref{sec:res:labels}): their median $\kappa$ with the section label was 0.707 on published
|
||||
days and 0.059 on filled days. TF-IDF on OCR text reached 0.625 on published days. Published sections therefore support
|
||||
the T4 analyses. Filled sections stay a convenience label whose accuracy on days without a published hole size is unknown.
|
||||
|
||||
\begin{table}[t]
|
||||
\centering
|
||||
\caption{Code leakage in NPT recognition, definition (b), leave-one-well-out. AP: average precision of the pooled
|
||||
out-of-fold predictions. Masked: activity codes hidden from the model input; unmasked: codes shown. Single values are one
|
||||
run with its 95\% well-cluster bootstrap interval in brackets. DistilBERT (three seeds) and DeepSeek (three repetitions)
|
||||
are given as the mean, with the range of the runs in parentheses. $\Delta$: unmasked minus masked, paired on the same
|
||||
folds; for DistilBERT, the range of the three per-seed differences, all of whose intervals exclude zero on T2 and include
|
||||
zero on T3. Qwen3-8B is an incomplete run (seed 0 only). n.r.: not run.}
|
||||
\label{tab:leakage}
|
||||
\footnotesize
|
||||
\begin{tabular}{llll}
|
||||
\toprule
|
||||
Method & masked & unmasked & $\Delta$ \\
|
||||
\midrule
|
||||
\multicolumn{4}{l}{\emph{T2(b): NPT activity, 23,447 activities}} \\
|
||||
Majority (prevalence) & 0.183 & n.r. & n.r. \\
|
||||
Comment length & 0.162 & n.r. & n.r. \\
|
||||
Lexicon & 0.251 & n.r. & n.r. \\
|
||||
TF-IDF + logistic & 0.463 [0.418, 0.513] & 0.995 [0.991, 0.999] & $+0.531$ [0.480, 0.580] \\
|
||||
DistilBERT & 0.593 (0.579--0.603) & 0.873 (0.869--0.880) & $+0.266$ to $+0.291$ \\
|
||||
DeepSeek zero-shot & 0.407 (0.406--0.408) & n.r. & n.r. \\
|
||||
Qwen3-8B (incomplete) & 0.264 [0.206, 0.340] & n.r. & n.r. \\
|
||||
\midrule
|
||||
\multicolumn{4}{l}{\emph{T3(b): NPT depth cell, 4,894 cells}} \\
|
||||
Majority (prevalence) & 0.1136 & n.r. & n.r. \\
|
||||
TF-IDF + logistic & 0.1225 [0.093, 0.195] & 0.1273 & $+0.0048$ [$-0.0005$, 0.0238] \\
|
||||
DistilBERT & 0.1212 (0.1175--0.1245) & 0.1235 (0.1189--0.1312) & $-0.0011$ to $+0.0066$ \\
|
||||
\bottomrule
|
||||
\end{tabular}
|
||||
\end{table}
|
||||
|
||||
\begin{figure}[t]
|
||||
\centering
|
||||
\includegraphics[width=0.9\linewidth]{leakage.pdf}
|
||||
\caption{Code leakage, definition (b), leave-one-well-out. (a) T2 NPT activity and (b) T3 NPT depth cell: average
|
||||
precision of TF-IDF + logistic and DistilBERT with activity codes masked (hatched) and shown (filled). Points are single
|
||||
runs or seeds with their 95\% well-cluster bootstrap intervals. The text above each pair gives the paired difference,
|
||||
unmasked minus masked. Horizontal lines: majority baseline (equal to the prevalence) and, in (a), the lexicon baseline.}
|
||||
\label{fig:leakage}
|
||||
\end{figure}
|
||||
|
||||
\subsection{Depth intervals and similar-interval retrieval (T3, T5)}
|
||||
\label{sec:res:diag}
|
||||
|
||||
\paragraph{T3 stays near chance whether or not the codes are shown, so H2 is not supported on T3.}
|
||||
T3 asks which 10\,m depth cells of the own hole contain an NPT interval. It covers 4,894 cells on 21 wellbores with
|
||||
WITSML logs in 10 wells, and 556 of them are positive under definition (b), a prevalence of 0.114. With codes masked,
|
||||
TF-IDF reached an AP of 0.1225 (0.093--0.195) and DistilBERT 0.1175--0.1245, against 0.1136 for the majority baseline
|
||||
(Table~\ref{tab:leakage}). The interval intersection over union was 0.119 for TF-IDF and 0.108--0.124 for DistilBERT.
|
||||
Showing the codes changed the AP of TF-IDF by $+0.0048$ ($-0.0005$ to $0.0238$) and that of DistilBERT by $-0.0011$ to
|
||||
$+0.0066$, with every interval containing zero. Only the intersection over union of TF-IDF rose by an interval that
|
||||
excludes zero, and only by 0.017 (0.0003--0.061). T3 inputs are restricted to the record before each cell
|
||||
(Section~\ref{sec:design:splits}), so the codes that define a positive cell never reach the model. The near-zero effect of
|
||||
unmasking is consistent with earlier codes saying little about where the next NPT interval will fall. The comparison leaves the magnitude of any AP effect unresolved. Under the wellbore split, TF-IDF reached 0.141, a difference of $+0.019$ ($-0.033$ to $0.043$).
|
||||
|
||||
\paragraph{Depth neighbours give the higher forecast AP.}
|
||||
We scored each cell by the mean label of its 10 nearest cells in measured depth, taken from the other wells. This gave an
|
||||
AP of 0.150 (0.116--0.204) against a prevalence of 0.114. Adding the WITSML summaries of hook load, rate of penetration,
|
||||
rotary speed and standpipe pressure lowered it to 0.135 (0.110--0.183). Under definition (a) the two values were 0.132 and
|
||||
0.120, against a prevalence of 0.098. These comparisons suggest some depth dependence in the labels. The run with WITSML summaries has a lower point estimate. Section~\ref{sec:res:planted} puts a scale on how weak the hazard is.
|
||||
|
||||
\paragraph{T5 asks whether an interval can be matched to similar intervals elsewhere in the field.}
|
||||
The 410 queries are own-hole NPT (b) intervals with a known hole section and formation, on 19 wellbores in 10 wells. The
|
||||
candidates for each query are the intervals of the other wells (a median of 358). A candidate earns one point each for the
|
||||
same section, the same formation and a shared NPT cause, so its gain runs from 0 to 3. No representation reads codes,
|
||||
causes, labels, sections or formations. The protocol (v5) was locked before any retrieval score was computed.
|
||||
|
||||
\paragraph{Depth is the strongest individual representation.}
|
||||
Ranking candidates by the difference in measured depth gave an nDCG@10 of 0.666 (0.644--0.685), against 0.463 for a
|
||||
random order (Table~\ref{tab:t5}). Reciprocal rank fusion of depth, the 24\,h of WITSML before the event and the masked
|
||||
text of the 24\,h before it reached 0.670. Its paired difference to depth was $+0.004$ ($-0.010$ to $0.018$). The
|
||||
pre-event text alone reached 0.611, which is 0.055 below depth ($-0.063$ to $-0.048$). The pre-event WITSML summaries
|
||||
reached 0.495, only 0.032 above random (0.008--0.053). The text of the event itself, a description view rather than a
|
||||
forecast, reached 0.528. The conclusions did not change under definition (a), where depth reached 0.660 and fusion
|
||||
differed from it by $+0.005$ ($-0.012$ to $0.022$). Pooling candidates by wellbore instead of well gave 0.663 and $+0.003$
|
||||
($-0.012$ to $0.016$).
|
||||
|
||||
\paragraph{Depth retrieves more intervals from the same formation.}
|
||||
Within a single field, the hole section and the formation are both functions of depth. Depth put a candidate from the
|
||||
same formation in 71\% of the top-10 slots, against 23\% for a random order. The masked pre-event text named hole sizes
|
||||
often enough to place the same section in 58\% of the slots, more than depth (45\%). The share of top-10 candidates
|
||||
that share a cause with the query barely moved, from 0.70 for a random order to at most 0.75. On this corpus T5
|
||||
therefore rewards stratigraphic position. None of the baselines retrieves intervals with a similar cause much better than
|
||||
chance. T5 lies outside the G2 coverage rule and stays a diagnostic.
|
||||
|
||||
\begin{table}[t]
|
||||
\centering
|
||||
\caption{T5 similar-interval retrieval, definition (b), candidates from the other wells (410 queries). nDCG@10 with
|
||||
linear gain (same section, same formation, shared cause; 0--3) and its 95\% well-cluster bootstrap interval. $\Delta$:
|
||||
paired difference to depth. MRR: reciprocal rank of the highest-ranked fully relevant candidate (374 queries have one). P@10: share
|
||||
of fully relevant candidates in the top 10. The last three columns: share of the top 10 with the same section, the same
|
||||
formation and an overlapping cause (descriptive). Fusion uses reciprocal rank fusion with $k = 60$.}
|
||||
\label{tab:t5}
|
||||
\footnotesize
|
||||
\setlength{\tabcolsep}{2pt}
|
||||
\begin{tabular}{lccccccc}
|
||||
\toprule
|
||||
Representation & nDCG@10 & $\Delta$ vs depth & MRR & P@10 & section & formation & cause \\
|
||||
\midrule
|
||||
Random order & 0.463 [0.444, 0.478] & $-0.203$ [$-0.228$, $-0.184$] & 0.161 & 0.052 & 0.369 & 0.234 & 0.703 \\
|
||||
Depth & 0.666 [0.644, 0.685] & reference & 0.397 & 0.194 & 0.451 & 0.711 & 0.708 \\
|
||||
WITSML, 24\,h before & 0.495 [0.462, 0.527] & $-0.171$ [$-0.209$, $-0.136$] & 0.219 & 0.086 & 0.418 & 0.270 & 0.720 \\
|
||||
Text, 24\,h before & 0.611 [0.590, 0.630] & $-0.055$ [$-0.063$, $-0.048$] & 0.379 & 0.166 & 0.576 & 0.371 & 0.746 \\
|
||||
Text of the event & 0.528 [0.506, 0.544] & $-0.138$ [$-0.163$, $-0.118$] & 0.271 & 0.109 & 0.405 & 0.301 & 0.754 \\
|
||||
Fusion, pre-event & 0.670 [0.653, 0.687] & $+0.004$ [$-0.010$, 0.018] & 0.435 & 0.221 & 0.560 & 0.566 & 0.737 \\
|
||||
Fusion, all four & 0.661 [0.638, 0.680] & $-0.005$ [$-0.024$, 0.009] & 0.434 & 0.217 & 0.546 & 0.540 & 0.746 \\
|
||||
\bottomrule
|
||||
\end{tabular}
|
||||
\end{table}
|
||||
|
||||
\subsection{How far the labels can be trusted without a human rater}
|
||||
\label{sec:res:labels}
|
||||
|
||||
No human rated any item. Every label is computed from the XML by code (Section~\ref{sec:design:labels}). What can be
|
||||
checked is whether readers of the masked text agree with that code. We used blind LLM raters for this
|
||||
(Section~\ref{sec:design:validation}). A trial of 100 masked activities was rated by Sonnet, Opus and Haiku. The main
|
||||
sample (M2) drew 300 masked activities from all 11 wells in 225 strata, excluding the trial items, and 90 T1 days (45
|
||||
published, 45 filled). Qwen3-8B, Gemma~3 12B and Ministral~3 8B rated it twice on the same day. Agreement is Cohen's
|
||||
$\kappa$ against the code label, weighted by the inverse selection probability (Table~\ref{tab:labelkappa}).
|
||||
|
||||
\begin{table}[t]
|
||||
\centering
|
||||
\caption{Agreement of blind LLM raters with the code labels: Cohen's $\kappa$ weighted by inverse selection probability,
|
||||
per rater and median; Fleiss' $\kappa$ between the three raters. Trial: 100 masked activities (operation class: 65 items;
|
||||
Haiku left 2 items unrated). M2: 300 masked activities (operation class: 195) and 90 T1 days; pass 2 is a same-day repeat
|
||||
on the same items. H3 required $\kappa \ge 0.6$ for binary NPT.}
|
||||
\label{tab:labelkappa}
|
||||
\footnotesize
|
||||
\setlength{\tabcolsep}{1.5pt}
|
||||
\begin{tabular}{lcccccccccc}
|
||||
\toprule
|
||||
& \multicolumn{4}{c}{Trial (Sonnet, Opus, Haiku)} & \multicolumn{4}{c}{M2 pass 1 (Qwen, Gemma, Ministral)}
|
||||
& M2 pass 2 & Fleiss \\
|
||||
\cmidrule(lr){2-5}\cmidrule(lr){6-9}
|
||||
Target & S & O & H & median & Q & G & M & median & median & trial / M2 \\
|
||||
\midrule
|
||||
NPT (a) & 0.553 & 0.584 & 0.529 & 0.553 & 0.108 & 0.258 & 0.258 & 0.258 & 0.242 & \multirow{2}{*}{0.662 / 0.512} \\
|
||||
NPT (b) & 0.564 & 0.683 & 0.574 & 0.574 & 0.129 & 0.283 & 0.292 & 0.283 & 0.283 & \\
|
||||
Cause (a) & 0.476 & 0.448 & 0.456 & 0.456 & 0.092 & 0.220 & 0.220 & 0.220 & 0.200 & \multirow{2}{*}{0.644 / 0.392} \\
|
||||
Cause (b) & 0.487 & 0.524 & 0.469 & 0.487 & 0.105 & 0.228 & 0.239 & 0.228 & 0.229 & \\
|
||||
Operation class & 0.434 & 0.624 & 0.389 & 0.434 & 0.162 & 0.175 & 0.211 & 0.175 & 0.169 & 0.662 / 0.255 \\
|
||||
Section, published & n.r. & n.r. & n.r. & n.r. & 0.556 & 0.707 & 0.721 & 0.707 & 0.629 & \multirow{2}{*}{n.r. / 0.480} \\
|
||||
Section, filled & n.r. & n.r. & n.r. & n.r. & 0.067 & 0.054 & 0.059 & 0.059 & 0.049 & \\
|
||||
\bottomrule
|
||||
\end{tabular}
|
||||
\end{table}
|
||||
|
||||
\paragraph{Agreement with the code remains below the H3 threshold.}
|
||||
In the trial, the median $\kappa$ for NPT was 0.553 under definition (a) and 0.574 under (b). Only Opus exceeded 0.6, with
|
||||
0.683 on (b). In M2 pass 1, the medians were 0.258 and 0.283. Gemma and Ministral reached 0.258--0.292, and Qwen
|
||||
only 0.108--0.129. Agreement on cause groups and operation classes was lower still, with M2 medians of 0.220--0.228 and
|
||||
0.175. H3 required a $\kappa$ of at least 0.6 for binary NPT, and neither sample met it. The two samples differ in both
|
||||
items and raters, so the gap between 0.574 and 0.283 mixes model size with sample composition. We did not separate the
|
||||
two.
|
||||
|
||||
\paragraph{The raters agree with each other more than with the code, and their answers are stable.}
|
||||
Fleiss' $\kappa$ for NPT between the three raters was 0.662 in the trial and 0.512 in M2 (0.528 in pass 2),
|
||||
higher in each sample than the median agreement with the code. Pass 2 started 25.6--29.2 minutes after pass 1 ended.
|
||||
Each model's agreement with its own pass-1 answers was 0.912 for Qwen, 0.9999 for Gemma and 0.824 for Ministral, and
|
||||
the median agreement with code (b) stayed at 0.283. The low agreement with the code is therefore not random noise in the
|
||||
raters. It is systematic: the raters read the activity text differently from the way the code accounts for it. Two
|
||||
caveats limit what follows from this. The raters share training data and reading conventions with each other and with the
|
||||
LLM baselines, so their mutual agreement is evidence of a common reading, not of a correct one. A same-day repeat also
|
||||
measures only short-term stability.
|
||||
|
||||
\paragraph{The disagreement runs in both directions.}
|
||||
Weighted by selection probability, the M2 raters in pass 2 would call 23.0--49.3\% of activities NPT. The code (b)
|
||||
marks 18.1\% of the 23,347 activities that remain after the trial items are excluded. Qwen called the most, nearly half.
|
||||
In pass 2, all three raters agreed in calling 22 of the 150 code-negative items NPT and 34 of the 150 code-positive items
|
||||
not NPT. Item A062 describes a failed pressure test that the code marks as not NPT. Item A157
|
||||
carries a sidetrack code while its comment describes running the string in hole. A code can reflect how the supervisor
|
||||
booked a whole phase of work, whereas a rater judges the single line. Eight sampled waiting activities sit outside the
|
||||
interruption codes and are negative under (b); four to seven of them were rated NPT, depending on the rater. Without a
|
||||
human rater we cannot say which reading is right.
|
||||
|
||||
\paragraph{Gate G1 chose definition (b) by a narrow margin that is fragile.}
|
||||
The locked rule selects (b) when its median $\kappa$ in pass 1 exceeds that of (a) by at least 0.02. The
|
||||
difference was 0.025, so (b) became the primary definition. Exploratory checks show how thin that margin is. Dropping one
|
||||
well at a time gave differences of 0.015--0.037, and 10 of the 11 deletions kept the margin. Without selection weights the
|
||||
difference was 0.019, below the margin. A bootstrap over the 11 wells gave a 95\% interval of $-0.0095$ to $0.0741$. The
|
||||
sample has one item in 185 of its 225 strata, and its Kish effective size is about 126 before any dependence within wells
|
||||
is considered. We therefore report definition (a) as a sensitivity analysis throughout. Neither T2 nor T3 changes its
|
||||
conclusion between the definitions (Section~\ref{sec:res:leak}).
|
||||
|
||||
\paragraph{No class met the thresholds for a separate score.}
|
||||
A class is scored on its own only if its median $\kappa$ reaches 0.60 with at least 20 rated items and at least 3 wells
|
||||
of 5 items each (Section~\ref{sec:design:validation}). The 12\textonequarter-inch section reached a $\kappa$ of 0.701, but
|
||||
with 18 rated items. The \texttt{drill\_ream} operation class reached 0.655 with 15 items. The equipment cause group had
|
||||
enough items (62) but a $\kappa$ of only 0.277. The pooled downhole group reached 0.173 with 20 items, and the failed-operation
|
||||
group 0.009 with 25. No per-class score is reported. Cause and operation scores appear only as pooled diagnostics.
|
||||
|
||||
\paragraph{The external cross-checks confirm the parsing, not the labels.}
|
||||
DrillScribe \citep{paul2026drillscribe} rebuilds an NPT ledger from the same Volve reports. All 1,758 of its episodes
|
||||
matched ours over the 23,447 activities. Both are built from \texttt{stateDetailActivity}, so the match confirms our
|
||||
parsing and episode grouping; it is not an independent NPT label. The text rules of the Anatoly5ms repository
|
||||
\citep{grigorovich2026complication} marked 219 of the 4,894 T3 cells with strong or weak matches. Of the 556 cells
|
||||
positive under (b), 83 were among them (Jaccard index 0.120); under (a) the overlap was 72 of 478 (0.115). With strong
|
||||
matches only, the overlaps fell to 36 and 34. The rules look for four kinds of complication while T3 counts every NPT
|
||||
interval, so a low overlap is expected and says little about either set. The TSPP set \citep{cao2024tspp,cao2023tsppdata}
|
||||
gives three stuck-pipe events on wells 15/9-F-4, 15/9-F-9~A and 15/9-F-1. Windows of $\pm 3$\,h around them, assuming
|
||||
UTC, contain 9, 14 and 15 DDR activities and no stuck-equipment code. The F-4 window has three activities coded as
|
||||
equipment failure and the F-9~A window one. Either the reports booked these events under other codes or the clocks
|
||||
differ. We did not resolve which.
|
||||
|
||||
\paragraph{What this does and does not establish.}
|
||||
The labels are a reproducible function of the XML, and an independent rebuild from the same fields agrees with them.
|
||||
Blind LLM raters of the masked text agree with the labels to a limited but stable degree, and they disagree in a
|
||||
systematic way. None of this shows that the DDR codes mark real NPT. T2, T3 and T5 scores therefore measure how well a
|
||||
model reproduces the DDR coding, and the paper treats them as diagnostics. The next subsection asks a narrower question
|
||||
that does not depend on the codes being right.
|
||||
|
||||
\subsection{What a planted signal tells us about the pipeline}
|
||||
\label{sec:res:planted}
|
||||
|
||||
H3 was not met, and the real T2 and T3 labels are derived from codes. The real scores therefore cannot show whether the
|
||||
pipeline would find a signal that is known to be present. Protocol v6, locked before any planted score was computed
|
||||
(Appendix~\ref{app:record}), addresses this. It draws labels at random, so they are known exactly, and writes a signal of
|
||||
known strength into the model input. For T2, labels are drawn at the real prevalence of 0.183. A fixed cue phrase is
|
||||
appended to the comment of a fraction $c$ of the planted NPT rows (the cue fraction) and of a fraction $f$ of the other
|
||||
rows (the decoy rate). The same TF-IDF + logistic baseline then runs with leave-one-well-out splits. For T3, cell labels
|
||||
are drawn with log-odds that rise by $s$ per standard deviation of measured depth (the signal strength). They are
|
||||
forecast from the 10 nearest cells by depth in the other wells, as in Section~\ref{sec:res:diag}. Each setting ran with
|
||||
five seeds. Real labels are not used, and the study has no gate.
|
||||
|
||||
\paragraph{Two of the three null checks passed; the check for T2 at $f = 0.10$ failed, and that setting is not interpreted.}
|
||||
At the locked null settings ($c = 0$ or $s = 0$), the mean AP must lie within 0.01 of the prevalence, and the seed-0 interval must
|
||||
contain it. For T2 at $f = 0.02$ the mean AP was 0.182 against 0.183, and for T3 it was 0.118 against 0.114; both passed
|
||||
(Table~\ref{tab:planted}). For T2 at $f = 0.10$ the mean AP was 0.193, 0.0101 above the prevalence and just outside the
|
||||
tolerance. Its seed-0 interval, 0.193--0.208, excluded the prevalence. Under the locked rule this setting fails. Its
|
||||
curve is not interpreted, and the verdict stands.
|
||||
|
||||
\paragraph{A post hoc diagnosis, not part of protocol v6, traces the failure to the definition of the null.}
|
||||
On 23 November we examined the failure. At $c = 0 < f$, no planted row carries the cue while a share $f$ of the other
|
||||
rows do. The absence of the cue is then itself a signal of a planted row. A score that only flags rows without the cue
|
||||
gave an AP of 0.200 at $f = 0.10$, against 0.199 expected in theory. At $f = 0.02$ it gave 0.185 (0.186 expected), and
|
||||
the model reached 0.193 and 0.182. The setting with no information is $c = f$. At $c = f = 0.10$ the model reached 0.182
|
||||
(seed-0 interval 0.176--0.188), which would pass the check. The cue rates explain why the original check still contained information about the planted class. A planted null must give the cue at the same rate in both classes. Using the $f = 0.10$ curve
|
||||
would require a new locked protocol with the null at $c = f$.
|
||||
|
||||
\begin{table}[t]
|
||||
\centering
|
||||
\caption{Planted-signal study (protocol v6, 5 seeds). Upper part: null checks; a check passes if the mean AP lies within
|
||||
0.01 of the prevalence $\pi$ and the seed-0 95\% well-cluster interval contains $\pi$. The last row is a post hoc
|
||||
diagnosis (23 November) that is not part of protocol v6. Lower part: the planted strength at which the planted curve
|
||||
reaches the real score, by linear interpolation of the mean curve; the range is that of the five per-seed values.}
|
||||
\label{tab:planted}
|
||||
\footnotesize
|
||||
\begin{tabular}{llcccl}
|
||||
\toprule
|
||||
Task & Setting & mean AP & $\pi$ & seed-0 interval & Result \\
|
||||
\midrule
|
||||
T2 & $c = 0$, $f = 0.02$ & 0.182 & 0.183 & 0.179--0.195 & passed \\
|
||||
T2 & $c = 0$, $f = 0.10$ & 0.193 & 0.183 & 0.193--0.208 & \textbf{failed}; not interpreted \\
|
||||
T3 & $s = 0$ & 0.118 & 0.114 & 0.107--0.124 & passed \\
|
||||
T2 & $c = f = 0.10$ (post hoc) & 0.182 & 0.183 & 0.176--0.188 & would pass; outside v6 \\
|
||||
\midrule
|
||||
& & real score & & planted strength & \\
|
||||
\cmidrule(lr){3-3}\cmidrule(lr){5-5}
|
||||
T2 & masked TF-IDF AP, $f = 0.02$ & 0.463 & & $c \approx 0.82$ (0.785--0.840) & \\
|
||||
T3 & depth-neighbour AP & 0.150 & & $s \approx 0.66$ (0.554--0.716) & oracle AP $\approx 0.21$ \\
|
||||
\bottomrule
|
||||
\end{tabular}
|
||||
\end{table}
|
||||
|
||||
\paragraph{The real T2 score matches a planted cue rate of about 82\%.}
|
||||
At $f = 0.02$, the AP rose monotonically with the cue fraction, from 0.182 at $c = 0$ through 0.258 at $c = 0.25$ and
|
||||
0.363 at $c = 0.5$ to 0.521 at $c = 1$ (Fig.~\ref{fig:planted}a). The real masked TF-IDF score of 0.463 is reached at
|
||||
$c \approx 0.82$, with a range of 0.785--0.840 over the seeds. Put plainly, for TF-IDF to reach its real score through one
|
||||
explicit phrase, about four in five NPT rows would need to carry it. Even at $c = 1$ the AP is 0.521, not 1. The text
|
||||
fed to the model joins each comment with those of the neighbouring activities, so the cue spills into other rows. At
|
||||
$c = 1$, 34.7\% of the rows without a planted label see the cue somewhere in their input. Cue spill could raise the cue rate needed to match the real score. The calibration did not isolate the size of that effect.
|
||||
|
||||
\paragraph{The real T3 score corresponds to a very weak depth hazard.}
|
||||
The depth-neighbour forecast rose from an AP of 0.118 at $s = 0$ to 0.131 at $s = 0.5$, 0.191 at $s = 1$ and 0.379 at
|
||||
$s = 2$ (Fig.~\ref{fig:planted}b). An oracle that knows the true planted hazard reached 0.176, 0.283 and 0.489 at the same
|
||||
strengths. The real forecast AP of 0.150 is reached at $s \approx 0.66$ (0.554--0.716 over the seeds). At that strength
|
||||
even the oracle would reach an AP of only about 0.21. Under that planted depth model, even exact knowledge of the hazard gives limited discrimination. This provides a
|
||||
scale against which to interpret the T3 scores of Section~\ref{sec:res:diag}.
|
||||
|
||||
\paragraph{The calibration quantifies detectability under the planted mechanisms.}
|
||||
Three limits apply. The cue is one artificial phrase, whereas real NPT text holds many partial and varied cues. The
|
||||
value of $c$ measures the strength of that one simulated cue. The fraction of real NPT rows with an explicit cue is unknown.
|
||||
Planted labels are independent across rows and cells. The ranges over seeds omit the event and well dependencies in real NPT. What the study shows is
|
||||
that the pipeline finds a planted signal of known strength and returns the prevalence when there is none, once the null
|
||||
is defined correctly. It says nothing about whether the DDR codes mark real NPT.
|
||||
|
||||
\begin{figure}[t]
|
||||
\centering
|
||||
\includegraphics[width=0.9\linewidth]{planted.pdf}
|
||||
\caption{Planted-signal study (protocol v6, 5 seeds, range shaded), leave-one-well-out. (a) T2: average precision of
|
||||
TF-IDF + logistic against the cue fraction $c$ at decoy rate $f = 0.02$. (b) T3: average precision of the depth-neighbour
|
||||
forecast and of an oracle that knows the true hazard, against the signal strength $s$ (log-odds per standard deviation of
|
||||
measured depth). Dashed lines: prevalence. Dotted lines: the real scores (masked TF-IDF on T2, depth-neighbour forecast on
|
||||
T3). The vertical line and band mark the planted strength that matches the real score and its range over seeds.}
|
||||
\label{fig:planted}
|
||||
\end{figure}
|
||||
76
paper/sections/07_discussion.tex
Normal file
76
paper/sections/07_discussion.tex
Normal file
@@ -0,0 +1,76 @@
|
||||
\section{Discussion}
|
||||
\label{sec:discussion}
|
||||
|
||||
\paragraph{What held.}
|
||||
Code exposure had the largest effect on the activity classifier. It raised T2~(b) average precision from 0.463
|
||||
to 0.995 for TF-IDF and by 0.266 to 0.291 for DistilBERT, with confidence intervals excluding zero
|
||||
(Section~\ref{sec:res:leak}). For question answering, typed queries over the XML-derived tables gave the highest
|
||||
accuracy, 0.712. The agent reached 0.618, retrieval reached 0.148 and the question alone reached 0.071
|
||||
(Section~\ref{sec:res:t4}). The report comparison also found conflicting values in two flags in all 1,759 HTML
|
||||
reports. OCR evaluated against HTML can preserve such errors (Section~\ref{sec:res:c4}).
|
||||
|
||||
\paragraph{What the NPT scores measure.}
|
||||
T2 measures recovery of the DDR coding. With codes masked, DistilBERT reached 0.579 to 0.603, TF-IDF reached
|
||||
0.463 and the prevalence was 0.183. The planted-cue study matched the TF-IDF score at a cue rate of about
|
||||
82\% among planted positives (range 0.78 to 0.84 across seeds). This calibration describes the strength of one
|
||||
simulated cue. The frequency and diversity of cues in real comments remain unknown.
|
||||
Only 50.3\% of NPT~(b) activities can be placed in depth. Masked T3 AP stayed near the prevalence of 0.114,
|
||||
while the depth-neighbour forecast matched a planted hazard of strength 0.66. The oracle AP was about 0.21
|
||||
under that particular hazard (Section~\ref{sec:res:planted}).
|
||||
|
||||
\paragraph{What the question-answering scores measure.}
|
||||
The tool modes query the XML-derived tables that supplied the reference answers. Their scores measure how well
|
||||
the model constructs queries and interprets the returned values under direct table access. C4 measures the
|
||||
combined effect of the document representation, passage retrieval and answer generation. C4 accuracy was
|
||||
0.151 to 0.181, close to RAG at 0.148. Abstention accounted for 0.535 to 0.678 of the text-retrieval predictions.
|
||||
The retriever had no wellbore filter, so the effect of restricting retrieval to the requested wellbore remains
|
||||
an open question.
|
||||
|
||||
\paragraph{Which comparisons were unresolved.}
|
||||
The paired intervals for DeepSeek versus TF-IDF on T2, OCR versus XML on T4, and reciprocal-rank fusion versus
|
||||
depth on T5 all spanned zero. Table~\ref{tab:lessons} also records the agreement threshold that the language-model
|
||||
raters fell short of and the null check that failed at the larger decoy rate.
|
||||
|
||||
\begin{table}[!htbp]
|
||||
\centering
|
||||
\caption{Hypotheses and tests that were not supported or were limited, with the evidence for the cause and the lesson. Causes marked $^\ast$ are consistent with the evidence but were not tested directly.}
|
||||
\label{tab:lessons}
|
||||
\small
|
||||
\setlength{\tabcolsep}{3pt}
|
||||
\begin{tabular}{@{}>{\raggedright\arraybackslash}p{0.17\linewidth}>{\raggedright\arraybackslash}p{0.22\linewidth}>{\raggedright\arraybackslash}p{0.30\linewidth}>{\raggedright\arraybackslash}p{0.26\linewidth}@{}}
|
||||
\toprule
|
||||
Test & Outcome & Cause & Lesson \\
|
||||
\midrule
|
||||
H1: LLM zero-shot against TF-IDF, T2~(b) masked & DeepSeek $-0.055$ to $-0.058$, intervals include 0; Qwen3-8B $-0.200$ (incomplete run) & Not tested$^\ast$; the prompt gave no examples and the label is a coding convention & Do not expect a general model to infer a coding convention it was not shown \\
|
||||
H2 on T3 & Unmasking changed AP by $+0.0048$, interval $-0.0005$ to $0.0238$ & Masked T3 stays near prevalence (0.1225 against 0.114) & Report the observed change alongside the prevalence \\
|
||||
H3: rater agreement with the code & Median weighted $\kappa$ 0.283 for NPT~(b), target 0.6; no class qualified & Raters judge the activity as described; the code can reflect how the DDR booked a whole phase (Section~\ref{sec:res:labels}) & Treat agreement as consistency of one reading, and release the disagreements \\
|
||||
H4: evidence score against accuracy & Spearman 0.535 to 0.538, not weak & Mostly the split between answered and abstained questions: 0.23 without abstentions, 0.07 within tool-only & Do not use an evidence score as a proxy for accuracy \\
|
||||
H5: T4 component of OCR sensitivity & OCR minus XML $+0.023$ to $+0.038$, intervals include 0 & Lookup abstention is more frequent for XML (0.762) than for HTML (0.448) or OCR (0.462); the mechanism is untested & Measure OCR at a level where retrieval does not dominate the errors \\
|
||||
Agent against tool-only & $-0.075$ to $-0.116$ & Call failures reached 6.4\%; contributions of prompt and context were not isolated & Report failed calls separately \\
|
||||
T5 representations & Paired intervals include zero; best $+0.004$, interval $-0.010$ to $0.018$ & Section and formation both follow depth in one field & Include a depth baseline in any similar-interval retrieval \\
|
||||
Planted-signal null, T2 $f = 0.10$ & AP 0.193 against 0.183, off by 0.0101 & The null was defined at $c = 0 < f$, where the absence of a cue is itself a signal (post hoc) & Define the null as $c = f$; a new locked protocol would be needed \\
|
||||
T1 section on filled days & Rater agreement 0.059 against 0.707 on published days & Filled labels use a carry-forward rule with a leading-fill fallback & Use published days for claims about the section \\
|
||||
Qwen3-8B and Llama baselines & Stopped; Llama ran a smoke test only & Decision of the project owner (Appendix~\ref{app:record}) & Report the incomplete run as such \\
|
||||
\bottomrule
|
||||
\end{tabular}
|
||||
\end{table}
|
||||
|
||||
\paragraph{Limits of the label validation.}
|
||||
No human rater was available. The three raters are language models that may share training data or conventions with the baselines they help to evaluate, so agreement between them (Fleiss $\kappa$ about 0.5 to 0.66) shows consistency of one reading, not correctness. The cross-checks are weaker than they look. Our parser reproduces all 1,758 DrillScribe episode keys, but both derive NPT from the same field, so that check validates the parser and not the label. The Anatoly5ms text rules marked 219 of 4,894 T3 cells, with 72 overlapping NPT~(a) and 83 overlapping NPT~(b), and they cover four trouble groups only. The three TSPP scenarios contain no stuck-equipment code in the DDR, and three cases support no statistic. Rater agreement falls to 0.059 on filled sections. Selecting NPT~(b) rested on a margin of 0.025, and one of eleven well deletions took it below the selection threshold.
|
||||
|
||||
\paragraph{Practical implications for DDR benchmarks.}
|
||||
Report masked and exposed inputs alongside average precision and prevalence. Group folds by well because sibling
|
||||
wellbores can share dates and inherited hole intervals (Section~\ref{sec:design:splits}).
|
||||
Use the XML to verify what the published renders print. When reporting an evidence score, show how it behaves
|
||||
among answers the model actually attempts. The pooled association with correctness dropped when abstentions
|
||||
were removed, and the within-tool-only association was weak even before removing them.
|
||||
|
||||
\paragraph{Scope.}
|
||||
All field results come from 11 wells in one field, and WITSML covers 21 of 26 wellbores. Reporting practices and
|
||||
formation depths can therefore recur across the held-out wells. DeepSeek was the only language model to complete
|
||||
the full API matrix. Its three repetitions measure variability under the same configuration. Qwen3-8B supplies
|
||||
partial v1 results, while Sonnet and Haiku ran on an auxiliary session sample with no enforced read isolation.
|
||||
Seven reports with incomplete OCR were dropped from C4. Sixteen date-disagreement pages were retained and flagged,
|
||||
and the paired analysis was repeated with affected questions and reports removed. PDF pages in this study are
|
||||
born-digital renders. The effect of scan degradation remains unknown. Appendix~\ref{app:record} records the
|
||||
experimental deviations and the pending release terms.
|
||||
17
paper/sections/08_conclusion.tex
Normal file
17
paper/sections/08_conclusion.tex
Normal file
@@ -0,0 +1,17 @@
|
||||
\section{Conclusion}
|
||||
\label{sec:conclusion}
|
||||
|
||||
Activity codes can make a classifier appear to detect non-productive time by giving it the fields that define the
|
||||
label. With the codes visible, TF-IDF average precision rose from 0.463 to 0.995, and DistilBERT gained
|
||||
0.27 to 0.29. The masked TF-IDF score matched a cue rate of about 82\% among planted positives in the calibration.
|
||||
Depth-interval scores stayed near prevalence. The low agreement between blind language-model raters and the codes
|
||||
(median $\kappa$ 0.283) limits the NPT tasks to diagnostics of code-derived labels.
|
||||
|
||||
On 1,652 well-scoped questions, DeepSeek reached macro-family accuracy of 0.712 with typed queries over XML-derived
|
||||
tables, 0.618 with the agent, 0.148 with retrieval and 0.071 with the question alone. On the paired document questions,
|
||||
the OCR--XML accuracy intervals spanned zero. The render comparison still identified two flags and a depth column
|
||||
whose printed values differ from the XML. The adapted evidence score mainly separated answers from abstentions,
|
||||
and the larger-decoy planted-cue check failed under its locked null.
|
||||
|
||||
A DDR benchmark can report these effects separately by scoring code-masked and code-exposed inputs on the same
|
||||
held-out wells and scoring each published representation against the same structured answer.
|
||||
88
paper/sections/A_record.tex
Normal file
88
paper/sections/A_record.tex
Normal file
@@ -0,0 +1,88 @@
|
||||
% Appendix A: protocol record. Every number is traced in paper/provenance/03_05_AB.md.
|
||||
\section{Protocol record}\label{app:record}
|
||||
|
||||
This appendix records what each protocol locked, when, and what was known at the time; then the gates, the deviations
|
||||
and the incidents. Each file is checked with \texttt{sha256sum -c} against its \texttt{.sha256} file, and each later
|
||||
protocol names the checksum of the one it extends. All dates are 2026 and all lock times UTC.
|
||||
|
||||
\begin{table}[ht]
|
||||
\centering
|
||||
\caption{Locked protocols. The hash prefix is the first 12 hexadecimal digits of the SHA-256 of the YAML file.}
|
||||
\label{tab:protocols}
|
||||
\small
|
||||
\begin{tabular}{@{}p{0.05\textwidth}p{0.08\textwidth}p{0.14\textwidth}p{0.31\textwidth}p{0.29\textwidth}@{}}
|
||||
\toprule
|
||||
File & Locked & Hash prefix & What it fixes & Known at the lock \\
|
||||
\midrule
|
||||
v1 & 18/11 04:09 & \texttt{fb11c6074b27} & Tasks, label rules, NPT selection rule, class rules, splits, masking,
|
||||
metrics,
|
||||
seeds, baselines, gates G1--G4 & Label counts; the trial ratings of 100 items; the first-pass M2 rater $\kappa$ that
|
||||
selected the NPT definition;
|
||||
no baseline score \\
|
||||
v2 & 19/11 & \texttt{370f949f53cc} & DeepSeek-V4.1-Flash as the API baseline; Sonnet and Haiku session sample & Partial
|
||||
v1 runs of Qwen3-8B; no test-well result used \\
|
||||
v3 & 20/11 & \texttt{61bc3e1d4f2e} & LLM judge for free-text T4 answers against the automatic score & Automatic scores
|
||||
of the sample; no judge verdict \\
|
||||
v4 & 20/11 & \texttt{6a9ad0fb64e3} & Ordered error taxonomy; adapted EGS and the RQ4 test & G2 v2 headline metrics; no
|
||||
error class or EGS value \\
|
||||
v5 & 20/11 & \texttt{c99bb91bdca9} & T5 items, gain, representations, metrics; neighbour forecast & Counts of
|
||||
relevance labels only \\
|
||||
v6 & 20/11 & \texttt{0376aa18ea7a} & Planted-signal studies for T2 and T3, cue phrases, null checks & Real masked T2
|
||||
and T3 results; no planted score \\
|
||||
\bottomrule
|
||||
\end{tabular}
|
||||
\end{table}
|
||||
|
||||
\paragraph{Gates.} G0 (29/10) checked the infrastructure: the parsed counts match the expected values, the render
|
||||
deviations are explained and the OCR pilot is measured. It passed. G1 required the protocol to be locked before any
|
||||
benchmark baseline and the class rules to be applied. It passed on 18/11; the NPT rule selected (b) by 0.025, and no
|
||||
class met all thresholds for a separate score. G2 required the locked baselines over the reporting scope, masked and
|
||||
unmasked T2 and T3, at least three seeds for stochastic models and confidence intervals by well. G2 under v1 cannot be
|
||||
met, because the Qwen3-8B and Llama 3.1 8B runs were stopped. G2 under v2 replaces those cells with DeepSeek-V4.1-Flash
|
||||
and passed on 20/11 with no missing cell. G3 allowed an LLM judge only with $\kappa \geq 0.6$ against the reference; it
|
||||
passed on 20/11, with the reference changed as described below. G4 requires the release package to rerun from scratch
|
||||
and the third-party licences to be checked; it has not been assessed.
|
||||
|
||||
\paragraph{Deviations.} Each deviation is a new protocol; no locked file was edited.
|
||||
\begin{itemize}
|
||||
\item \emph{Local models replaced (v2).} The project owner stopped Qwen3-8B and Llama 3.1 8B on 19/11, after the v1 runs
|
||||
had begun and without reference to a test-well result. Qwen T4/C4 seed 0 had 10,214 of 16,317 predictions, Qwen T2 had
|
||||
seed 0 complete and 17,827 of 23,447 for seed 1, and Llama had none. Two earlier drafts of v2, Claude models as the API
|
||||
baseline and DeepSeek-V4.1-Flash replacing both local models, were replaced before any v2 call.
|
||||
\item \emph{Session batches.} Protocol v2 planned batches of 30 T4 questions and 100 T2 items. The subagents used 15 and
|
||||
50, because the reading tool returns about 42,000 characters.
|
||||
\item \emph{Judge reference (v3).} Protocol v1 planned the author's ratings as the judge reference. No human rater
|
||||
exists, so v3 uses the automatic score against the XML answer. G3 thus measures consistency with the automatic scorer.
|
||||
\item \emph{Analyses added later (v4--v6).} The error taxonomy, the EGS test, T5 and the planted-signal studies were not
|
||||
in v1; each was locked before its own scores.
|
||||
\item \emph{Failed null check (v6).} At planted cue strength $f = 0.10$ the T2 null check failed: the mean AP was off
|
||||
the
|
||||
prevalence by 0.0101 against a tolerance of 0.01, and the seed-0 interval did not contain it. The $f = 0.10$ results are
|
||||
therefore not interpreted, and the locked verdict stands. A diagnosis on 23/11, made after the fact, traced the failure
|
||||
to the null definition and not to the pipeline. With cue rate 0 below $f$, the absence of the own cue marks the planted
|
||||
rows; the true null at cue rate equal to $f$ passes. Using that curve would need a new protocol.
|
||||
\item \emph{Planted-cue reference (v6).} The protocol records 0.461 for the real masked TF-IDF AP using the
|
||||
earlier G2 summary, which pooled different subsets and modalities. The calibration uses the full XML subset by
|
||||
well (AP 0.463). The report also retains the interpolation at 0.461.
|
||||
\item \emph{Working-tree state.} The run log marks the four T2 shards as dirty and the T3 run as clean.
|
||||
\end{itemize}
|
||||
|
||||
\paragraph{Incidents.} Errors found during the runs were fixed and the affected results recomputed.
|
||||
\begin{itemize}
|
||||
\item The average-precision code summed the positive weights in the wrong order after sorting by score. It was fixed,
|
||||
tested again with non-uniform weights, and all intervals were regenerated.
|
||||
\item One report run treated two missing well values as equal when pairing field questions. The report code was fixed
|
||||
with a regression test and the report rebuilt from the checkpoints.
|
||||
\item The first M1 driver recorded 140 passing tests and one failure: the test had matched its own command line as the
|
||||
signal that a child process was ready. After the fix, 145 tests passed.
|
||||
\item The M2 first-pass driver had a syntax error that was corrected during the run; the rerun reused the checkpoints.
|
||||
\item The first OCR hub matching paired three pages wrongly and skipped a check; both were fixed and the matching rerun.
|
||||
\item Qwen returned invalid JSON once in the date-clean C4 mode, once in RAG and four times in the agent mode; these
|
||||
predictions count as failures.
|
||||
\item The second rater pass was planned at least 14 days after the first; before G1 it was moved to the same day.
|
||||
\end{itemize}
|
||||
|
||||
\paragraph{Limitations of the session sample.} The Sonnet and Haiku subagents shared the session's file system. They
|
||||
were told to read only their batch file, but this was not enforced, and some ran directory listings. Outputs written by
|
||||
a group of agents were quarantined and rerun with one batch per agent. The sample has one repetition and no seed, and it
|
||||
lies outside G2.
|
||||
84
paper/sections/B_labels.tex
Normal file
84
paper/sections/B_labels.tex
Normal file
@@ -0,0 +1,84 @@
|
||||
% Appendix B: label mapping summary. Counts from outputs/labels/summary.json and outputs/t4/summary.json.
|
||||
\section{Label mapping}\label{app:labels}
|
||||
|
||||
The full mapping is the public file \texttt{configs/labels.yaml}; a check compares its code and state counts with the
|
||||
data.
|
||||
This appendix summarises it.
|
||||
|
||||
\paragraph{NPT definitions and cause groups.} Definition (a) takes the 3,577 rows whose main code is
|
||||
\texttt{interruption}, which has ten sub-codes. Definition (b) adds the rows with \texttt{state = fail} or a state
|
||||
detail other than \texttt{success}, 709 rows outside the interruption group, for 4,286 rows. A cause group comes from
|
||||
the interruption sub-code when it names one, from the state detail otherwise, and is \texttt{unspecified} when neither
|
||||
does (Table~\ref{tab:causes}). The 79 rows with a \texttt{wait} sub-code outside the interruption group are flagged but
|
||||
are NPT under neither definition.
|
||||
|
||||
\begin{table}[ht]
|
||||
\centering
|
||||
\caption{Cause groups of the NPT rows. Interruption sub-codes are in typewriter type.}
|
||||
\label{tab:causes}
|
||||
\small
|
||||
\begin{tabular}{@{}p{0.17\textwidth}p{0.45\textwidth}rr@{}}
|
||||
\toprule
|
||||
Cause group & Source & (a) & (b) \\
|
||||
\midrule
|
||||
equipment & \texttt{repair}, \texttt{maintain}; state detail \emph{equipment failure} & 1,985 & 2,425 \\
|
||||
weather & \texttt{waiting on weather} & 445 & 445 \\
|
||||
operation\_failed & state detail \emph{operation failed} & 101 & 322 \\
|
||||
unspecified & \texttt{other} or \texttt{rig up/down} without a cause in the state detail & 262 & 299 \\
|
||||
stuck\_fishing & \texttt{fish}; state detail \emph{stuck equipment} & 246 & 248 \\
|
||||
waiting & \texttt{wait} & 229 & 229 \\
|
||||
sidetrack & \texttt{sidetrack} & 202 & 202 \\
|
||||
lost\_circulation & \texttt{lost circulation}; state details \emph{circulation loss}, \emph{mud loss} & 78 & 86 \\
|
||||
well\_control & \texttt{well control} & 29 & 29 \\
|
||||
hse & state detail \emph{injury} & 0 & 1 \\
|
||||
\midrule
|
||||
Total & & 3,577 & 4,286 \\
|
||||
\bottomrule
|
||||
\end{tabular}
|
||||
\end{table}
|
||||
|
||||
\paragraph{Operation classes.} The code of each of the 23,447 activities maps to one of 15 classes, used only in the
|
||||
label audit: other 3,538, interruption 3,577, casing and cement 3,204, BOP and wellhead 2,512, trip 1,946, drill and
|
||||
ream 1,925, plug and abandon 1,629, circulate 1,185, wireline 933, perforate 929, completion 657, rig up and down 572,
|
||||
formation evaluation 520, rig move 241 and wait 79.
|
||||
|
||||
\paragraph{T1 sections.} The 932 drilling days carry the following sections after the fill rule: 8.5~in
|
||||
404, 12.25~in 196, 17.5~in 151, 26~in 93, 36~in 57, 6~in 27 and 9.875~in 4.
|
||||
|
||||
\paragraph{T4 families.} Table~\ref{tab:families} gives the 39 templates and 1,662 questions by family.
|
||||
|
||||
\begin{table}[ht]
|
||||
\centering
|
||||
\caption{T4 question families.}
|
||||
\label{tab:families}
|
||||
\small
|
||||
\begin{tabular}{@{}lrr@{}}
|
||||
\toprule
|
||||
Family & Templates & Questions \\
|
||||
\midrule
|
||||
lookup & 16 & 825 \\
|
||||
aggregation & 9 & 513 \\
|
||||
temporal event & 6 & 134 \\
|
||||
comparison & 3 & 102 \\
|
||||
multi-hop & 5 & 88 \\
|
||||
\midrule
|
||||
Total & 39 & 1,662 \\
|
||||
\bottomrule
|
||||
\end{tabular}
|
||||
\end{table}
|
||||
|
||||
\paragraph{OCR error types.} The error types below were inspected on the page images of the 26-report pilot, read by a
|
||||
different OCR run from the full-corpus export (Sec.~\ref{sec:data}). They illustrate the kinds of error, not their
|
||||
rates in the export.
|
||||
\begin{itemize}
|
||||
\item \emph{Invented content.} Empty unit brackets filled, for example ``()'' read as ``($^\circ$)'' for temperature
|
||||
and pressure (43 insertions), and a ``Printed'' line that is not on the page.
|
||||
\item \emph{Silent correction of the source.} Misspellings in the print corrected, for example ``Attempeted'' to
|
||||
``Attempted'' and ``stnds'' to ``stands'', so the text departs from the source.
|
||||
\item \emph{Proper names.} ``M\AE{}RSK'' read as ``MERSK'', ``StatoilHydro'' as ``StatoliHydro''.
|
||||
\item \emph{Table structure.} Columns merged or split and rows shifted, for example four rows merged into one.
|
||||
\item \emph{Depth fields.} A whole value lost, or a value shifted to the neighbouring label; a wrong value that looks
|
||||
valid is the most harmful case.
|
||||
\item \emph{Labels and digits.} ``TVD'' for ``mTVD'', 3273 read as 2273, a wellbore name read as ``15/9-F15''.
|
||||
\item \emph{Layout.} Spaces inserted inside words, the most frequent error, with 207 cases among 393 near matches.
|
||||
\end{itemize}
|
||||
Reference in New Issue
Block a user