Appendix A. Metric Cheat Sheet
Use this sheet to choose candidate measures. Before calculating one, define the unit, denominator, population, oracle, and decision it will inform; without them, the score may not answer the operational question.
Task completion and reliability
| Metric | Definition | Useful for | Important limitation |
|---|---|---|---|
| Task success rate | Successful tasks / eligible tasks | End-to-end task completion | Requires a clear success oracle and representative tasks |
| pass@k | Probability at least one of k attempts succeeds | Best-of-k capability when retries or selection are part of the product | Does not describe reliability of a single attempt |
| pass^k | Probability all k attempts succeed | Consistency across repeated attempts | Depends on independence assumptions; preserve task/run structure |
| First-attempt success | Tasks succeeding on the first attempt / eligible tasks | User-visible reliability when retries are costly or hidden retries are not allowed | Report retries separately rather than dropping them |
| Recovery rate | Recoverable failures that reach correct state / recoverable failures observed | Whether agent notices and repairs errors | Define recovery opportunity and acceptable recovery cost |
| Escalation rate | Tasks escalated to a human / eligible tasks | Workload transferred to people | A high rate can mean safe behavior or poor automation; review appropriateness |
For binary outcomes, \(\hat p = s/n\), where \(s\) is the number of successes and \(n\) the eligible trials. Report the sampling plan and uncertainty, particularly for small samples and decision-critical slices.
Tools, state, and process
| Metric | Definition or check | Decision use |
|---|---|---|
| Tool selection accuracy | Correct tool selections / cases requiring a tool | Diagnose routing and capability |
| Argument exactness | Calls matching the expected arguments or accepted constraints / calls graded | Detect malformed or incorrect targets |
| Schema validity | Calls conforming to the tool contract / calls attempted | Separate syntax from semantic correctness |
| State-transition correctness | Runs reaching the expected authoritative environment state / runs tested | Grade consequential outcomes independently of prose |
| Unauthorized-action rate | Unauthorized actions / relevant opportunities or attempts (state which) | Safety gate; do not hide behind average task quality |
| Constraint adherence | Runs satisfying all required trajectory constraints / runs | Measure step budgets, approvals, and forbidden actions |
| Repeated-action rate | Runs with a defined duplicate or loop signature / runs | Detect wasted or hazardous repetition; specify the signature |
| Trace completeness | Runs with all required trace fields / expected runs | Monitor whether the evaluation system can explain results |
Retrieval and generated content
| Metric | Definition or check | Useful for | Important limitation |
|---|---|---|---|
| Recall@k | Relevant retrieved items in top k / known relevant items | Retrieval coverage | Needs reliable relevance judgments |
| Precision@k | Relevant retrieved items in top k / k | Retrieval precision | May penalize useful diversity or rank differently from the task |
| MRR | Mean reciprocal rank of first relevant item | How early a relevant result appears | Ignores later relevant items |
| nDCG@k | Discounted cumulative gain normalized by ideal ranking | Graded relevance and ordering | Depends on relevance scale and judgment completeness |
| Faithfulness / groundedness | Claims supported by supplied evidence / claims assessed, under a stated rubric | Evidence use in RAG answers | Often model-judged; validate claims and judge calibration |
| Unsupported-claim rate | Unsupported material claims / material claims assessed | Hallucination risk in bounded contexts | Requires a claim inventory and source oracle |
| Citation precision | Correctly supported citations / citations assessed | Citation quality | A citation can be valid but insufficient for a claim |
| Word error rate | \((S+D+I)/N\): substitutions, deletions, insertions over reference words | Speech transcription | Reference transcript and normalization choices affect scores |
Use text-overlap metrics such as BLEU as task-specific signals; they do not establish answer quality on their own. For image, audio, video, and multilingual outputs, pair modality-specific measures with human or task-grounded review.
Judges, reviewers, and uncertainty
| Metric | Definition | Caveat |
|---|---|---|
| Exact agreement | Matching labels / paired labels | Does not account for chance agreement or severity |
| Cohen’s \(\kappa\) | Chance-adjusted agreement for two raters on categorical labels | Sensitive to prevalence and marginal distributions |
| Fleiss’ \(\kappa\) | Chance-adjusted agreement across multiple nominal ratings per case | Standard form requires the same number of ratings per case; pooled prevalence affects the result |
| Confusion matrix | Counts of true/false positives and negatives against an adjudicated reference | Reference labels may themselves be uncertain |
| Precision / recall | TP/(TP+FP) and TP/(TP+FN) for a defined positive class | State which class and the operational cost of each error |
| Brier score | Mean squared error between predicted probabilities and binary outcomes | Requires meaningful probabilities and appropriate outcomes |
| Judge disagreement rate | Cases where judge and reference label differ / paired cases | Agreement alone is not validity; inspect error severity and slices |
| Abstention rate | Cases a judge or reviewer declines / assigned cases | Report whether abstention is routed and how that route is resolved |
| Confidence interval | Range from a stated procedure for a population quantity | State sampling assumptions and whether tasks/runs are clustered |
When both systems see the same cases, compare them at the paired task level and retain per-task results. Aggregate rates alone do not show which tasks changed or whether a critical slice regressed.
Cost, speed, and coverage
| Metric | Definition | Caveat |
|---|---|---|
| Latency | Elapsed time from a stated start to end event | Report p50/p95 or other quantiles, timeouts, and measurement boundary |
| Cost per attempt | Total attributable cost / attempted tasks | State whether human review and infrastructure are included |
| Cost per success | Total attributable cost / successful tasks | Undefined when success count is zero; compare on the same population |
| Evaluation coverage | Tested cases / cases in a defined planned scope | Count alone does not measure representativeness |
| Slice coverage | Number of required slices with adequate evidence / required slices | Predefine minimum volume and slice definitions |
| Evaluator availability | Valid grader results / expected grader results | A missing score is not a pass |
Reporting checklist
For each metric, record its name and version, construct and direction, numerator and denominator, unit, population and exclusions, data and grader versions, uncertainty method, required slices, and the decision it informs. Keep non-compensable safety gates separate from aggregate scores.