Artificial intelligence · lesson 3 of 4
Evaluating generated answers and retrieval systems
Use representative tasks with clear expected behaviour and deliberately include failure cases. Keep an evaluation set separate from prompt tuning.
Learn the ideas
Prerequisites: Metrics, annotation and reliable source checking.
Test set
Use representative tasks with clear expected behaviour and deliberately include failure cases. Keep an evaluation set separate from prompt tuning.
Rubric
Separate factual support, completeness, instruction following and usability. A single overall score can hide distinct failure modes.
Judging
Human and model-assisted judging can both be inconsistent. Use explicit criteria, calibration examples and agreement checks; do not assume an AI judge is an oracle.
Regression
Retest after changing prompts, models, data or retrieval settings. Keep versioned results so an apparent improvement can be checked.
Worked examples
Which is a useful dimension for an evidence-grounded answer rubric?
Support measures grounding rather than appearance alone.
Whether claims are supported by the supplied evidence
A toy test has 40 tasks and 6 fail a stated requirement. Find pass rate.
34/40=0.85.
0.85
Check your understanding
8 questionsDecimals or fractions are accepted for numeric answers. Proofs and written responses use sample answers and require human marking. This is practice, not a protected examination.
Further reading and review references
These are reference links, not copied exercises, institutional endorsement or proof of independent review.