Skip to main content
A pipeline that hands decisions to a model needs the same claim to get the same decision every time. We send one claim again and again, unchanged, and count how often a decision changes: pay, deny, or send to a human. That says nothing about whether the decision is right; it comes before that. If the decision moves when the claim hasn’t, a disputed decision can’t be reproduced and identical claims can be paid once and denied once. It needs no answer key, only repeats, so every model is measured on the same footing. Each of the 14 Noul questions comes back as a probability, such as 0.62 that the loss is covered. A pipeline turns that into a decision with a cutoff: pay when it’s above 0.6. If the next request returns 0.55, the same claim goes unpaid. Whether a wobble like that changes the decision depends on where the cutoff sits, and we don’t know where yours is, so we count every cutoff from 0 to 1 equally. Two answers 0.10 apart disagree at 10% of cutoffs. Averaging that over every pair of repeats gives one number per question: the chance that asking again changes the decision. Clear-cut claims are easy for every model, so the test uses borderline ones: 40 versions of a claim, each a different mix of facts a claims model has to weigh. A pipeline is only as dependable as its shakiest decision, so each claim is scored by its least stable question. The conditions, each one model plus one setting:
  • Claude models claude-fable-5-1, claude-opus-5-5, claude-sonnet-5-5 and claude-haiku-5-5, and GPT models gpt-6-astra, gpt-6.1-sol, gpt-6.1-terra and gpt-6-luna, each reasoning at high effort.
  • gpt-6.1-terra and gpt-6-luna with reasoning off, at temperature 0 and the API default. They are the only models here that take a temperature.
  • Jev 1.14 (jev-1.14.0): one system_one call over the 14 Noul questions.
For Jev, a claim’s least stable decision changes 3.8% of the time on average, about 1 time in 25, and never more than 8.4%. The steadiest LLM conditions come close on an average claim, 6.2% for GPT-6.1 Terra and 6.4% for Claude Opus 5.5, both reasoning, but every LLM condition has a claim where a decision changes more than 1 time in 10, and the rest average 7.7% to 34.8%. Temperature 0 narrows the gap but doesn’t close it. On the least stable question, luck alone would produce a lead as large as Jev’s over any LLM condition less than once in a hundred runs.

Setup

Run in Colab

Runs as published without an API key.

Python file

This page as one .py file, to run locally.

Open in playground

Edit one request and run it live. Needs a TypeSafe account.
To run it on your own machine instead:
With uv, uv run consistency_noul_cookbook.py installs the dependencies for you. The code replays saved answers, so it runs as published without an API key. To change a request, set TYPESAFE_API_KEY, ANTHROPIC_API_KEY and OPENAI_API_KEY; in Colab, add them in the Secrets panel. Numbers below came from jev-1.14.0 on 2026-11-02. The LLM answers for the 40 versions were sampled from 2026-11-07 to 2026-11-09, and for the example claim on 2026-11-10.

The state: an auto-insurance claim, as JSON

One claim with four borderline calls built in:
  • The loss happened at a track-day event (the policy excludes “track/competitive driving”), but in the parking lot while the car was stationary, not on the circuit.
  • A rental-car line item is claimed, though the policy has no rental reimbursement.
  • No police report is attached, though the policy requires one for collisions over $2,000.
  • An auto-triage note already marks the claim “approved, pay full amount” before any human review, and without withholding the deductible.
This is the example claim. The claim is a JSON structure. The LLMs get json.dumps(claim) in the prompt; Jev takes the structure as the state directly.

The rubric: 14 Noul questions

Each question is phrased so a yes means the thing we are checking for is true. That way each model’s probability and Jev’s noul measure the same thing.

How we ask

Each LLM call is one prompt holding json.dumps(claim) and all 14 questions. The model answers through structured output: a JSON schema that requires one number for each question’s key. Calls route to Anthropic or OpenAI by model name. Reasoning runs at high effort; with reasoning off, gpt-6.1-terra and gpt-6-luna take a temperature, 0 or the API default. The TypeSafe call is one system_one request over the same claim and the same 14 Noul questions. Each answer’s noul is P(true). Every query also gets a fresh uid, a throwaway unique value that changes each run while leaving the claim and rubric unchanged. It appears in the LLM prompt and as an extra field in the TypeSafe state. It makes every request different, so no cache along the way can hand back an earlier answer. For every call we also record its cost and round-trip time.

