productinterview.tools
MenuClose

Precision, Recall, TPR and TNR for AI Evals

Ways to count a grader's or classifier's two kinds of mistakes separately, so a lenient or strict grader can't hide behind accuracy.

1 min read
On this page
  1. How it works
  2. The numbers
  3. Why it matters, by role
  4. How interviews test it
  5. Common confusions
  6. Related concepts
  7. Sources

How it works

  • TPRTrue positive rate. Of the answers the expert passed, the share the judge also passed. Read the full explanation (recall of passes) = both passed ÷ expert passes.
  • TNRTrue negative rate. Of the answers the expert failed, the share the judge also failed. Low TNR means a lenient judge. Read the full explanation = both failed ÷ expert fails.
  • Precision = true positives ÷ everything flagged positive.

Full lesson: Judge validation.

The numbers

  • Example: 160 expert passes, 40 fails; judge passes 150 and 20 → TPR ≈ 94%, TNR = 50%, accuracy 85%.

Why it matters, by role

  • Model PMProduct Manager. Decides what a product should do, for whom, and why. Read the full explanation: Judge validation.
  • AI Safety PM: Moderation quality: caught harm vs wrongful removal.

How interviews test it

Common confusions

  • Divide by the expert's counts, not the judge's.
  • Which error matters more depends on the product.

Sources

  • Explained from standard practice; taught in full in the Judge validation module.