A rubric turns a feeling about an answer into a check you can repeat: a short list of criteria, each with a pass or fail, applied the same way to every run. LangSmith’s evaluation side covers offline scoring with code rules, LLM-as-judge, pairwise comparison or human review, and the same idea works on paper: write the criteria before you read the answer, such as correct facts, citations present, and no invented numbers, then score each one. A rubric written after reading the answer will always pass the answer you liked.
What you need
- An agent output to score
- A rubric of four to six criteria, written before reading the output
- A pass mark, for example all criteria must pass
Step 1: Write the rubric before reading the output
List four to six criteria the output must meet, such as every claim cited, no invented numbers, and the right format. Write them before you open the output.
Step 2: Score each criterion pass or fail
Read the output and mark each criterion pass or fail, with the evidence for each mark. A criterion you cannot judge from the output is a bad criterion.
Step 3: Record the score and the failing criteria
Write the total score and list the failing criteria with their evidence. A score with no failing criteria listed cannot be improved.
Worked example: synthetic rubric score
The table below is a synthetic example. It shows the expected result of rubric scoring; no output was scored.
| Criterion | Pass? | Evidence |
|---|---|---|
| Every claim cited | Pass | 3 citations |
| No invented numbers | Pass | Numbers match source |
| Right format | Pass | Table as asked |
| No extra claims | Fail | 1 extra claim |
Expected result (UNTESTED). three of four criteria pass, and the one failure, an extra claim, is listed with its evidence. This check was not run live; the table shows the expected result for the synthetic example.
Limits
- A rubric written after reading the answer will pass the answer you liked.
- Four to six criteria are enough; a longer rubric is not used.
- LLM-as-judge scoring needs its own checks, or the judge shares the agent’s mistakes.
- A score without the failing criteria listed cannot guide a fix.
