Deterministic checks, human review and model graders
Pick deterministic checks, human review or a rubric-based model grader for each criterion and calibrate graders against reviewed examples.
By Invicly Tech, , in Prompt Engineering and Vibe Coding. About 8 minutes to read.
In short
A grader decides if an answer passes. Use the cheapest reliable kind for each criterion: exact or schema checks first, human review for judgement, and a model grader for large volumes with a clear rubric. Check the model grader against human-reviewed examples before trusting it.
Think of it like this: A spell checker, a teacher and a teaching assistant with a marking guide all grade essays, but each fits a different question.
Explained simply
After a prompt answers, someone or something must decide if the answer is good. That is the grader. There are three kinds, and the skill is picking the right one for each question.
The first kind is a plain rule: is this valid JSON, does it contain the field category, is the answer exactly yes or no. These are fast, free and always give the same result. Use them whenever you can.
The second is a human reviewer, who is best for tone, helpfulness and anything that needs judgement. People are slow and can disagree, so use them on a sample and to set the standard.
The third is a model grader: an AI that scores answers using a written rubric. It handles large volumes. But it can be wrong, so check it against human scores first, and note how often they agree.
Press Play on a diagram to walk through it one step at a time.
- Exact match, regex or schema
- Fast, free and repeatable
- Only for objective rules
- Run these first
- Best for tone and nuance
- Slow and costly
- Reviewers can disagree
- Use for a sample and for calibration
- Scores against a written rubric
- Scales to many cases
- Can be wrong or biased
- Needs checking against humans
- 1Objective rule?
Use a schema or exact check
- 2Needs judgement?
Write a rubric
- 3Many cases?
Use a model grader
- 4Calibrate
Compare with human scores
- 5Record uncertainty
Agreement rate and notes
In depth
Start with deterministic checks
Many requirements are objective. The output must parse as JSON. A required field must exist. A number must be within range. A forbidden word must be absent. A schema validator, a regex or an exact comparison checks these perfectly and for free. Run them first. If an answer fails an objective check, you do not need a human or a model to tell you it is wrong. This also keeps your costly graders for the judgement questions that remain.
- Valid JSON or schema
- Required fields and value ranges
- Exact match for fixed answers
- Forbidden content absent
Writing a rubric
A rubric lists what to score and what each score means. Keep each criterion separate, such as accuracy, tone and completeness. Define two to four levels with a short description and, if possible, an example. Avoid words like good or fine on their own. Two people who read the rubric should score the same answer the same way. If they do not, the rubric is too loose, so tighten the wording and test again.
- One criterion per line
- Two to four score levels
- Short example per level
- Test that two reviewers agree
- 1Accuracy 0 to 2
2 = all facts match the policy text
- 2Tone 0 to 2
2 = calm, polite, no blame
- 3Completeness 0 to 2
2 = answers every question asked
- 4Pass rule
Total 5 or more and accuracy 2
Calibrating a model grader
Give the model the rubric, the input and the answer, and ask it to explain first and then give a score. Before trusting it, run it on examples that humans already scored, ideally twenty or more. Count how often it agrees, and read the cases where it differs. Record the agreement rate and the typical errors, such as favouring long answers. Re-check when you change the grader prompt or its model. Treat scores as an estimate with known uncertainty, not as a fact.
- Ask for the reason, then the score
- Test on human-scored examples
- Record agreement rate
- Note typical grader biases
- Re-check when the grader changes
Learn it in 5 short steps
About 35m each. Track them with a timer in your plan.
- 1Use exact and schema checks first~35m
- 2Write a scoring rubric~35m
- 3Run a model grader on the rubric~35m
- 4Calibrate against human-reviewed examples~35m
- 5Record grader uncertainty~35m
Key points
- Use exact, regex and schema checks for anything objective, such as valid JSON or a required field.
- A rubric lists each criterion with clear score levels and short examples.
- Give a model grader the rubric and ask for a reason, then a score.
- Calibrate: run the grader on examples humans already scored and compare.
- Record uncertainty, such as the agreement rate, so people know how far to trust the scores.
Key terms
Tap a card to flip it. 0/5 known
Examples
Layering graders on one output
A prompt must return JSON with category and reply. Layer 1 is a schema check that rejects missing fields. Layer 2 is a rule that the category is one of three allowed values. Layer 3 asks a model grader to score tone from 0 to 2. Only answers that pass layers 1 and 2 reach the costlier layer.
1. Schema: has category (string) and reply (string) -> pass/fail
2. Rule: category in [billing, bug, other] -> pass/fail
3. Model grader: tone 0-2 using the rubric -> score
4. Human: review 10 percent sample -> calibrateMeasuring grader agreement
You have ten answers that two humans scored as pass or fail. The model grader agrees on eight. That is 80 percent agreement. You read the two disagreements and find it marks long answers as pass. You add a rule to the rubric about length and re-test.
case human model
1 pass pass
2 fail fail
3 pass pass
4 fail pass <- disagree
...
8 of 10 agree = 80 percentQuick reference
- Run exact, regex and schema checks first.
- Use humans for judgement, on a sample.
- A rubric has separate criteria and clear levels.
- Ask a model grader for reasons, then a score.
- Calibrate on human-scored examples before trusting it.
- Record agreement rate and known weak spots.
- Re-check the grader when its prompt or model changes.
Common mistakes
- Using a model grader for things a simple schema check could do exactly.
- Trusting a model grader without ever comparing it to human judgement.
- Writing a rubric so loose that two reviewers score the same answer differently.
Quick quiz
Pick an answer to see if you're right and why.
Practice exercises
Try each one yourself first. Use the hint if you get stuck, then compare with the solution.
- Exercise 1easy
For each requirement, pick deterministic, human or model grader: valid JSON; friendly tone; reply under 100 words.
- Exercise 2medium
Write a three-level rubric for the criterion accuracy of a policy answer.
- Exercise 3hard
Plan how you would calibrate a model grader on 20 human-scored answers and what you would record.
Check yourself
Answer in your head, reveal, then be honest with yourself.
Feel confident about this topic?
Frequently asked questions
- Can a model grade its own answers?
- It can, but it tends to favour its own style. Using a separate grader prompt, and calibrating on human scores, reduces the risk.
- Do I always need humans?
- Not for every case, but you need them to set the standard and to check the model grader on a sample.
- Why score criteria separately?
- A single overall score hides what went wrong. Separate scores show which part of the answer needs work.