Leaderboards are not your evaluation
Public benchmarks compare models on general tasks. They say little about whether your assistant answers your refund questions correctly, in your tone, in Arabic and English, from your data. Application evaluation uses your own cases. It also catches regressions: providers update models, and a prompt that worked last month can behave differently today.
The parts of an evaluation
- A test set built from real cases: common requests, hard edge cases, questions that should be refused and hostile inputs, each with the expected outcome.
- Graders. Code checks for anything exact, such as valid JSON, the right tool called or the correct total. A model-graded rubric for qualities such as faithfulness to sources and tone, compared with human ratings before you rely on it. People for a sample, especially specialists and native speakers.
- Metrics and thresholds agreed with the business, such as the share of answers fully supported by sources, correct hand-offs to staff and response time.
- Regression runs on every change, with results kept so versions can be compared.
An example
Imagine a team preparing a bilingual support assistant. They collect a few hundred real questions from past tickets, half in Arabic, including Gulf dialect and messages that mix both languages. Each case has an expected answer or action. A rule checks that order lookups call the right tool, a model-graded rubric scores faithfulness to the help centre, and native speakers rate a sample for tone. The release goes ahead only when every category meets its threshold. This example is hypothetical.
Common mistakes
- Testing by trying a few questions and going on a good feeling.
- One average score that hides a failing category, such as Arabic questions or refunds.
- Trusting a model grader without checking it against people; model judges can favour longer or more confident answers.
- Writing test cases that are easier than real traffic.
- Never adding production failures to the test set.
Related terms
Evaluation measures quality, AI red teaming probes for harm and misuse, and AI observability keeps watching after launch. See our AI agent testing service and the article on testing AI agents before launch.