Capability and benchmark limits
A benchmark is a defined evaluation task with data, scoring rules and a procedure. A metric is a quantity used to summarize performance. A high benchmark score supports a limited claim about that evaluation. It does not automatically establish reliability in another environment, human-like understanding or usefulness for a business.
Accuracy: count correct answers
Suppose two fictional classifiers label support tickets as delivery or returns. Accuracy is the number of correct predictions divided by the total number of evaluated examples. Multiply by 100 to express it as a percentage. The evaluated examples must have known reference labels.
| Model | Test set | Correct | Total | Accuracy |
|---|---|---|---|---|
| A | Simple tickets | 90 | 100 | 90% |
| B | Ambiguous tickets | 80 | 100 | 80% |
Model A has a higher recorded percentage, but the test sets differ. We cannot conclude that A is better on the same type of ticket. To compare them, use a common, relevant test set, the same scoring rules, equivalent input conditions and models fixed before testing.
Compare against a simple baseline
Imagine a separate 100-ticket test set containing 90 delivery tickets and 10 returns tickets. A trivial classifier always predicts delivery. It gets 90 correct, giving 90% accuracy, yet misses all 10 returns. A baseline is a simple comparison approach; it reveals whether a more complex model provides useful improvement.
| Actual category | Correctly predicted | Total | Fraction correctly recognized |
|---|---|---|---|
| Delivery | 90 | 90 | 100% |
| Returns | 0 | 10 | 0% |
The overall metric hides the complete failure on returns. If missing a return request matters, inspect category-level results and error costs, not accuracy alone. This is an original synthetic example, not a reported performance result.
Optional Python: calculate a score
This example uses def, if and return as before. <= means less than or equal to. raise ValueError stops the calculation with an error when the count is not meaningful. Inputs are assumed to be integer counts; this function does not check their types. An empty test set has no defined accuracy under this contract.
def accuracy_percent(correct, total): if total <= 0 or correct < 0 or correct > total: raise ValueError("Invalid evaluation counts") return 100 * correct / total
print(accuracy_percent(90, 100))print(accuracy_percent(80, 100))print(accuracy_percent(0, 10))Expected output is 90.0, 80.0, and 0.0, each on its own line. The function computes scores; it does not decide whether two evaluations are comparable.
From data to decisions and feedback
Follow the lifecycle in this text diagram:
Training examples + objective → fitted model → new input → inference → decision rule → action or human review → observed feedback.
The objective defines what fitting optimizes. Inference means using the fitted model to produce a result on input. A decision rule translates that result into a recommended action. Feedback is the outcome observed later. Feedback is not necessarily correct training data: a reviewer might make a mistake or some cases may never be resolved. Keep evaluation examples separate from model fitting; otherwise the score may overstate performance on new cases.
A checklist for claims and real use
Record the intended task and population, evaluation data source and time period, sample size, metric, input conditions, baseline, version and failure types. Ask whether examples reflect expected use, whether sensitive or private data is appropriately protected, and whether the test was kept separate from training. Before deployment, specify human review, acceptable error limits, monitoring and a stop condition. NIST AI RMF guidance emphasizes evaluation in context and recording limits of generalization (framework core). No single score establishes broad intelligence, factual reliability, safety or compliance.
Practice: challenge an impressive number
A vendor says its ticket classifier is 95% accurate but does not name the dataset or baseline. List three details you would request and one condition that would stop automated use. Example: request test-set composition, scoring procedure and category-level errors; suspend automated routing if a predefined critical error threshold is exceeded. If a fixed policy solves the task with less risk, test that alternative too. Next, develop the Python tools for reproducible experiments.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Capability and benchmark limits — understanding check
Apply the lesson concepts to original scenarios.
Model A gets 90/100 on easy tickets and B gets 80/100 on hard tickets. What is justified?
A model always predicts delivery on 90 delivery and 10 returns tickets. What is its accuracy?
Of the ten actual returns tickets, what fraction does the always-delivery classifier correctly label as returns?
Which procedure supports a fair comparison of two fitted ticket classifiers?
What should accompany benchmark results before automated deployment?