Files
Volve-DIA/paper/sections/B_labels.tex
lamlvh 221399260f Add the M6 manuscript draft, figure script and number check
First full draft of the Volve-DIA paper in paper/ (13 LaTeX sections, 44 pages),
four figures built from outputs/ with assertions, a checker that traces every
number to plan.md or outputs/, and a source audit with its fixes. Correct the
pooled T2(b) values in the notes to the primary values and sync the plan, README,
overview and progress page.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 02:02:43 +00:00

85 lines
4.2 KiB
TeX

% 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}