Reliability & validity
We tested the instrument the way we ask our reviewers to test it.
An LLM coder is a measurement instrument, and instruments are judged against human codes. Across three studies we compared machine coding to human coding on five publicly available, human-coded corpora — about 6,100 coding decisions in total — varying the codebook, the model, and the sample size. Agreement percentages, Cohen's κ, and 95% confidence intervals are reported for every condition.
Study design
Three studies, one question each.
Study 1 · Baseline validity
Can a model code from the codebook definition alone? We gave five corpora a definition-only coding scheme — construct definition, closed response categories, no worked examples — on stratified subsamples of 100 cases each, with deterministic model settings.
Study 2 · Codebook or model?
A 2×2 experiment on the same 100 hate-speech cases: coding protocol (definition-only vs codebook with three worked examples) crossed with model capability (free tier vs frontier tier). Plus two harder constructs — 27-category emotion coding and moral-foundations coding — and a three-coder corpus for a human reliability baseline.
Study 3 · Replication at scale
The key comparisons replicated on n≈500 cases per condition, with 95% confidence intervals on agreement (Wilson) and κ (bootstrap), and a 500-case human intercoder baseline. Where the small-sample results overstated, we say so.
Finding 1
Three worked examples do what a model upgrade does — for free.
Hate-speech coding (Davidson corpus, n=500, identical cases across conditions). Adding three worked example codings to the codebook raises agreement by 12.8 percentage points — the confidence intervals do not overlap — bringing a free-tier model to the same level as a frontier model given definitions alone.
| Coding protocol | Agreement % [95% CI] | Cohen's κ [95% CI] |
|---|---|---|
| Definitions only · free-tier model | 66.8 [62.6, 70.8] | 0.502 [0.445, 0.558] |
| Definitions + 3 example codings · free-tier model | 79.6 [75.8, 82.9] | 0.694 [0.638, 0.744] |
| Definitions only · frontier model | 77.4 [73.5, 80.8] | 0.661 [0.607, 0.712] |
| Definitions + 3 example codings · frontier model | 81.4 [77.8, 84.6] | 0.721 [0.671, 0.770] |
In the smaller Study 2 sample the example-rich codebook even beat every frontier-model condition outright (recall for the hate-speech category rose from 0.24 to 0.88). The replication corrects this to "matches the frontier model": investing in the codebook and investing in the model are comparable levers — but the codebook costs an afternoon, not a budget line.
Finding 2
Can a model stand in as one coder? Depends on its tier.
The HateXplain corpus ships three independent human codings per post — a ready-made reliability benchmark. On 500 posts, pairs of human coders agree at κ = 0.521 [0.438, 0.563] (Fleiss κ 0.521). A frontier-tier model approaches that band; a free-tier model does not.
| Coder | κ vs majority code [95% CI] |
|---|---|
| Human coder pairs (mean) | 0.521 [0.438, 0.563] |
| Frontier model (glm-5.2) | 0.456 [0.392, 0.515] |
| Free-tier model (glm-4-flash) | 0.224 [0.179, 0.276] |
Read this as a staffing question, not a verdict: model tier decides whether the machine can count as one coder within a multi-coder design — it never removes the need to report intercoder reliability in the first place.
Finding 3
Where definitions alone suffice — and where they fail.
A ceiling on simple constructs
Hotel-review sentiment (n=500): free tier 84.4 [81.0, 87.3] vs frontier 85.6 [82.2, 88.4] — statistically indistinguishable. Climate stance: frontier +7.9 points. Simple constructs don't justify frontier budgets; demanding ones benefit from them.
Construct validity fails without operationalization
With 27 emotion categories, definition-only coding reached only modest per-case accuracy (example-level F1 = 0.28). Coding moral foundations from definitions alone: 52% agreement, and the loyalty category was never assigned (recall 0.0). The model cannot intuit a theoretical category the codebook has not operationalized.
Robust across technical delivery
The same frontier model reached through two different technical channels (including a compressed variant) differed by ≤3 points on four tasks — within sampling noise. The finding is about the codebook, not the plumbing.
Scripts, coefficients, audit trails
Analysis scripts and machine-readable results for every condition live in experiments/, with full write-ups (RESULTS.md, WAVE2-RESULTS.md). Each machine coding decision was preserved verbatim for auditing and kept out of the repository because the source corpora restrict redistribution.
What these studies do not show yet
One administration per condition (deterministic settings); stratified subsamples, so category base rates differ from the full corpora; two capability tiers from one model family; example codings selected by hand. Next: systematic example selection, multilabel calibration, and models from other families.