Evaluation and QualityAnswerability, labels and datasetsPrincipal
How would you choose an answer-or-abstain threshold using risk, coverage and customer impact?
By Amit Kumar3 min readWorked answer includedReviewed 26 Sept 2026
The question
Interview question
A technical support assistant can answer, ask for a missing version, or abstain. Raising its confidence threshold makes the answers it gives more accurate, but now it refuses most difficult tickets. How should the team choose and evaluate the policy? One customer uses old manuals more often than everyone else.
Draft your approach first
Take a few minutes before you read the answer. Name the constraint that matters most, the failure you are designing for and how you would know it worked.
Reveal the worked answerWorked answer
Accuracy among answered requests is conditional on the model deciding to answer. It can reach 100 percent by answering only one easy question. Put coverage beside risk: coverage is the fraction of eligible questions answered, and selective risk is the error or unsupported-claim rate among those answered. Measure false abstention on questions with sufficient authorized evidence too. The selective prediction literature treats abstention as a decision with its own accuracy and coverage trade-off. For this product I would add “ask for a version” as a third action, because a useful clarification is different from a flat refusal.
Imagine 1,000 eligible requests in a hypothetical evaluation. At one threshold the system answers 700 and gets 35 wrong: coverage is 70 percent and selective error is 5 percent. At a stricter threshold it answers 500 and gets 10 wrong: coverage is 50 percent and selective error is 2 percent. The lower error rate costs 200 answered requests. Determine which were harmful guesses avoided and which were useful answers unnecessarily withheld before choosing the policy.
Build a held-out set with the question, user and version context, available authorized sources, answerability label, and a defensible answer or acceptable clarification. Separate cases with no source, conflicting sources, missing version, and genuinely answerable but hard reasoning. Score whether the policy chose the right action and, when it answered, whether every important claim was supported. A confidence number emitted by the same generator is not automatically a calibrated probability. Validate the actual score against outcomes, then tune thresholds on a calibration set and report performance on a separate evaluation set. Reusing the same set for many threshold changes invites overfitting.
I would choose a point on the risk-coverage curve from the product's cost of mistakes and missed help, not from a round number like 0.8. For a billing rule, an unsupported confident answer may cost much more than asking for a version. For a low-stakes navigation question, unnecessary abstention may cost more. Even if the service has one global policy, show curves by tenant, document age, source authority, language, and query type. The customer with old manuals might have a high aggregate abstention rate because the system lacks the requested versions, not because its users ask worse questions. Fix the coverage of the knowledge source if that is the cause. A threshold cannot create missing evidence.
If the team says “overall unsafe-answer rate fell,” check the denominator. Unsafe answers divided by all questions can fall simply because the system answers fewer. Report both unconditional harm per eligible request and harm among answered requests, plus useful resolutions after clarification. If a customer's slice is small, show uncertainty rather than declaring its threshold safe from three examples. Monitor shifts after release, because a newly updated manual changes what is answerable. The purpose of abstention is to make the right decision with the evidence available, not to hide difficult cases from the score.
Related questions
Keep practising evaluation and quality
Follow another question in this area, or search the complete library.
Get my essays on AI engineering and distributed systems by email. Subscribe to ArchCrux