The four questions a demo cannot answer
Suppose you want an LLM to help with experience studies: read A/E tables, flag the lines worth investigating, draft the commentary. Before anyone signs that off, four questions have to be answered — and one convincing demo answers none of them.2
- How good is the model at the task — how much of what is really in the data does it find?
- What does it miss, and what does it invent? A miss and an invention cost different things and are fixed differently, so they cannot be averaged into one score.
- What does one answer cost, in time and tokens, reported beside the result it bought?
- Is the pipeline around the model still fit for purpose — and on what evidence would you say so?
What you govern is the model and the harness together. A notice saying “we upgraded the model” is not an assessment.
That sentence is the reason this benchmark exists. Everything below is an attempt to answer the four questions with numbers that survive being pulled apart.
The task, and what the model is actually shown
A/E is actual claims divided by expected claims. A line sitting at 1.00 is running to assumption; a line at 1.30 is a portfolio costing 30 % more in claims than the pricing basis said it would. Experience analysis is the job of deciding which gaps are signal.
One subject is one scenario folder. The prompt body reads only three files — the four yearly A/E
series, a summary.json, and the IP recovery A/E by diagnosis. Everything else in the folder
is listed by path only: age × gender detail, PNG charts, and the raw claims and exposure behind
every ratio. The model may read those with a sandboxed Python call, or not.
| in the prompt | content | role |
|---|---|---|
ae_<benefit>_by_year.csv | four series × ten years, e.g. 2018: Actual=257 Expected=389.6 AE=0.660 | the evidence |
summary.json | overall A/E and claim counts per line | scale context |
ae_ip_termination.csv | IP recovery A/E by diagnosis | second axis |
| everything else | age × gender detail, charts, raw claims, exposure | listed only, readable on request |
The answer is one JSON object, and the shape is verified against the pinned prompt:
{"scenario_id": "sc-f69eea",
"overall_assessment": "anomalies",
"findings": [{
"benefit": "Death",
"years": [2018, 2024],
"pattern": "drift",
"direction": "increase",
"magnitude": "+0.15/yr, A/E 0.66 -> 1.31",
"confidence": 0.9,
"evidence": ["ae_death_by_year.csv: monotone rise 2018-2024, CI unchanged"],
"recommended_action": "refer Death claim frequency to pricing and reserving"}]}
pattern is one of drift | shock | volatility | recovery | other,
direction one of increase | decrease | dispersion. A clean scenario
requires an empty findings list — claiming anything on it is a false alarm. Matching is strict: benefit,
pattern, window and direction must all agree, so a vague or mislabelled answer scores nothing.
recommended_action is recorded but deliberately not scored: grading free-text
advice is a separate unsolved problem.
Two scenarios, one easy and one that is not
Both are real scenarios shipped in the repo, both drawn from the published CSVs. Models are fed text only — the charts here are the same numbers, plotted.
The simple case — sc-f69eea
Data table — A/E by year, sc-f69eea
| Year | Death | CI | TPD | IP |
|---|---|---|---|---|
| 2015 | 0.626 | 1.006 | 0.986 | 1.023 |
| 2016 | 0.701 | 1.004 | 1.041 | 1.029 |
| 2017 | 0.637 | 0.965 | 1.025 | 0.996 |
| 2018 | 0.660 | 1.048 | 1.029 | 0.999 |
| 2019 | 0.784 | 1.024 | 1.010 | 0.997 |
| 2020 | 0.983 | 1.024 | 0.963 | 0.999 |
| 2021 | 1.063 | 0.971 | 1.013 | 0.978 |
| 2022 | 1.113 | 1.045 | 1.007 | 1.004 |
| 2023 | 1.261 | 1.012 | 1.018 | 0.998 |
| 2024 | 1.307 | 1.021 | 0.985 | 1.012 |
The insight here is a sentence: Death is deteriorating over 2018–2024 and nothing else moved.
A harnessed model finds this one reliably. shock, recovery and
volatility saturate at 100 % accuracy for every harnessed configuration.
The complex case — sc-c9d78b: four findings, three of them inside the noise
| planted | window | size | is it visible? |
|---|---|---|---|
| Death shock | 2020 | ×1.3 | yes — the only one the eye catches, at 1.294 |
| Death drift | 2016–2019 | +0.05/yr | wanders 0.925 → 0.996 → 1.070 → 1.030, then reverts; slope ≈ the noise |
| IP shock | 2020 | ×1.2 | 1.127 — visible only against the drift underneath it |
| IP drift | 2016–2019 | +0.03/yr | against ±0.026 noise — one step smaller, same problem |
Three of the four findings sit inside the noise floor. That is the point: a benchmark where every answer is obvious measures nothing an actuary cares about. The skill under test is deciding whether a gap between actual and expected is signal, which is the same move in lapse and persistency, expense A/E, mortality and morbidity studies, and reserve-adequacy work.
Two ways to ask: the model alone, or the model with a harness
Same scenario, same model, same endpoint, same sampler, one turn. Nothing differs except the harness.
The model alone (--harness off) — role, A/E definition, pattern taxonomy, JSON contract; the file list; the CSVs on disk. The model reads tables and answers.
The model with a harness (--harness full --tool-calls 4) — all of A, plus a deterministic evidence pack computed from the CSVs before the model is called, an explicit rules block for the taxonomy, and up to four sandboxed Python calls.
The evidence pack is where most of the value is. Real block from a published prompt — a CI volatility case where the line moved +0.44 in level over 2022–23 and the pack still calls it scatter-dominated, which is exactly the distinction the model has to get right:
[CI] mean A/E 0.975 | evidence profile: scatter-dominant: the largest single-year move
exceeds the net level change ... Poisson z-scores are INVALID here
trend: gradient 0.0275/yr, R2 0.19, total 0.247
step: +0.292 at 2022 (score 1.9)
excursions (windows whose level differs from the rest, best first): 2022-2023 (2y) +0.436 score 4.9
YoY sd: empirical 0.2435 vs Poisson 0.0305 -> overdispersion x7.97 (Poisson null INVALID on this line)
onset: max 1yr move / excursion size = 1.22 (the whole excursion arrives in ONE year, then holds)
yearly: 2021:0.88(z-4.4) 2022:1.41(z+16.2) 2023:1.24(z+9.8) 2024:0.89(z-4.7)
It ships with a reading guide that says what does not count: mild overdispersion is the normal texture of these scenarios, and tiny age or duration cells are unreliable however extreme their A/E looks. The discipline rules add the parts of the taxonomy a model cannot infer — that a trend which reverts at the end is still drift, that a one-year spike inside a swinging line is volatility, not drift.
Sandbox is advisory, not enforced
A tool call is run_sandboxed_python(): python -I -c with
cwd at the scenario's artifacts/, 10 s timeout, 4 000-char output. There is no
setrlimit, no network block, no filesystem jail. All 97 tool calls recorded across the
campaigns stayed inside artifacts/ — but that was the model's choice, and a direct probe showed
model-authored code could read elsewhere. Anyone rebuilding this should implement a real jail before
running anything untrusted.
Who built the harness — and why it matters who
Neither subject model wrote its own harness. Both lineages were built by an operator-side agent running a third model, deliberately not one of the two being examined, so that no model tuned the exam it later sat. Each pass was one hypothesis and one edit, tested on the affected books, re-checked against the neighbours it could have disturbed, then kept or reverted with the code and prompt snapshotted — seven passes in all, 307 diary entries, 268 of them ending in a harness edit. The record is explicit that a human still chose which failures to pursue: the delegation covered effort, not judgement. The method behind this is written up here.
How an answer is measured
A unit is one planted control in one run; a control planted across a whole scenario counts as four units, one per benefit line. A unit is a hit only if benefit, pattern, window and direction all agree with the sealed manifest.
| metric | formula | the question it answers |
|---|---|---|
| accuracy strict recall | strict hits ÷ units | did it find what was there? |
| FP/claim | false alarms ÷ claims that counted | when it spoke, how often was it wrong? |
| precision | hits ÷ claims = 1 − FP/claim | how far can you trust it when it speaks? |
| tokens | prompt + completion, from API usage | what one answer consumes |
| wall time | request sent → answer complete | what one answer costs in time |
Accuracy and FP/claim have different denominators and never add to 100 %. Within the units ledger, accuracy + miss-rate = 100 %; within the findings ledger, precision + FP/claim = 100 %. Reporting only one of them hides half of what happens — and the two subjects in this study fail in opposite directions.
# worked example: Qwen3.8-27B on its own harness, held-out, 23 books × 3 runs
units 111 | strict hits 79 | false alarms 57 | claims that counted 79 + 57 = 136
accuracy = 79 / 111 = 71.2 %
FP/claim = 57 / 136 = 41.9 %
precision = 79 / 136 = 58.1 %
median per answer: 6 714 prompt + 13 763 completion tokens · 813 s ≈ 13 min 33 s
Results
All figures on the same 23 held-out books, three runs each, so every row is
like-for-like. sc-e6ffa4 is excluded from every cell (see the failure
record). Precision is 1 − FP/claim.
| configuration | accuracy | FP/claim | precision | tokens / answer | median time |
|---|---|---|---|---|---|
| Qwen3.8-27B + its own harness | 71.2 % | 41.9 % | 58.1 % | 6 714 + 13 763 | 813 s |
| Qwen3.6-27B + its own harness | 65.8 % | 38.7 % | 61.3 % | 6 603 + 5 779 | 289 s |
| Qwen3.8-27B + Qwen3.6's harness | 70.3 % | 43.1 % | 56.9 % | — | — |
| Qwen3.8-27B, no harness | 64.0 % | 65.7 % | 34.3 % | — | — |
| Qwen3.6-27B, no harness | 59.5 % | 40.0 % | 60.0 % | — | — |
Where the models actually differ
| family | 3.6 no harness | 3.8 no harness | 3.6 + own | 3.8 + own |
|---|---|---|---|---|
| systemic coordinated multi-line event | 41 | 52 | 54 | 66 | 44 | 51 | 56 | 51 |
| shock | 75 | 25 | 67 | 72 | 100 | 8 | 100 | 8 |
| drift | 67 | 25 | 67 | 70 | 67 | 33 | 67 | 40 |
| mixed | 93 | 7 | 80 | 48 | 87 | 24 | 87 | 28 |
| recovery IP termination | 100 | 0 | 100 | 55 | 100 | 0 | 100 | 0 |
| volatility | 100 | 0 | 100 | 60 | 100 | 57 | 100 | 60 |
| noise_trap lookalike; truth is volatility | 0 | 100 | 17 | 92 | 50 | 62 | 50 | 70 |
| CLEAN nothing planted | silent ✓ | falsely accused | silent ✓ | silent ✓ |
- All the recall difference lives in two families. Drift, recovery and volatility
saturate for every harnessed configuration; the models separate on
systemic(44 % vs 56 %) and both fall down onnoise_trap(best case 50 %). The benchmark's discriminating power is concentrated in a minority of families — which is worth knowing before you quote a single blended score. - No family where one model dominates on both metrics. 3.8 leads systemic by 12 points;
3.6 leads
mixedby 6 with 7 % false alarms. - The trap works. Unharnessed, 3.6 scored 0 % accuracy with 100 % FP/claim on
noise_trap: it claimed anomalies and got every one wrong. - The clean book separates character. Harnessed, both stay silent. Unharnessed, 3.8 falsely accused a portfolio with nothing planted in it.
A harness does not transfer
Exam B gave Qwen3.6-27B exactly Qwen3.8-27B's instrument — identical harness bytes (stats_pack.py 16e53e0ef0b097ab, run_zero_shot.py a4b967de975625f9), identical 3 866-character system prompt, identical books, runs and samplers. This is the only fully controlled comparison in the study.
| accuracy | FP/claim | precision | |
|---|---|---|---|
| Qwen3.6-27B | 78/123 = 63.4 % | 44.7 % | 55.3 % |
| Qwen3.8-27B | 85/123 = 69.1 % | 44.8 % | 55.2 % |
| difference | +5.7 pts | −0.1 | +0.1 |
Each model does best on the harness tuned for it: handing 3.8 the harness built for 3.6 cost it 0.9 accuracy points and 1.2 points of precision. Earlier in the campaign a cross-loading looked like an +8.3-point gain — at 9 books. It decayed to −1 by 23 and was withdrawn. The same wrapper was worth about 24 points of precision to 3.8 and about 6 points of accuracy to 3.6, because the two models lacked different things.
Over-claiming and mislabelling are different diseases
false positives = mislabels (a miss occurred) + over-claims (no miss occurred)
= min(FP, misses) + max(0, FP − misses)
| configuration | hits | misses | FPs | over-claims |
|---|---|---|---|---|
| 3.8 own harness | 85 | 38 | 69 | +31 |
| 3.6 on 3.8's harness | 78 | 45 | 63 | +18 |
| 3.6 own harness | 79 | 44 | 50 | +6 |
3.8 emits 154 claims for 123 truths — 25 % more claims than there is truth — and 31 of its false alarms have no corresponding miss: pure invention. 3.6 emits 129 claims for 123 truths and only 6 inventions; its errors are almost entirely mislabels, meaning it sees the right line and picks the wrong word. That distinction is a practical instruction: over-claiming needs discipline (“do not report what is not there”), mislabelling needs vocabulary work. Applying precision suppression to 3.6 would be the wrong medicine — and that was confirmed experimentally. The 3.6-specific pattern-vocabulary edits worked; attempts to make 3.6 report less made it worse.
Tool use, asymmetrically
The harness offers up to four sandboxed Python calls. Qwen3.8 used them in about 24 % of held-out runs (17 of 72; 10 of 64 in the tuned corpus). Qwen3.6 used them 0 of 144 — never, after two dedicated attempts to activate the loop, including mandatory-use wording. Its reasoning is defensible: the evidence pack already contains the arithmetic. That asymmetry turned out to be a robustness advantage — the one hard failure in this study was a malformed tool request, which 3.6 cannot produce.
Cost, next to the score
One held-out exam, 72 calls, measured over the whole published corpora including retries.
Cost is reported beside accuracy everywhere in this project because it changes the ranking — not because it is a footnote. A governance pack that quotes a model's accuracy without its per-answer cost is quoting half a number.
The optimism gap: −30 points, both models
The discipline it implies is boring and non-negotiable: tune on the optimization split, report only the held-out number. The held-out split here has been spent — those 24 scenarios are published with their answers, so they can never serve as an unseen exam for anything that reads this repo. A new exam needs new scenarios with fresh controls.
Not every miss is a model failure
Two apparent failures were audited back into the data, and both came back as benchmark problems.
sc-d72b95 — the unit is not identifiable
The missing unit is a Death drift planted at factor 0.05 over 2021–2024. Fitted from the data: slope +0.0253/yr, SE 0.0251, t = 1.01 against a critical value of 3.18 on 2 degrees of freedom. The 95 % confidence interval [−0.083, +0.133] contains zero and the planted value; the minimum detectable slope at 80 % power is +0.088/yr. The planted effect is about half of what four annual observations can resolve. 3.6 in fact finds all three identifiable controls in that book — it is at ceiling on the units the data support.
sc-f520e5 — genuinely ambiguous
The volatility is real (variance ratio F = 17.1 against a critical 5.41), but the same line also carries a genuine level excursion (0.95 → 1.34 → 0.80; mean 1.102 inside the window against 0.943 outside). The model's alternative “drift” reading is defensible from the data; the truth merely prefers the volatility label. Attempts to push the model toward the truth made the score worse, because they asked it to ignore a real feature.
An experience study has the same property on the other side of the table: some years you cannot tell, and the professional act is to say so. A benchmark that cannot record “undecidable” will train people to over-claim.
The one hard failure, kept on the record
sc-e6ffa4 never completed under one configuration and is excluded from every like-for-like
cell rather than quietly patched. Counted as a failure the totals become 69 % | 45 % for 3.8's own harness
and 64 % | 39 % for 3.6's on the 24-book view. The diagnosis is written up in full in the experiment index,
with the fix deliberately not applied, so that a reader can argue with the evidence instead of with
a summary. Silent patching is how a benchmark stops meaning anything.
Limitations, stated plainly
- Two subjects, one serving stack. “The harness must be re-derived per model” rests on a 2 × 2 matrix of two models × two harnesses over 23–24 scenarios. That is a real signal at real replication cost, not a general theory of harness portability.
- Synthetic data. Generated by a separate public project; no real policyholders, no real portfolio. Patterns are planted by design, so a “hit” means recovering a known signal — real A/E review involves judgement calls with no answer key, and this cannot measure that.
- The harness is one turn with up to four analysis calls. Conclusions are about how much a static evidence pack, rules block and prompt are worth — not about long-horizon autonomy.
- The sandbox is advisory. See the caveat above.
- The held-out split is spent, and two units are unidentifiable.
- Sampling randomness is controlled, not removed: temperature 1.0, three runs summed rather than median-and-spread, so run-to-run noise sits inside the totals.
- No unit tests on
stats_pack.py,score_xam.py,harness_gate.pyorleakcheck.py. Their correctness rests on the runtime preflight gate, the freeze gate and the frozen corpora — which is why every campaign edit was validated by regenerating all 23 optimization packs and diffing them.
Replicating it
# stdlib only — no install step for the harness itself
bash scripts/harness_preflight.sh # leak + integrity gate, zero API calls
python3 scripts/stats_pack.py data/eval/optimization/<sc-id> --text # print one evidence pack
python3 scripts/score_xam.py results/<corpus>/zero_shot --json-out /tmp/scores.json
python3 scripts/harness_gate.py results/<corpus>/zero_shot --split heldout --runs 3
# the pins behind every published number
generator commit 66a73d0 · seed 42 · scale full (250 000 policies)
claim targets 5000 / 12000 / 8000 / 15000 for Death / CI / TPD / IP
registry config/scenarios.yaml — 47 scenarios (23 optimization / 24 heldout)
Do not run generate_scenarios.py on a fresh clone
Assembly deletes and rebuilds data/eval/ and rewrites
data/truth/. A published clone already holds the exact 47 scenarios every number here was
measured on, so a --scale tiny smoke test replaces the real exam with a 5 000-policy
one and re-seals the truth store. Undo with git checkout -- data/eval data/truth,
or experiment in a scratch clone.
| content | size | note |
|---|---|---|
| code + docs + config + tests | ~0.6 MB | everything needed to run and score |
results/ corpora + harness_snapshot/ | 102 MB | frozen harness bytes behind every number |
data/eval/**/artifacts/ | 31 MB | what the prompt and pack actually read |
data/truth/ | 236 KB | planted controls, published so a third party can score |
| clone total | ~135 MB | largest single file 0.41 MB |
| left out, regenerable | 5.2 GB | data/raw/, exposure and claims CSVs |
What building it taught me
Five lessons that cost a rebuild each. They are the reason the harness, the scorer and the docs look the way they do — and they transfer to any measured AI task, not just this one.
Snapshot the harness before the first call, not after the
last. Code and prompts are copied into results/<corpus>/harness_snapshot/ at the
start of a campaign, because it is the only record of what was actually run. Numbers whose snapshot was not kept
are numbers nobody can re-derive.
Two failure modes need two remedies. Of 3.8's 69 false alarms, 31 were pure invention; of 3.6's 50, only 6 were — its errors were almost all mislabels, the right line with the wrong word. The vocabulary work that helped 3.6 was the wrong medicine for over-claiming, and the attempts to make 3.6 report less simply did not work.
Tune on a split you are willing to burn. The tuning scores were 95.5 % and 97.7 %; the held-out scores 63.4 % and 69.1 %. The split is spent now and cannot be reused — which is the correct price, and the reason the next exam needs fresh scenarios.
A documented defect is more valuable than a silently patched one. The run that never completed under one configuration is recorded with its three concurrent causes and the repair was declined, so the number stays auditable; the parse fix that genuinely changed nothing was applied and labelled. Two units that are statistically unidentifiable are flagged as benchmark artefacts, not scored as model failures.
Cost is a first-class result. The two headline campaigns differ by 5.4 accuracy points and by 2.2× the tokens and 3.7× the wall clock, on one shared local server. With the cost column removed, the ranking would have been wrong for anyone with a queue.
Governance controls this benchmark provides
Sealed truth per scenario so answers cannot leak into prompts; per-pass manifests that make each published figure re-derivable; a scorer that counts false alarms rather than rewarding volume; frozen harness bytes stored beside the results; and an explicit statement of what the numbers do not support — no production claim, no real portfolio, no substitute for an actuary's judgement.
What this changes about how the rest is built
The finding that earns its keep is not a score, it is a governance rule: after any model change, re-measure the model-and-harness pair and re-tune on recorded evidence. Behaviour moves when a model is retrained even when its architecture does not, so a new model version inherits an unproven harness, not a working one.
That rule reaches every other repository in this portfolio. The underwriting engine's agent prompts and escalation thresholds are a harness; so is the compliance questionnaire logic; so is the analysis dashboard's commentary layer. Each of them ships with the same three requirements this benchmark learned to insist on: a ground truth that is generated rather than curated, a scorer that counts false alarms, and a snapshot of the exact bytes behind the claim. The interlock is on the ecosystem page; the six findings as a ledger are on the findings page.
The next extension is not a new benchmark.claims A/Eis the first surface, not the limit: adding lapse, expense or reserve A/E means a new scenario family and a new section ofstats_pack.py— not a new scorer, and not a new governance argument.
- Life_Insurance_Experience_Bench · README §3 — worked example from
results/harness_final/scores.jsonand the per-run records. - docs/MODEL_AND_HARNESS_EVOLUTION.md — §1.2 the four governance questions, §1.4 headline results, §3.2 transfer, §3.6 optimism gap, §3.7 over-claim decomposition, §3.10 identifiability, §3.11 the recorded failure.
- docs/EXPERIMENT_INDEX.md — §6 Tables A and B, §3 harness versions and hashes, §8 known failures. Cost totals from the published corpora, retries included.
- Synthetic_Life_Insurance_Data_Generator @ 66a73d0 — the generator behind every scenario: deterministic, seed 42, planted controls on actuals only. Charts on this page are plotted from the shipped
ae_*_by_year.csvfiles, rounded to three decimals; the source CSVs are the authority.
Source repos pinned to the commits quoted: Life_Insurance_Experience_Bench 8067f00, Synthetic_Life_Insurance_Data_Generator 66a73d0. Both MIT-licensed.