Know when to trust your AI, and when a person should check.
Your AI gives every answer a score. TrustLine walks the threshold down until checked answers show, at the confidence you choose, that mistakes stay under your limit.
Three steps. About ten minutes.
You need a file with the scores your AI gave, and a person who can check some of its answers.
- Check some answersMark ~300 random answers right/wrong—or draw a stratified sample right inside the Labeling Studio.
- Open CSV, JSONL, or XLSXDrop any spreadsheet, map your score/checked/segment columns, and inspect automatic data hygiene checks.
- Check, monitor & shipVerify calibration reliability, SLA hours saved, code snippets, printable SHA-256 audit summaries, and KS drift alerts.
Find your line.
Analyze thresholds, label samples, monitor score drift, plan sample sizes, or connect via REST API.
1. Your data
Drop a CSV, TSV, JSONL, or Excel (.xlsx) file. Scores can be 0–1 or 0%–100%; leave checked blank for unlabeled rows.
All file parsing and proof math run locally in this browser tab.
2. Limits & workload
3. Result
| Limit | Safe line | AI alone | Checked (wrong) |
|---|
| Segment | Rows | Checked | Safe line | AI alone |
|---|
| Score | Checked | Route |
|---|
Choose a file or click a scenario on the left to inspect your safe line, calibration reliability, and routing code.
When the tool is not sure, it says so. With too few checked answers you will see “No safe line yet”.
Sample & label unchecked rows
Draw a uniform random sample—or focus near the 0.70–0.95 decision boundary—to label answers right in your browser.
Label & sample
0 / 0Load any dataset in Safe Line (such as Standard or Multi-segment), then click “Draw sample from loaded file”.
Check if your AI scores changed
Compare baseline scores against a new batch using a two-sample KS test, automated-share shift, and segment breakdown.
Drift check
Cumulative distributions (click/hover anywhere to inspect KS gap)
Drift by segment
| Segment | Baseline | New | KS diff | Status |
|---|
New batch histogram
Load both baseline and new scores to measure distribution shift.
Plan how many answers to check
Calculate how many random checked answers above the cutoff are needed before your team starts labeling.
Minimum sample needed
Reference guide at selected confidence
| Target limit | If 0 wrong | If ~40% of limit wrong |
|---|
Saved audit snapshots
Audits persist in browser storage and sync with this Express server (/api/audits) for quick comparison or reload.
| Audit | Line | AI alone | Max err | SHA-256 | Actions |
|---|
REST API & Power Automate connector
Call TrustLine directly from Python, Node.js, or Power Automate HTTP actions without leaving your infrastructure.
{}
TrustLine Pro
The analysis in this page is free. Pro adds the REST API, saved audits on every device and drift alerts to your webhook, for one licence key.
How we tested it.
Nine sets of AI scores, six of them from real public data, tested again on 27 Nov 2026 with the current methods. The goal: mistakes under 5% at 95% confidence, with 300 checked answers, 300 random audits per set. A perfect tool would let the AI handle 60% of items alone. With 600 checked answers Standard reaches 47%, with 1,000 about 50%.
| Way of choosing the line | AI works alone on | Safety |
|---|---|---|
| TrustLine Standard (default) | 39% | Over the limit in at most 2.3% of audits in any set (the promise is 5%). Never over 7.5%. |
| TrustLine Strict | 33% | Over the limit in at most 2.3% of audits. The only method backed by a proof. |
| The usual fixed line of 0.90 | 47% | Broke the limit in 2 of 9 tests. Mistakes as high as 16%. |
Important note on statistical assumptions. Proofs require that checked answers were drawn at random from the population you score in production, and hold only while model calibration and document distributions remain stable.
Free & local-first
CSV/XLSX/JSONL parsing, labeling, calibration charts, and SHA-256 audit summaries run right in your browser.
REST API & Webhooks included
Use /api/find-line, /api/drift, and Power Automate snippets to embed automated cutoffs in production.
Good to know.
What file formats are supported?
CSV, TSV, semicolon-delimited text, JSON Lines (.jsonl / .ndjson), and Excel workbooks (.xlsx) — all parsed locally in your browser without third-party uploads.
Which method should I pick: Standard, Continuous peeking or Strict?
Standard (Clopper-Pearson) is for a finished batch, such as 300 checked answers. It tries every possible line and keeps the lowest safe one; because picking the best of many lines adds risk, it calculates at a stricter confidence (97% when you choose 95%). In our simulations that kept the chosen line over the limit in at most 3.7% of runs, and in at most 2.3% of audits on our nine score sets. That is a tested result, not a proof. Continuous peeking (anytime-valid) stays valid if you look again and again while still labelling, but needs far more checked answers: with 300 it found a line in only 14% of our audits, with 1,000 in 64%. Strict walks down from the top and stops at the first line that fails: it is the only method that proves the stated confidence, but it often lets the AI handle less.
What is the Reliability diagram & ECE?
It groups checked predictions into 10 probability bins and compares the AI’s average confidence score against actual human-verified accuracy. ECE (Expected Calibration Error) summarizes the average gap.
What does checking bias mean?
If the checked rows have clearly different scores from the unchecked rows (a Kolmogorov–Smirnov test with p under 0.05), they were probably not picked at random, for instance someone only checked low scores. The result is then not reliable.