← Back to the blog
Updated
  • Evaluation
  • LLM

How I decided when an AI that filters job postings should send an alert

Criba's AI scores job postings and alerts two people. Switching models changed what the scores meant, so I set the threshold from what one of them decided.

Criba's AI judge is the model that scores each job posting from 0 to 100. When I moved it from Gemini to Claude Sonnet, its alert thresholds stopped meaning what they used to. I chose where to set them again from what people decided, not from another judge. A report built from those decisions said to raise one of them from 60 to 80, and I kept it at 60.

Criba alerts two people whenever a job posting matches their profile. Fixed rules eliminate some postings first, and the judge scores the rest against each person's profile. Each person has their own threshold, the lowest score that triggers an alert. At the start the two were 70 and 80, chosen while the judge was Gemini.

Two judges, the same 10 postings, no decision in common

Before switching, I selected the 10 postings Gemini had scored highest and gave them to Sonnet with the same prompt (the written instructions the judge follows).

The scores weren't close: Sonnet scored those 10 postings 36.8 points lower on average, more than a third of the whole scale. The decisions didn't match either. Every one of the 10 landed on one side of the alert threshold under one judge and on the opposite side under the other. A drop of 36.8 points almost explains that by itself, so the second finding isn't independent evidence.

The sample was biased, so the experiment can't say which judge is better

The experiment had three flaws:

  • a single run over only 10 postings;
  • no raw outputs kept;
  • a sample biased from the beginning.

The bias comes from how I selected the postings. If you keep the 10 that one judge scored highest, you also keep some that scored high by chance, and a second opinion will usually score them lower. This happens even when the second judge is equally accurate, and it's called regression to the mean.

Regression to the mean can explain part of the 36.8-point drop, perhaps not all of it. Re-scoring them with Gemini, which I didn't do, would measure the chance part, but not the part that comes from Gemini in particular liking those postings.

Thresholds had to be measured again anyway

For my question the experiment was enough: I could no longer assume that a 70 from Sonnet meant what a 70 from Gemini meant.

A judge's score depends on the posting, the prompt and the model together. If any one of them changes, every threshold built on that score has to be measured again. I lowered the thresholds from 70 and 80 to 50 and 60, and treated them as temporary values until I could measure them properly.

Each person's decisions are the reference

Alerts arrive in a channel the two people share. Usually each person reacts to their own alerts, but either can react to any alert. Criba records each reaction, yes or no, as the decision of whoever made it.

From those decisions I designed a threshold report. It groups postings by band, such as 70 to 79, and counts the person's yeses in each band. Each posting goes into the band of the score the judge gave that person. The last band groups everything at 80 and above.

The report follows two rules. First, it suggests nothing about a band with fewer than 10 decisions, because with so few, chance outweighs the signal. Second, under the 25% rule, a band stays above the threshold only if the person said yes to at least 1 in 4 of its postings. When a band falls short, the report suggests raising the threshold above it.

The report said 80, and the threshold stayed at 60

The first run used the decisions the first person had made by October 9, 2026, when this post was first published. Below 60 this person has almost only decided on alerts sent for the other person, which aren't a representative sample, so the table starts at 60.

Band Said yes Share 95% interval
60–69 1 of 12 8% 1–35%
70–79 5 of 25 20% 9–39%
80+ 7 of 13 54% 29–77%

Note: each interval is a 95% Wilson interval, calculated from these counts.

The share of yeses rises from 8% to 20% to 54%. The score appears to track what this person wants, although the intervals of the first two bands overlap almost completely.

To work one band out by hand, take 70–79: the person received 25 alerts in that band and said yes to 5. That is 1 in 5, while the rule requires 1 in 4, so the band fails. The 60–69 band falls short as well and only the band at 80 and above passes, so the report suggested raising the threshold from 60 to 80.

I kept the threshold at 60 for two reasons. The first is cost: of the 13 yeses in the table, 6 scored between 60 and 79. At a threshold of 80, none of those 6 would have reached this person as an alert, and they are nearly half of this person's yeses. Keeping both bands costs 31 alerts they said no to, against those 6 yeses.

The second reason is sample size. With only 25 decisions, the true share of the 70–79 band could be anywhere from 9% to 39%. That range includes the rule's 1 in 4, so I can't claim the band sits below it; 20% is only my best estimate.

The report reruns as new decisions accumulate; later runs, with more decisions, are in the Criba case study.

Rerun against a frozen set, the judge fell short of the minimum

Later, on October 17, I wanted to evaluate the judge itself, not only its threshold. I froze a set of 103 postings the two people had already decided on: 23 yeses and 80 noes. Each case keeps the text the judge read and the profile it was compared with, so later edits can't alter the set. It also keeps the stored score: the one the judge gave in production when the alert went out.

Before running it, I wrote down the minimum it needed to pass. The judge had to score at least 75% of the yeses at or above the threshold, and at least 20% of the noes below it. The second figure is deliberately low: the minimum mainly protects the yeses, for the same reason I kept the threshold at 60.

I asked the production judge about the same postings again, with the same model and instructions, and it fell short. It scored 11 of the 23 yeses at or above the threshold, or 48%, where the stored scores had managed 20 of the 23, or 87%. With so few cases, the rerun's true rate could be anywhere from 29% to 67%, and even the top of that range falls short of 75%.

The noes cleared their minimum easily: 64 of 80 scored below the threshold in the rerun. That doesn't show the judge separates yeses from noes any better. Under the stored scores, only 23 of the 80 noes had been below the threshold. Those noes, and the 3 yeses the stored scores had left below it, had all been decided on an alert sent for the other person. The judge had scored them above that person's threshold and below this one's.

That 87% was nearly built in: a posting only got a decision if its stored score had already passed someone's threshold. Selection inflates it, the same regression to the mean as in the first experiment.

I left the minimum alone after seeing the result, but I can't conclude the judge got worse either. Besides the bias in that 87%, three causes are mixed together:

  • one person's profile changed after part of the stored scores were recorded;
  • the rerun sends postings in much larger batches than production does;
  • I haven't measured yet how much two runs of the same judge differ.

Until I separate those causes, I don't know whether the judge changed, and no change of judge goes to production.

Measure the threshold again after any change

  • After any change to the model, the prompt or the way the judge is asked, measure the threshold again before you trust it.
  • Measure it against what people actually decide, band by band.
  • Before you move a threshold, check how many decisions you have and what the move would cost.

This reading has limits. The table covers a single person. Decisions only exist for postings that reached someone as an alert. So the report can say a threshold should go up, but not what is missed below it.

Next, I want to label a sample of postings below the threshold, so the report can estimate what it misses. I also want to separate the possible causes behind the rerun the judge failed.