Calculate TPR and TNR for This Judge
The interviewer asksExperts labelled 200 answers: 160 pass, 40 fail. The judge passed 150 of the 160 expert-passes and 20 of the 40 expert-fails. Is the judge good enough?
Model PMApplied AI PMAI Safety PM (secondary)CoreTechnical roundRepresentative5 min
On this page
The 30-second version
- TPR = 150 ÷ 160 ≈ 94%: it passes good answers.
- TNR = 20 ÷ 40 = 50%: it passes half the bad answers.
- Accuracy = 170 ÷ 200 = 85%, which hides the problem.
- Not good enough: it's too lenient, the dangerous direction.
- Read the 20 false passes and tighten the criterion; re-measure on held-out labels.
What it's really testing
- Computing TPR and TNR
- Why accuracy misleads
- Acting on the result
How to structure your answer
- Compute.
- Interpret.
- Decide.
- Next steps.
The interview, played out
- InterviewerExperts labelled 200 answers: 160 pass, 40 fail. The judge passed 150 of the 160 expert-passes and 20 of the 40 expert-fails. Is the judge good enough?
- CandidateTPRTrue positive rate. Of the answers the expert passed, the share the judge also passed. Read the full explanation is the share of expert-passes the judge also passes: 150 out of 160, about 94%. 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 is the share of expert-fails the judge also fails. It passed 20 of the 40 fails, so it failed the other 20: 20 out of 40, 50%.
- Strong moveUses the expert's column as the denominator each time.
- CandidateOverall accuracy is 170 out of 200, 85%, which sounds fine but hides that it lets half the bad answers through.
- InterviewerSo?
- CandidateNot good enough. A judge that misses half of the failures is too lenient; whatever it's gating, it would let bad versions through.
- InterviewerWhat next?
- CandidateRead the 20 answers it wrongly passed and see what they share, tighten that criterion, then re-measure on labels it hasn't been tuned on.
The strong answer, distilled
- TPR: 150/160 ≈ 94%.
- TNR: 20/40 = 50%.
- Accuracy: 85%, misleading.
- Verdict: too lenient; not fit to gate releases.
- Next: read the 20 false passes, fix the criterion, re-measure on held-out labels.
This is one strong answer, not the only one.
How it's scored
| Dimension | Weak (2) | Passable (3) | Strong (5) |
|---|---|---|---|
| Calculation | Wrong | One right | Both right |
| Interpretation | Accuracy looks fine | Notes low TNR | Explains why low TNR is dangerous |
| Next steps | None | Improve prompt | Read false passes; re-measure on held-out labels |
Round scorecard: Model PM: technical round, filled in for the mock candidate
| Dimension | Weak | Passable | Strong | The mock candidate |
|---|---|---|---|---|
| Problem framing | Jumps to a method before saying what decision the eval supports. | States the goal, but not who acts on the result or what threshold matters. | Names the decision, the owner and the cost of each kind of error before choosing a method. | Strong. Asked what the judge is used for. |
| Measurement rigour | Reports one accuracy number, or trusts the metric without checking it. | Uses the right metrics but misses how the labels or splits could mislead. | Separates error types, uses held-out labels, and says how they'd catch fooling themselves. | Strong. Correct TPR and TNR with right denominators. |
| Technical depth | Uses terms loosely; can't say how the method works. | Explains the method correctly when asked. | Explains the mechanism unprompted and knows where it breaks. | Strong. Explained why accuracy misleads here. |
| Judgment and trade-offs | Treats every option as equally good, or picks one without reasons. | Names trade-offs but doesn't commit. | Commits to a choice, states the trade-off accepted, and what would change their mind. | Strong. Clear verdict and next steps. |
| Communication | Hard to follow; no structure. | Structured, but long or missing a summary. | Signposts the plan, checks in, and lands a clear recommendation. | Strong. Showed working. |
How the answer changes by role
| Role | What to emphasise |
|---|---|
| Model PMProduct Manager. Decides what a product should do, for whom, and why. Read the full explanation | Whether the judge can gate releases |
| Applied AI PM | What the lenient judge means for product quality claims |
| AI Safety PM | Why leniency matters most for harmful outputs |
Common mistakes
- Dividing by the judge's counts
- Accepting 85% accuracy
- Re-measuring on the tuning set
More follow-ups to practise
- "Only 40 fails is a small number." Hint: margin of error on TNR is wide; label more fails.
- "Experts themselves disagree on some." Hint: check expert agreement first.
Go deeper
- Module: Judge validation
- Framework: Eval Plan Framework
- Framework: Explain a Concept Framework
- Framework: Opening Any Interview Answer
- Lesson: TPR and TNR: is the judge right?
- Also tests: Eval plans and release gates
Sources
Representative question: written to match technical rounds for AI product roles, not a specific reported interview.