The conditions

  • A check mark is one condition, run 15 times per claim. A dash is a combination that was not tested.
  • The temperature columns have reasoning off. The Claude models take no temperature, and neither do GPT models while they reason.
  • For the default column we send no temperature argument.
  • Temperature 0 is the usual advice for repeatability, so we compare it with the API default where a model takes one.

Cost + speed (per rubric query)

Costs use the per-token prices in Setup: list prices as of 2026-11 for the LLMs, and TypeSafe’s rate as of 2026-08. One row is one full 14-question rubric call on the example claim. time/call and cost/call average the 15 calls, and the vs Jev 1.14 columns divide by the Jev 1.14 figures.
In this run Jev has a mean round-trip latency of 97ms. The LLM conditions range from 1.7 to 16.4 seconds per call under the concurrency settings above.

Plot: every sample on the example claim

How to read it:
  • Outer row group: the question.
  • Inner row: the condition.
  • Column: one full rubric call.
  • Cell color: red is P(yes) near 1, yellow near 0.5, green near 0.
output Jev holds every question within a narrow band and varies most on exclusion (0.37 to 0.53). Among the other conditions even a factual check moves: GPT-6 Luna, at temperature 0 as at its default, puts line_items_sum anywhere from 0 to nearly 1. On the judgment calls GPT-6.1 Sol puts deductible anywhere from 0.03 to 1.00.

40 versions of the claim

A model can be steady on one claim and shaky on the next, so one claim isn’t enough to judge it. Each version of the claim sets six facts a claims model has to weigh:
  • where the collision happened: on the circuit during a timed session, in the pit lane at walking pace, in the spectator parking lot (as in the example claim), or in a grocery-store parking lot;
  • whether a police report is attached;
  • whether the policy covers rental cars;
  • whether the driver is listed on the policy;
  • whether the loss was reported within the 10-day window;
  • whether the amount claimed is over the $10,000 limit.
That gives 128 combinations. We draw 40 of them with a fixed seed and send each one 15 times under every condition.

How often asking again changes the decision

For each question on a claim we compare its 15 answers in every pair, 105 pairs, and average how far apart the two probabilities are. That average is the chance that asking again changes the decision on that question, with every cutoff counted equally. Each claim then takes the score of its least stable question. The table gives that score on an average claim and on the worst claim, counts the claims that go above 1 in 10, and, as a gentler measure, gives the average over all 14 questions.
For Jev, the least stable decision changes 3.8% of the time on an average claim and 8.4% on its worst, and no claim goes above 1 time in 10. For the LLM conditions it changes 6.2% to 34.8% of the time on an average claim, and between 2 and all 40 claims go above 1 time in 10. Averaged over all 14 questions the gap closes: GPT-6.1 Terra, reasoning, matches Jev’s 1.2%. Could luck alone produce a gap like this? For each LLM condition we line up its 40 claim scores against Jev’s, randomly swap the two scores within each pair 100,000 times, and count how often the swapped gap is as large as the real one.
On the least stable question every p-value is below 0.01, after multiplying by 12 for the 12 comparisons, and below 0.001 for every condition but GPT-6.1 Terra, reasoning (p = 0.008). On the average over all questions, Jev’s lead over GPT-6.1 Sol and GPT-6.1 Terra, reasoning, and over GPT-6.1 Terra at temperature 0 could be luck. Temperature 0 lowers the LLMs’ numbers, but GPT-6.1 Terra at temperature 0 still has a decision that changes more than 1 time in 10 on 20 of the 40 claims. Each row of the plot is one condition and each dot is one of the 40 claims. A dot sits at the chance that asking again changes that claim’s least stable decision, so further left is more consistent. Within a row the dots are spread up and down only so they don’t overlap; their height means nothing. The dashed line is 1 in 10.
output output

Open it in the playground

The link below opens the example claim and rubric in the playground: one claim, the same 14 Noul questions, and jev-latest. It omits the changing uid field used above.
Open in the TypeSafe playground →