Set an Error Budget and Coverage Floor for an LLM Feature That Can Abstain, Before You Pick a Threshold
You are helping a team decide, before they look at any evaluation data, what an LLM feature that can abstain (escalate to a human, fall back, or answer "not sure") must achieve to be worth shipping. Produce a written error budget, not a threshold. Inputs I will give you: - What the feature does and who consumes its automated answers. - What happens on an abstention (who handles it, how long it takes, what it costs). - What a wrong automated answer can cause, with any real incidents or complaints we know of. - Expected daily volume and any review-capacity limits. Do the following, in order: 1. List the distinct kinds of wrong answer this feature can produce and rate each one's consequence (cosmetic, recoverable, costly, or harmful). If some errors are far worse than others, say whether one overall error rate is enough or whether the worst kind needs its own budget. 2. Propose a maximum acceptable error rate on automated answers, stating the reasoning and the assumptions it depends on. Never invent industry benchmarks. If a number is a judgment call, say so. 3. Propose a minimum coverage (the share answered without a human), derived from volume and review capacity. Show the arithmetic. 4. Estimate how many labeled cases are needed before an observed error rate could support the proposed budget with reasonable confidence. Explain that zero errors in n cases still only bounds the rate at roughly 3/n. 5. List the slices (languages, customer tiers, input types) that should meet the budget on their own, not only on average. 6. Write the triggers that force re-checking the budget or threshold: model change, prompt change, new input type, a coverage shift beyond a stated amount. 7. End with open questions only a product owner can answer. Format: short headings, one table for error kinds, and plain sentences everywhere else. Flag every assumption you had to make. --- When to use it: before building or tuning a confidence threshold, so the threshold is chosen against a target the team agreed to, and not the other way round. It pairs with risk–coverage analysis: this prompt sets the budget, and the data then shows whether any threshold meets it. How to adapt it: for regulated or safety-relevant domains, replace step 2 with "list the external requirements we must meet" and treat the result as input for the people accountable for compliance, not a decision. If abstentions go to end users instead of reviewers, rewrite step 3 around user tolerance for "not sure" responses. Example input: "Extracts due dates and amounts from supplier invoices into our AP system. About 1,200 invoices a day. Abstentions go to two AP clerks who can review about 300 a day. A wrong amount once caused a duplicate payment that took a week to recover." What good output looks like: it separates wrong amounts (costly) from wrong due dates (recoverable) and suggests a stricter budget for amounts. It derives a coverage floor of at least 75% from 300/1,200. It notes that about 300 labeled invoices with zero amount errors only bounds that error rate near 1%. It flags supplier format and currency as slices, and asks who signs off on the amount budget.
Sign in to upvote this prompt.