Files
Volve-DIA/paper/sections/A_record.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

89 lines
6.5 KiB
TeX

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