AI Engineering
Can a 90% LLM Confidence Score Justify Automatic Processing?
Compare confidence calibration with selection errors using a reproducible synthetic Python example, a recent developer argument, and the limits of published research.
A 90% confidence score is not permission to act
An AI assigns a support request to a category and returns confidence: 0.9. Can the application process it without review? The first question is not how large the number looks. It is how often comparable, labelled answers at that score were actually correct. Even a well-calibrated score leaves errors.
Use confidence as an evaluated signal, not a substitute for execution evidence or authorization. We calculated a synthetic example without calling a model: the same answers and correctness labels receive three different score assignments. Overall accuracy stays at 80%, while a rule selecting scores of at least 90% produces very different workloads and errors.
Read the recent claim alongside the research
Amrut Joshi published the personal blog post Asking LLM for confidence on October 20, 2026, and updated it on October 22. It criticizes trusting a generated confidence number without validation. It is not a vendor announcement or an experimental paper. Source: Asking LLM for confidence — Amrut Joshi
The opposite blanket claim, that verbal confidence is always useless, also goes too far. Katherine Tian and colleagues reported better calibration from verbalized confidence than conditional probabilities estimated through sampling in settings using contemporary models on TriviaQA, SciQ and TruthfulQA. Just Ask for Calibration appeared at EMNLP in December 2023. This does not establish safety for long coding tasks or production automation. Paper: Just Ask for Calibration — EMNLP 2023
Three score assignments we actually calculated
On October 24, 2026, we ran Python 3.12.14 standard-library code on 100 invented answers, of which 80 are labelled correct. All three profiles reuse those same answers and labels. No customer data, model outputs or paid APIs were used. This is an arithmetic demonstration of metrics, not a measured LLM benchmark.
A gives every answer 0.8. B assigns 0.9 to 50 answers with 45 correct, and 0.7 to 50 with 35 correct. C assigns 0.95 to every answer. The demonstration fixes the selection threshold at 0.9; this is not a recommended production threshold.
Profile Accuracy Selected Selected errors Error rate within selection
A 80% 0/100 0 undefined
B 80% 50/100 5 10%
C 80% 100/100 20 20%
Rule: confidence >= 0.9 Calibration does not mean error-free selection
A and B both have zero ECE in this sample using ten equal-width bins. ECE weights each bin’s absolute gap between average confidence and accuracy by its number of cases. A says 80% and gets 80% right; B’s two groups likewise match their scores. Yet A selects nothing, while B selects 50 answers and gets five wrong.
Zero calibration error is not zero errors. ECE depends on binning and the sample, and this small constructed table says nothing about future calibration. With zero selected cases, the error rate within selection is undefined, represented as null, not 0%. Otherwise a system that does no work can look perfect.
C has ECE of about 0.15 and selects all 100 answers, including 20 errors. Raising the stated scores increases selection without improving a single answer.
Do not decide from Brier score alone either
Mean squared error between confidence and the binary correctness label gives Brier scores of 0.16 for A, 0.15 for B and 0.1825 for C. Lower is better for this probability forecast loss, but it is not a calibration-only measure. The scikit-learn documentation notes that discrimination and uncertainty also contribute. We checked this living documentation on October 24, 2026; it is not a dated research announcement. scikit-learn: probability calibration
A useful operations view includes overall accuracy, selected fraction, error count and rate within selection, and the remaining human-review workload. Inspect failures by request category as well as in aggregate. Five wrong internal tags and five wrong replies sent to customers do not have the same cost.
Start with labels and separate evaluation data
First define correctness. For request categorization, document allowed labels and ambiguous cases, then have people check sample labels. Treating the model’s own judgement as ground truth can count the same mistake twice. Decide in advance how partially correct answers are handled.
Separate data used to fit calibration, validation data used to choose a routing rule, and an untouched final test set. Repeatedly changing the rule after seeing the final test defeats its independence. Small samples and changes in time or task distribution limit what you can conclude.
Begin in a shadow workflow that records proposed categories without sending anything. Review errors and correction effort before deciding on a narrow rollout. Re-evaluate when the model, prompt, retrieved documents or business policy changes. A high score must not skip required authorization or human approval.
Download and reproduce the calculation
Synthetic scores: confidence routing — fixture.csv · Calculator: confidence routing — audit.py · Regression tests: confidence routing — test_audit.py · Saved run: confidence routing — results.json
Save the four files into one directory and run the commands below. They need no third-party package or external connection. All eight tests passed, covering empty input, invalid scores, bin boundaries and zero selection, among other cases. The saved result records the input SHA-256 and the binning rule.
python3 -B -m unittest -v test_audit.py
python3 -B audit.py Change the decision screen before the number
If an admin screen shows confidence alone, start by displaying the number of validated examples and errors behind that score. If no such evidence exists, say so. Knowing what has been checked is more useful for the next action than a polished 90% badge.
These are operational design recommendations, not a model ranking or a safety certification. Continue with evidence-backed handoffs at The Artifact Is Correct, but the Next Agent Is Stuck: Testing Handoff Completion . To inspect the example JSON locally, use JSON formatter . For workflow software and API integration services, see Sambro — company and services .