Add protocol v3 and G3 judge calibration

No human rater exists, so protocol v3 makes the automatic score against the
XML answer the G3 reference; the kappa threshold of 0.6 is unchanged. A fixed
stratified sample of 100 free-text T4 answers is judged blind by session
subagents. Sonnet reaches kappa 0.98 and Haiku 0.90 against the automatic
score; T4 headline numbers remain automatic.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-20 07:00:36 +00:00
parent c7e94aa2c9
commit cd7ff483b3
5 changed files with 461 additions and 0 deletions

66
configs/protocol_v3.yaml Normal file
View File

@@ -0,0 +1,66 @@
# Protocol v3: G3 judge calibration against the automatic score (no human rater). It extends locked v2 and v1.
protocol: volve-dia
version: 3
status: locked
drafted: 2026-11-20
locked_before: any judge verdict; the sample was drawn from automatic scores only
extends:
file: configs/protocol_v2.yaml
sha256: 370f949f53cc9b2e3a1540f02aede2f8456f3e1cba25e1d42b573d406a416af2
base:
file: configs/protocol_v1.yaml
sha256: fb11c6074b2794d11a65faf0b5425f57fda70eacdb99d0e18e3a6093bc10b477
deviation:
date: 2026-11-20
what: >-
Protocol v1 sets gate G3 as a minimum kappa of 0.6 for an LLM judge of the free-text parts of T4 and leaves the
reference implicit. The plan written before G1 named author scores on about 100 questions as that reference. No
human rater exists (decision of 2026-11-17, plan section 12 item 20), so v3 fixes the reference as the automatic
score against the XML reference answer, already computed for every T4 prediction. The threshold (0.6), the scope
(free-text parts only) and the consequence of a failure (T4 reports automatic metrics only) are unchanged.
consequence: >-
Agreement with the automatic score shows that the judge reads free-text answers consistently with the XML-based
scorer. It is not agreement with a human, author or expert, and no result may be described that way. RQ4 (EGS)
uses the same automatic score as its correctness reference.
unchanged:
- protocols v1 and v2 in full, including the T4 automatic scoring, headline metrics and G2 rules
- T4 headline numbers remain the automatic scores whatever the G3 outcome
g3:
reference: automatic score of the v1 scorer (volve_dia.t4.score via m34_qa.scoring_row) against the XML answer
min_kappa: 0.6
statistic: Cohen kappa, unweighted, binary verdict (correct / incorrect), primary judge against the automatic score
decision: G3 passes if the primary judge's point kappa is at least min_kappa; the 95% interval is reported beside it
primary_judge: sonnet
judges: [sonnet, haiku]
judge_roles:
sonnet: primary judge (Claude Sonnet as a Claude Code session subagent, no API key)
haiku: sensitivity judge (Claude Haiku as a session subagent); reported, never used for the decision
free_text_scope: >-
T4 answer types string, enumeration and list (233 of 1,662 questions); answerable, well-scoped (single and pair),
not failed and not abstained. Abstentions and numeric, date and boolean answers stay with the automatic scorer.
sample:
source: outputs/m34/v2/qa/vai-deepseek-v4-1-flash/rep0.sqlite (VAI DeepSeek-V4.1-Flash-1017, repetition 0, all modes)
pool: 1,088 distinct (question, answer) predictions after removing identical pairs
size: 100
seed: 20261117
strata: >-
answer type x automatic score, quotas 20/20 enumeration, 15/15 list, 15/15 string (correct/incorrect). Only 11
distinct incorrect string answers exist; the shortfall of 4 went to incorrect enumeration answers. Realised:
enumeration 20 correct / 24 incorrect, list 15 / 15, string 15 / 11; 10 wells, 8 templates, every T4 mode.
sha256: 3c8021f9df0071a90c3da01aa6b2ba5368b8c919b3eb8bc4e508d1f09738acd0
file: outputs/m5/judge/sample.csv
masking: the judge sees the question, the XML reference answer and the candidate answer with its unit; never the
model, mode, source, template, citations or automatic score
judge_instruction_sha256: ff32e797ca8ba15cf7e55fa937455af66e04bcd138fe851423ff7dcb10f948ed
batches: two batches of 50 items (outputs/m5/judge/batches/), one subagent per batch and judge, one repetition
bootstrap: {unit: well, resamples: 2000, seed: 20261117}
if_passed: >-
The judge may give a secondary reading of free-text answers beside the automatic score. On this sample its
verdicts and the disagreements are reported; the full matrix is not re-judged (no API key). Headline T4 numbers
stay automatic.
if_failed: T4 reports automatic metrics only, and the paper states that the judge did not reach the gate.
limits: >-
Session judges are instructed to read only their batch file; file access is not enforced. The judge models share
training data with the LLM baselines. The sample is stratified, so its kappa is not a population estimate for all
free-text answers.
code: scripts/18_m5_judge.py, volve_dia/m5_judge.py

View File

@@ -0,0 +1 @@
61bc3e1d4f2e7840adb9e5c5fd14bd445c25b988666eca2217325ccda3001622 configs/protocol_v3.yaml