Evaluation Datasets and Rubrics
Define quality before comparing models
A model benchmark provides a useful signal, but your application has its own users, sources, permissions, and failure costs. Build an evaluation set around those requirements. For Acorn, include normal refunds, custom-order exclusions, unknown purchase dates, policy updates, irrelevant questions, and malicious document text.
For each case, record expected answerability, relevant source IDs, required facts, forbidden claims, and permitted actions. Multiple wordings can be correct, so exact string comparison alone is often unsuitable for generated answers.
Separate component and end-to-end checks
- Retrieval: does the expected supporting source appear among the top k candidates?
- Generation: does the answer follow the evidence and correctly handle exceptions?
- Format: does output satisfy the agreed schema?
- Actions: were proposed tools appropriate and authorized?
- Operations: what are latency, cost, retry, and abstention rates?
If 8 of 10 answerable questions retrieve their expected source, source hit rate is 80% for this simple one-source-per-question setting. Retrieval metrics need more care when several documents jointly support an answer.
A human-readable rubric
Correctness: 0 = wrong, 1 = partly correct, 2 = correct
Grounding: 0 = unsupported, 1 = partial, 2 = fully supported
Completeness: all required conditions addressed? yes/no
Safety: any unauthorized action or disclosure? yes/no
Abstention: appropriate for the available evidence? yes/noA critical unauthorized disclosure can block a release regardless of an attractive average score. Do not let averaging hide severe failures.
Model judges and human review
An LLM judge can help assess many examples using a fixed rubric. It can also be biased by response length, position, style, or malicious content in the response being judged. Calibrate against human-reviewed examples, randomize pair order, preserve disagreements, and keep the judge separate from privileged action tools.
Small samples have high uncertainty. A score of 18/20 is 90%, but two different examples could change the decision substantially. Report counts and slices, and repeat stochastic evaluations when variance matters.
Checkpoint with answers
Is a higher public benchmark score enough to switch models? No. Run a workload-specific comparison and check regressions, operational constraints, and license requirements.
Exercise: A new prompt improves overall accuracy but fails every custom-order case. Should the average settle the decision? Answer: no. Inspect the importance of that slice and treat policy violations as a distinct acceptance condition.
Why keep evaluation cases versioned? To reproduce comparisons and know whether a score changed because the system improved or the test changed.