Free courses in AI, Data Science & Machine Learning Written lessons · Quizzes · Final exams
Future Data Academy
Log inGet started ↗
← Prompting and AI Evaluation
FREE LESSON PREVIEW

Rubrics and prompt regression tests

The decision

Compare prompts on the same extraction cases. JSON validity, factual support and completeness are different criteria. A formatting improvement can conceal factual regressions, so use a stable rubric and a paired comparison.

Synthetic case data

case,A_format,A_supported,B_format,B_supported
1,1,1,1,1
2,0,1,1,1
3,1,0,1,0
4,1,1,1,0
5,0,0,1,1

Work it through

Before reading the worked analysis, identify the unit of observation, required quantities and missing information. Write your own answer, including units and a limitation.

Worked analysis

A has 60% format success, 60% supported outputs and 40% joint success. B has 100% format success, 60% supported outputs and 60% joint success. B improves joint success but introduces a factual-support regression on case 4. Five cases cannot justify a broad guarantee. Add missing-answer and adversarial cases and keep an untouched evaluation set. Reviewer disagreement should be adjudicated against explicit evidence, not automatically counted as model error. A valid output containing invented facts must not receive full credit.

Independent challenge

Write pass/partial/fail rubric examples, a paired result table and a regression log. Include two cases whose correct answer is “not stated”. Define acceptance criteria before the next prompt revision.

Acceptance checks

Use identical inputs and scoring rules for both variants. Separate evaluator disagreement, formatting errors and unsupported content. Do not use private real-world data in the portfolio.

Further reading

Official reference. This original academy exercise uses synthetic data; the reference provides background and does not endorse the academy.

Explore the full course →