AAmit’s LibraryLEARN · PRACTISE · REFLECT

Machine learning and probability · Worked lesson

When better precision overloads the review queue

Start here: You need percentages and the idea that two conditional probabilities can have different denominators. The scenarios are invented. An alert is a prediction, a call is an action, and a recorded return is an observed outcome. Do not treat them as interchangeable.

The decision is not “which score is highest?”

A repair shop can make at most 50 follow-up calls per 1,000 completed jobs. A score uses only information available at job completion, before the 14-day outcome window begins. In this synthetic planning replay, the score does not trigger calls. To compare two thresholds, count each job once after its outcome window is complete. The strict threshold's alerts are a subset of the broad threshold's alerts.

Scroll the table to see all six columns.

Alert outcomes after complete follow-up
ThresholdCorrect alerts among 20 return jobsFalse alerts among 980 other jobsCalls if every alert is calledPrecisionReturns missed
Broad18496718/67 ≈ 26.9%2
Strict14203414/34 ≈ 41.2%6

Precision asks: among alerts, how many jobs returned? Recall asks: among return jobs, how many were alerted? Reading 18 out of 67 and 18 out of 20 answers two different questions. An always-negative rule is 98% accurate here but catches none of the returns. Its precision is undefined because it produces no alerts.

Only strict fits the call budget in this trial. It misses four more return jobs than broad, while reducing false alerts by 29. That is a staffing tradeoff, not evidence that calls prevent returns.

What if you fill the remaining 16 slots?

The 67 broad alerts include all 34 strict alerts. Therefore the broad-only group has 33 jobs, with four returns and 29 nonreturns. After prioritizing the 34 strict alerts, there is room to call 16 of those 33.

The table does not show where the four returns sit in any ranking. From these totals alone, choosing 16 could catch zero to four additional return jobs. The resulting precision could range from 14/50 to 18/50 (28% to 36%), and recall from 14/20 to 18/20 (70% to 90%). These are bounds from the counts, not a forecast for a particular ranking. Specify the tie rule before using the ranking, then evaluate it on fresh data. Do not sort using the return outcome.

Stress-test the same thresholds at a different base rate

Now suppose the expected mix changes from 20 to 100 return jobs per 1,000. For planning only, assume each threshold’s recall and false-alert rate stay at their earlier values. Broad recall is 18/20 and its false-alert rate is 49/980. Strict recall is 14/20 and its false-alert rate is 20/980.

Scroll the table to see all six columns.

Expected alert outcomes at a 10% return rate
ThresholdExpected correct alertsExpected false alertsExpected callsExpected precisionExpected returns missed
Broad904513590/135 ≈ 66.7%10
Strict7018.3788.3770/88.37 ≈ 79.2%30

The fractions are expectations across comparable batches, not promises or partial people. For example, strict expects 70 correct alerts because 100 × 14/20 = 70, and about 18.37 false alerts because 900 × 20/980 ≈ 18.37. Expected precision here means the ratio of expected correct alerts to expected total alerts, not a promise about one realised batch.

Both thresholds look better by precision, but neither fits 50 calls. A higher share of genuine alerts does not mean fewer alerts. With these rates, true alerts grow faster as the return share rises than false alerts shrink. The same denominator logic as Bayes’ rule explains why more of the alerts are genuine. It does not tell us whether staff can clear the queue.

Plan a threshold without peeking at the final test

  1. Define the outcome, eligible jobs and the full observation window before comparing thresholds.
  2. Use a development dataset to try thresholds and workload rules. Do not select the threshold from the final test outcomes.
  3. Check the resulting choice on an untouched later batch. Report the return mix, recall, precision, projected calls and missed returns. An expected workload below 50 is not a guarantee; volumes and rates vary.
  4. If neither list fits, test a ranked first-50 policy, allocate more staff, or narrow the action. Design a first-50 policy on development data, then test that fixed rule on a fresh batch. You cannot assume all additional missed alerts are false. Recheck rates when case mix or operations change.

Try it yourself

Suppose the strict rates stay fixed and 40 of the next 1,000 jobs are expected to return. Find expected calls. Would the expectation fit the limit?

Check your answer

Expected correct alerts: 40 × 14/20 = 28. Expected false alerts: 960 × 20/980 ≈ 19.59. Expected calls: about 47.59, so the expectation fits. This is not proof the actual queue fits; leave room for variation and separately check the expected 12 missed returns.

Glossary

base rate
is the prevalence of an outcome in the eligible group.
false-alert rate
divides false alerts by jobs without the outcome, not by all alerts.
Precision
divides correct alerts by all alerts.
Recall
divides correct alerts by all jobs with the outcome.
capacity limit
constrains actions, not a model’s score.