AI Evaluation Calculator
NEWRead an AI evaluation run against its release gates: confusion matrix metrics, accuracy by segment, agent coverage, safety failures and retrieval at k, each with its confidence interval and every assumption stated.
Quality analysis
Release candidate against its gates
Example data
No gate is enabled. Enable a gate under Gates to read the run against it.
Accuracy by segment
Agent coverage
- Among completed runs
- Across planned tasks
- Coverage
Retrieval at k
Recall and average precision divide by the relevant documents known for the query; if that list is incomplete, so are they.
Data
The run and its gates
Gates
| Gate | Used | Threshold, % | Passes |
|---|---|---|---|
| Accuracy |
% |
at least | |
| Precision |
% |
at least | |
| Recall |
% |
at least | |
| False positive rate |
% |
at most | |
| Agent success, planned tasks |
% |
at least | |
| Evaluation coverage |
% |
at least | |
| Critical segment accuracy |
% |
at least | |
| Safety failure rate |
% |
at most |
Method
- A gate is established when its whole interval is on the passing side, passes on the estimate only when the interval still reaches the failing side, and lacks data when its denominator is empty. Missing data never counts as a pass.
- Every rate except the safety failure rate, the false positive rate included, uses the two-sided Wilson score interval at the chosen level. Each end of a two-sided interval is a one-sided bound at a higher level (97.5% for a 95% interval), so these gates are judged more strictly than the level states. The safety failure rate uses the exact one-sided upper bound at the chosen level itself, which is 1 − α^(1/n) with no failure observed.
- Every interval assumes independent examples. Examples grouped by user, document or prompt make the real uncertainty larger.
- A ratio with an empty denominator is shown as undefined, never as 0.
- Everything is calculated in this browser; no data is sent anywhere.
Found a bug or missing something? Write to us
Scope and limits
Standard intervals, stated assumptions
Every interval can be checked by hand
The statistics are tested against reference cases: 175 correct answers out of 200 give an accuracy of 87.50% with a 95% Wilson interval of 82.2% to 91.4%, and zero failures in 100 prompts give an exact upper bound of about 2.95%. Agent tasks that never ran count as not succeeded.
Help
FAQ
How is the confidence interval of accuracy calculated?
With the Wilson score interval for a binomial proportion: x correct answers out of n examples, at the chosen 90%, 95% or 99% level. For 175 correct answers out of 200 the 95% interval is 82.2% to 91.4%. Unlike the simple normal approximation it stays inside 0 to 100% and behaves well near the ends.
What does "on estimate only" mean?
The measured value clears the gate, but the confidence interval still reaches the failing side, so the data cannot yet rule out a value below the gate. An accuracy of 87.5% from 200 examples passes an 85% gate on the estimate, while its 95% interval starts at 82.2%. More examples narrow the interval and settle the gate.
Why do zero observed failures not mean zero risk?
Zero failures in n prompts only bounds the true rate. The exact one-sided upper bound is 1 − α^(1/n): about 2.95% at 95% for 100 prompts and about 0.30% for 1,000. A 5% gate is therefore established after 100 clean prompts, but a 1% gate needs roughly 300.
How are agent tasks that never ran counted?
As not succeeded. Success among completed runs and success across planned tasks are shown side by side: 80 successes out of 80 completed runs is 100%, but out of 100 planned tasks it is 80%. The agent gate reads the planned figure, so missing runs never raise the result.
How are Precision@k, Recall@k, nDCG and AP calculated?
From the relevance of the first k results of one query and the number of relevant documents known. Precision@k divides the relevant results by k, Recall@k by the known relevant documents. nDCG discounts each relevant result by log2 of its rank plus one and divides by the ideal ordering; AP averages the precision at every relevant rank over the known relevant documents.
Is the evaluation data sent to a server?
No. Every figure is calculated in the browser. The page address holds counts, thresholds and choices so the analysis can be shared as a link; segment names are never written to it, and nothing else is stored or sent.
