productinterview.tools
MenuClose

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
  1. The 30-second version
  2. What it's really testing
  3. How to structure your answer
  4. The interview, played out
  5. The strong answer, distilled
  6. How it's scored
  7. How the answer changes by role
  8. Common mistakes
  9. More follow-ups to practise
  10. Go deeper
  11. Sources

The 30-second version

  1. TPR = 150 ÷ 160 ≈ 94%: it passes good answers.
  2. TNR = 20 ÷ 40 = 50%: it passes half the bad answers.
  3. Accuracy = 170 ÷ 200 = 85%, which hides the problem.
  4. Not good enough: it's too lenient, the dangerous direction.
  5. Read the 20 false passes and tighten the criterion; re-measure on held-out labels.

Watch it played outSee the strong answerHow it's scored

What it's really testing

  • Computing TPR and TNR
  • Why accuracy misleads
  • Acting on the result

How to structure your answer

  1. Compute.
  2. Interpret.
  3. Decide.
  4. Next steps.

The interview, played out

A written example interview, not a real candidate or company transcript.Strong move
  1. Interviewer
    Experts 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?
  2. Candidate
    TPRTrue 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%.
  3. Strong move
    Uses the expert's column as the denominator each time.
  4. Candidate
    Overall accuracy is 170 out of 200, 85%, which sounds fine but hides that it lets half the bad answers through.
  5. Interviewer
    So?
  6. Candidate
    Not good enough. A judge that misses half of the failures is too lenient; whatever it's gating, it would let bad versions through.
  7. Interviewer
    What next?
  8. Candidate
    Read 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

DimensionWeakPassableStrongThe mock candidate
Problem framingJumps 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 rigourReports 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 depthUses 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-offsTreats 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.
CommunicationHard 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

Sources

Representative question: written to match technical rounds for AI product roles, not a specific reported interview.