Human Evaluation and Feedback
Human evaluation means people rating an AI application's answers, using a shared rubric. It is the ground truth that automatic checks are measured against: people catch wrong tone, missing context and subtle errors that rules and model judges miss. User feedback, such as thumbs up and down, adds signals from real use at a much larger scale.
Reviewers, Rubrics and Agreement
| Part | Description |
|---|---|
| Rubric | It is used to define what a good answer is, so reviewers judge the same way |
| Sample | It is used to pick a manageable, representative set of answers to review |
| Two or more reviewers | It is used to check that ratings depend on the answer, not the person |
| Agreement | It is used to measure how consistently reviewers rate the same answers |
Example: Measuring Reviewer Agreement
Srihitha and Advitha each rate the same 20 Campus Helper answers as good (1) or not good (0). These ratings are made up for the lesson; the calculation is real.
# Two reviewers rate the same 20 answers: 1 = good, 0 = not good
srihitha = [1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1]
advitha = [1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1]
n = len(srihitha)
agree = sum(a == b for a, b in zip(srihitha, advitha)) / n
# Agreement expected by chance, from how often each reviewer says "good"
p_s, p_a = sum(srihitha) / n, sum(advitha) / n
chance = p_s * p_a + (1 - p_s) * (1 - p_a)
kappa = (agree - chance) / (1 - chance)
print(f"Raw agreement: {agree:.0%}")
print(f"Agreement expected by chance: {chance:.0%}")
print(f"Cohen's kappa: {kappa:.2f}")
print("Disagreed on answers:", [i + 1 for i, (a, b) in enumerate(zip(srihitha, advitha)) if a != b])Raw agreement: 85%
Agreement expected by chance: 60%
Cohen's kappa: 0.63
Disagreed on answers: [5, 10, 17]Explanation: The reviewers agree on 17 of 20 answers, 85%. But because both say "good" most of the time, they'd agree about 60% of the time even by guessing. Cohen's kappa corrects for that: 0.63 means substantial agreement beyond chance (1 is perfect, 0 is chance level). The three disagreements are the most useful output: discussing them usually reveals a gap in the rubric.
User Feedback
| Signal | Description | Watch out for |
|---|---|---|
| Thumbs up and down | It is used to collect quick ratings on every answer | Few people click, and unhappy people click more |
| Comments | It is used to learn why an answer failed | Rare, but very informative |
| Behavior | It is used to read signals such as asking again or calling the office | Indirect; needs interpreting |
Common Mistakes
No written rubric. Each reviewer judges differently, and the numbers mean nothing.
One reviewer only. You can't tell the answer's quality from the reviewer's taste.
Treating thumbs-up rates as accuracy. Satisfied users can still be wrong about a wrong answer.
Interview Corner
Why is human evaluation still needed when you have automatic checks?
People are the ground truth. They catch subtle errors, tone and missing context, and they're needed to check that automatic and model-graded evaluations agree with real judgment.
What is Cohen's kappa?
A measure of agreement between two raters that corrects for agreement expected by chance: 1 is perfect agreement and 0 is no better than chance.
Practice
Exercise: rate with a rubric. Take ten answers from the evaluation in "Building an Evaluation Set". With a friend, rate each one good or not good using the rubric above, then compute your kappa with kappa.py. Discuss every disagreement and improve one rubric line.
Check your understanding:
- What is a rubric for?
- Why is 85% raw agreement less impressive than it sounds here?
- What should you do with disagreements?
Key Takeaways
Quick reference
| Need | Approach |
|---|---|
| Consistent ratings | A written rubric |
| Trustworthy ratings | Two reviewers and kappa |
| Real-use signals | Thumbs, comments, behavior |
| Normal quality | A weekly random sample |
Was this tutorial helpful?