How to Evaluate an LLM Feature With a Rubric and a Small Test Set
Build a practical evaluation for a chatbot or prompt: criteria with anchors, a test set that covers hard cases, hand grading, and reading results honestly.

Every team that ships an LLM feature eventually faces the same question: is the new prompt, or the new model, actually better? Without a written evaluation the answer comes from a handful of demos and whoever argues most confidently. A small, honest evaluation is not much work, and it turns that argument into a table you can read.
Start with what good means
A rubric is a short list of criteria, each with a score range, a weight and anchors. For a support bot, correctness, completeness and tone are a sensible start. Correctness usually deserves the highest weight, because a polite wrong answer is worse than a blunt right one.
Anchors are the part people skip and later regret. Write what a 1, a 3 and a 5 look like for each criterion: 1 means wrong or harmful, 3 means right but missing a step, 5 means fully right. With anchors, two graders, or the same grader on two different days, land on similar scores. Without them, scores drift with mood.
Keep scales short. Five points is plenty, and pass or fail is often enough. Ten-point scales invite false precision.
Build a test set that bites
Twenty to thirty cases are enough to start, as long as they are the right cases. Include the common questions, but also the awkward ones: ambiguous requests, questions your documents do not answer, multi-part questions, and the cases that went wrong in production last month. Give each case an expected answer or a rule, such as must mention the 30-day window, and a tag for its topic so you can see where a model is weak.
The LLM Evaluation Rubric and Dataset Builder takes cases from a CSV with input, expected and tag columns, and accepts common alternatives such as prompt, question or reference. It warns when the set is very small or when cases have no expected answer.
Grade quickly, but by hand
Create one run per model or prompt version and bring in the answers, either by pasting them or by importing a CSV or JSONL file of outputs. Then grade one case at a time: read the input, the expected answer and the model's answer, tap a score for each criterion and add a note when something is interesting. Arrow keys move between cases, so a set of thirty takes a focused half hour.
A small hint shows how many content words of the expected answer appear in the model's answer. It speeds you up on obvious cases, but it is not a score: a correct answer in different words can show low overlap, and a wrong answer can repeat the right words.
Read the results with care
Case scores are weighted shares of each scale, averaged to a number out of 100. The results tab shows each run's mean, pass rate at your threshold, averages per criterion and per tag. A per-criterion view often tells a clearer story than the total: one model may be more accurate while another is more complete.
The head-to-head comparison counts the cases each run wins and lists the biggest gaps first. Read those answers side by side; they show you what actually changed. With a small set, a difference of a few points can be chance, so grow the set before making a costly switch.
From hand grading to automation
Once your rubric is stable, you can export it as grading instructions, with a JSON output line listing each criterion and its range, and use it in an automated judge. Before trusting the judge, grade a sample yourself and compare. Where the judge disagrees with you, improve the anchors or keep that criterion human.
Export the project JSON to share with colleagues, and the results CSV for a spreadsheet or a report. Your evaluation then becomes a living asset: every time a user finds a new failure, add it as a case, and every future change gets tested against it.



