Skip to content

How To Use Decision Models for Evals

Skip →Decision models as judges
main track #4corefrontierblogrubric 9/122026 · ~50 min

Hamel Husain, Antaripa Saha

Read first: On Calibration of Modern Neural Networks

Status

TL;DR. Hamel Husain and Antaripa Saha (Oct 20, 2026) ran six decision models on 98 labelled production traces from an apartment-leasing agent. Each model returns one number: the probability that a trace contains a failure. Their message is that a decision model is just a classifier, and the old ML evaluation workflow applies. Set minimum precision and recall for the use case, tune the threshold with cross-validation instead of trusting 0.50, compare cost against tuned performance, and check calibration before reading scores as probabilities. They released the scores, so this page reproduces the procedure and adds a re-analysis. Tuning matters most for models whose scores sit far from 0.50. Only OpenAI Decisions meets the 0.80/0.80 floors on held-out data, and n = 98 cannot separate most of the models.

Why it matters now. Decision models such as Jev and Perplexity Decider are marketed as a cheap replacement for LLM-as-a-judge, and their APIs ship with a default threshold of 0.50. For an IR researcher this is the relevance-judging problem again (UMBRELA): a probability per item, a cut-off and agreement with humans. This post is the clearest public worked example of evaluating such a judge, with data you can recompute.

Setup (post and footnotes). Production traces come from Nurture Boss’s leasing agent, which handles SMS and phone. 98 were scored: 61 contain a failure and 37 do not, so prevalence π=0.622\pi = 0.622. Of the failures, 39 come from the original human error analysis and 22 are discoveries by Braintrust and Arize agents that the authors validated by hand. The task is deliberately broad: whether the trace contains at least one substantive failure. The models were Jev 1.13, Perplexity Decider 1.1 27B, Liquid d1 and d1-ultra, Cloudflare Clef Flash, and OpenAI Decisions (GPT-6 Luna). All received the same text prompt except Jev, which got equivalent criteria in its structured question format.

Step 0: a score is not a decision. A model outputs si∈[0,1]s_i \in [0,1], and the API flags trace ii if si≥ts_i \ge t with t=0.5t = 0.5. With TP, FP and FN counted at threshold tt:

P(t)=TPTP+FP,R(t)=TPTP+FN,Fβ=(1+β2) P Rβ2P+R.P(t) = \frac{TP}{TP+FP}, \quad R(t) = \frac{TP}{TP+FN}, \quad F_\beta = \frac{(1+\beta^2)\,P\,R}{\beta^2 P + R}.

F1F_1 weights precision and recall equally; β<1\beta < 1 favours precision and β>1\beta > 1 favours recall. The post’s toy example shows why the default is a trap. If every failure scores 0.40 and every pass 0.10, the model is perfect at t=0.30t = 0.30 and catches nothing at t=0.50t = 0.50. The post’s own warning: “Using this default without checking it against your data can give you subpar results.”

Step 1: floors before optimisation. For an alerting use, the authors require P≥0.80P \ge 0.80 and R≥0.80R \ge 0.80. They read each model’s full-sample precision–recall curve and keep only models that have some threshold in the feasible region: Perplexity, d1-ultra and OpenAI. The other three remain in the charts, tuned without constraints, to show how much tuning moves them.

Step 2: tune the threshold out of sample. The tuning rule uses stratified 5-fold cross-validation repeated 20 times, so there are 100 training splits, and the same splits are used for every model. On each training split, pick the threshold that maximises F1F_1 among those meeting both floors. If none qualifies, record the split as infeasible and fall back to the unconstrained F1F_1 optimum. Then score the held-out fold, and average over all splits. Infeasible splits: 36/100 for Perplexity, 29 for d1-ultra and 0 for OpenAI. The procedure reuses saved scores, so tuning needs no new API calls. The post gives a prompt for a coding agent to do this.

Step 3: cost against tuned quality. Plot tuned held-out F1F_1 against API cost per 100 runs and draw the Pareto frontier: the cheapest model at each level of F1F_1. Only input tokens are billed. Latency is excluded from the comparison because it depends on batching, region and the vendor arrangement. Footnoted means from separate runs range from 1.56 s (d1-ultra) to 7.85 s (Perplexity).

Step 4: calibration, only if you will read the score as a probability. Sort scores into five groups of 19–20 traces and plot the mean score against the observed failure rate. Fit Platt scaling σ(a⋅logit⁡(s)+b)\sigma(a \cdot \operatorname{logit}(s) + b) out of fold and compare Brier scores before and after. The mechanics are covered on Calibration. A single strictly increasing calibration map does not change which sets of traces can be flagged at some threshold, because it preserves order. Isotonic fits can introduce ties, and out-of-fold calibration applies a different map per fold, so pooled order and bin membership are not guaranteed to stay the same.

Hamel and Saha's decision-model eval procedure, with a worked example Top: four steps in a row. Step 1 sets precision and recall floors of 0.80 and keeps only models whose full-sample precision-recall curve reaches the floors: Perplexity Decider, Liquid d1-ultra and OpenAI Decisions. Step 2 tunes the threshold with stratified five-fold cross-validation repeated 20 times, choosing on training folds and scoring on held-out folds; no threshold met the floors in 36, 29 and 0 of 100 training splits for the three candidates. Step 3 compares tuned F1 with cost: Perplexity 0.79 at 0.82 cents per 100 runs, OpenAI 0.87 at 3.72 cents. Step 4 checks calibration with five-group reliability diagrams and out-of-fold Platt scaling, judged by Brier score. Bottom: F1 bars for Perplexity Decider on the same 98 traces. Flagging every trace gives 0.767; the default threshold 0.50 gives 0.729, below that baseline; the best threshold 0.127 gives 0.825 in-sample; the cross-validated estimate is 0.787. The procedure (98 labelled traces, 61 failures) 1. Set floors P ≥ 0.80, R ≥ 0.80 read off full- sample PR curves keeps Perplexity, d1-ultra, OpenAI 2. Tune threshold 5-fold CV × 20 pick on train folds score on held-out no feasible thr in 36 / 29 / 0 of 100 3. F1 vs cost Perplexity: 0.79 at 0.82¢ / 100 runs OpenAI: 0.87 at 3.72¢ / 100 runs Pareto frontier 4. Calibrate 5-group reliability Platt on log-odds, out of fold judge by Brier; OpenAI got worse Perplexity Decider, same scores, different decisions (F1) flag every trace default thr 0.50 best thr 0.127 tuned, 5-fold CV 0.767 0.729 (below it) 0.825 in-sample 0.787 held-out bars start at F1 = 0; dashed line = flag-everything baseline
Original sketch. Top: the four steps with the post's numbers. Bottom: our recomputation for Perplexity Decider on the released scores. The default threshold is below the flag-everything baseline; the in-sample best threshold overstates what cross-validation recovers.

Post-reported, from the released chart-data.json. “Default” uses all 98 traces at 0.50, with no labels used to choose the threshold. “Tuned” is the cross-validated held-out mean; candidates were tuned under the floors and the others without constraints. Cost is in cents per 100 runs, with Liquid d1 repriced to the Oct 17 list price.

ModelDefault P / R / F1Tuned P / R / F1Mean tuned thr¢ / 100 runs
Jev 1.13.711 / .885 / .788.711 / .867 / .781.4841.90
Perplexity Decider 1.1 27B.848 / .639 / .729.754 / .825 / .787.1250.82
Liquid d1.778 / .459 / .577.697 / .923 / .794.0930.72
Liquid d1-ultra.803 / .803 / .803.759 / .817 / .787.4021.52
Clef Flash1.00 / .213 / .351.665 / .931 / .776.0531.58
OpenAI Decisions (GPT-6 Luna).786 / .902 / .840.869 / .862 / .865.7293.72

The authors’ reading: the three candidates gained less from tuning than d1 and Clef. Perplexity is the cheap end of the frontier (F1F_1 0.79 at 0.82¢), and OpenAI the top end (F1F_1 0.87 at about 4.5× the cost). In the calibration step, Perplexity, d1 and Clef moved toward the diagonal after Platt scaling; in one Clef group the mean prediction was about 8% while 60% of traces failed. Jev (Brier 0.187 → 0.188) and d1-ultra (0.173 → 0.172) were already well calibrated, while OpenAI got slightly worse (0.159 → 0.164). A refit on raw probabilities rather than log-odds gave OpenAI 0.154, so the fitting choice matters. In a small manual prompt experiment, a checklist of failure types moved Jev’s default-threshold F1F_1 from 0.78 to 0.80.

Our re-analysis of the same scores. All numbers in this paragraph and the next are our computation.

  • The baseline is high. Flagging every trace gives F1=122/159=0.767F_1 = 122/159 = 0.767 and a base-rate Brier score of π(1−π)=0.235\pi(1-\pi) = 0.235. Five of the six held-out F1F_1 values lie between 0.776 and 0.794, within 0.03 of that baseline. Ranking metrics separate the models more clearly. AUROC is .709 for Clef, .715 for d1, .765 for Jev, .795 for Perplexity, .813 for d1-ultra and .860 for OpenAI, and average precision runs from .802 to .906 against a chance level of .622.
  • Feasibility windows explain the infeasible splits. On the full sample, Perplexity meets both floors only at thresholds 0.127–0.175 (three distinct operating points), d1-ultra only at 0.475–0.525, and OpenAI at 0.60–0.81 (eight points). A window that narrow disappears when a fold of about 20 traces is removed, which is why Perplexity failed in 36% of splits and OpenAI never did.
  • The floors do not hold out of sample except for OpenAI. Held-out precision is 0.754 for Perplexity and 0.759 for d1-ultra. The post notes that minimums apply during selection only. With about 65 flagged traces, a Wilson 95% interval on precision is roughly ±0.10 wide, so a 0.80 floor cannot be certified at this sample size either way.
  • Agreement beyond chance is modest. Cohen’s κ against the labels at each model’s full-sample best threshold is 0.28–0.51 for five models and 0.67 for OpenAI.
  • The top model is not clearly separated. A paired bootstrap of the AUROC gap gives a 95% interval of about −0.01 to 0.15 for OpenAI minus Perplexity, and −0.02 to 0.12 for OpenAI minus d1-ultra.

Context: the earlier post. “Do Automated Evals Work?” (Saha and Husain, Jul 11, 2026) used the same traces with the original 39 human-labelled failures. It gave agentic error-analysis tools (Braintrust Loop, Arize Alyx, LangSmith, Codex, Factory Droid, Claude Code) the masked traces and a light prompt. Post-reported results: recall 74–87%, precision 77–91%, and 17–20 valid discoveries each that the human had missed. These discoveries are the source of the 22 extra labels. Every system missed the same class of failure: traces that look correct but fail the product’s goal, such as Markdown sent over SMS, giving up at the first sales objection, or missed handoffs required by property rules. That information is not in the trace. The authors connect this to criteria drift (Shankar et al., 2404.12272): you discover your criteria by grading outputs. They argue for keeping a human in the loop. The decision-model post inherits this. Its prompt tells the model to judge only on visible evidence, so failures that need outside context are out of reach for every judge, whatever its threshold.

Context: the wider comparison. Randal Olson’s analysis of the Artificial Analysis Decision Index (Oct 2026, figures as published by AA) finds that LLMs win clearly on knowledge and hard reasoning. Decision models are roughly even on safety classification and tool-call routing, and they answer in about 0.2 s against more than 1 s for a typical LLM. GPT-6 Luna as a decision model scores about the same as GPT-6 Luna as an LLM with reasoning off. The post uses this to suggest that harder eval tasks may justify an LLM.

  • One dataset, one broad question, n = 98. The authors say so themselves and tell readers to measure on their own data. The recommended practice of one judge per failure mode was not tested here. Narrow questions may shrink the gaps between models, as the post expects, or reorder them.
  • Selection on all data. Candidates came from full-sample PR curves, and the density plots show unconstrained tuning. The constrained averages also include fallback splits, so “candidate” means “feasible somewhere on these 98 traces”, not “meets the floors on new traces”.
  • Not a controlled comparison. Jev received a different prompt format. Latencies come from separate runs. Prices change weekly; d1 was repriced after the run.
  • F1 as the objective. The recap warns readers not to copy F1 just because the post used it. In practice the threshold should come from costs or from FβF_\beta (Thresholds and metrics).
  • Open: In the sources reviewed (Oct 2026), how stable is a tuned threshold under drift in traffic, prompt edits or vendor model updates? Does a decision model trained for calibration keep that calibration on agent traces, which are long, multi-turn and full of tool calls?
  • The post claims no novelty. It explicitly says that none of the ideas are new and points readers to standard ML textbooks. Its value is in applying them carefully to a new class of model, with the data released.

Questions to think through

These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.

  1. Derive / compute

    Perplexity Decider on the 98 traces (61 failures). At the default threshold 0.50 it flags 46 traces: 39 true failures, 7 false alarms. At threshold 0.127 it flags 65: 52 true failures, 13 false alarms. Compute precision, recall and F1 at both thresholds, compute F1 for a "judge" that flags every trace, and explain why the post reports 0.79 rather than the 0.825 you get at 0.127.

    What a strong answer covers
    • At 0.50: P = 39/46 ≈ 0.848, R = 39/61 ≈ 0.639, F1 = 2·39/(2·39 + 7 + 22) = 78/107 ≈ 0.729.
    • At 0.127: P = 52/65 = 0.80, R = 52/61 ≈ 0.852, F1 = 104/(104 + 13 + 9) = 104/126 ≈ 0.825.
    • Flag everything: P = 61/98 ≈ 0.622, R = 1, F1 = 122/159 ≈ 0.767. The default threshold is worse than this trivial baseline because prevalence is 62%.
    • 0.127 was found by looking at all 98 labels, so 0.825 is an optimistic in-sample number. The post picks a threshold on each training split and scores the held-out fold; that average (0.787) estimates what a tuned threshold achieves on new traces, and it is only 0.02 above flag-everything.
  2. Derive / compute

    Use the held-out results (per 98 traces): Perplexity flags 66.8 traces with recall 0.825; OpenAI Decisions flags 60.6 with recall 0.862. Costs are 0.82 and 3.72 cents per 100 runs. Compute the expected true and false flags per 98 traces for each, then decide which is cheaper overall if a human spends 2 minutes on every flagged trace at 60 dollars an hour and a missed failure costs 5 dollars.

    What a strong answer covers
    • Perplexity: TP ≈ 0.825·61 ≈ 50.3, FP ≈ 66.8 − 50.3 ≈ 16.5, misses ≈ 10.7. OpenAI: TP ≈ 0.862·61 ≈ 52.6, FP ≈ 60.6 − 52.6 ≈ 8.0, misses ≈ 8.4.
    • Review cost is 2 dollars per flag: Perplexity ≈ 133.6, OpenAI ≈ 121.1. Miss cost at 5 dollars: Perplexity ≈ 53.5, OpenAI ≈ 42.0.
    • Totals ≈ 187 vs 163 dollars per 98 traces in favour of OpenAI. The API price gap is about 0.03 dollars per 98 traces, roughly 800 times smaller.
    • Once human review or misses have any cost, the API price rarely decides the choice; the operating point does. The post's cost axis matters at very high volume or when no human looks at the flags.
  3. Mechanism

    Clef Flash at threshold 0.50 has precision 1.0 but recall 0.21, yet its AUROC is 0.71 and its tuned threshold is about 0.05. Explain how a model can rank failures reasonably and still look useless at 0.50, what tuning the threshold does and does not change, and why Platt scaling could not make Clef Flash meet the 0.80/0.80 floors.

    What a strong answer covers
    • Clef's scores are compressed toward 0 (mean 0.27 on failures, 0.10 on passes in our computation). Only 13 traces exceed 0.50, all failures, so precision is perfect and recall tiny.
    • AUROC and the precision-recall curve depend only on the order of scores. Moving the threshold picks a different point on the same curve; at 0.055 Clef catches 58 of 61 failures with 26 false alarms.
    • A single Platt fit is a strictly increasing map, so it keeps the order. It relabels which score corresponds to which operating point (and repairs the reliability diagram) but cannot add a point to the PR curve. (Isotonic ties or pooled per-fold fits can reorder or merge scores, but they cannot create better separation either.)
    • On the full sample no Clef threshold reaches both floors, so no recalibration can either. Only a better model or better prompt changes the ranking.
  4. What if…

    Ablate threshold tuning. Compare default-threshold F1 (no labels used) with cross-validated tuned F1 for each model: Jev 0.788 vs 0.781, d1-ultra 0.803 vs 0.787, Perplexity 0.729 vs 0.787, Liquid d1 0.577 vs 0.794, Clef Flash 0.351 vs 0.776. When does tuning help, when does it hurt, and why?

    What a strong answer covers
    • Tuning helps a lot when the vendor's scores sit far from 0.50 on this task (Liquid d1, Clef, Perplexity, whose tuned thresholds average 0.05–0.13).
    • For Jev and d1-ultra, 0.50 is already near the best point. Tuning then mainly adds noise from choosing a threshold on about 78 traces, and held-out F1 comes out slightly lower.
    • For d1-ultra the constrained tuning also fell back to unconstrained F1 in 29 of 100 splits, mixing two selection rules.
    • The default-threshold F1 is not optimistic, because no labels were used to choose 0.50. Differences of 0.01–0.02 are within noise (repeat-to-repeat SD 0.013–0.018, and sampling error is larger).
  5. Critique

    The post concludes that OpenAI Decisions had breakout performance on this task. Using the released scores and the setup details, list what the evidence supports and what it does not.

    What a strong answer covers
    • Supported: OpenAI has the highest AUROC (0.86 vs 0.71–0.81), the widest feasible threshold window (0.60–0.81) and the only held-out precision and recall both above 0.80.
    • Not established: a paired bootstrap of the AUROC gap to Perplexity gives a 95% interval of about −0.01 to 0.15 (our computation). On one dataset of 98 traces, the ranking among the other five is noise.
    • Selection effects: candidates were chosen from full-sample PR curves, and fallback splits stay in the averages. The held-out precision of Perplexity (0.75) and d1-ultra (0.76) is below the floor they were selected for.
    • Setup differences: Jev received a structured prompt rather than the shared text prompt, and latencies came from separate runs.
    • Label source: 22 of the 61 failures were discovered by LLM-based tools and then validated. Some human-only failures need context that is absent from the trace, which caps every trace-only judge's recall.
  6. Design

    You want to replace an LLM relevance judge (UMBRELA-style) with a decision model for building qrels on a new TREC-style collection. Adapt Hamel and Saha's procedure: what labels you need and how many, what floors and metric you would set, how you would tune and freeze the threshold, and what you would report.

    What a strong answer covers
    • Labels: human relevance labels on a stratified sample of pooled pairs. To get a Wilson half-width of about ±0.05 on precision near 0.8, you need about 1.96²·0.8·0.2/0.05² ≈ 250 flagged pairs, not 98 traces.
    • Metric: qrels feed system rankings, so state the cost of a false positive vs a missed relevant document (F-beta or explicit costs). Also report Cohen's κ and the system-ranking correlation (Kendall τ) against human qrels.
    • Tuning: choose the threshold on training folds, freeze it, and then score an untouched test set. One question per decision (relevance only), with grouping and prompt fixed during tuning.
    • Calibration: if P(relevant) will be summed or used to choose items for human re-checking, run the reliability check. Platt or isotonic fitting needs out-of-fold data, and it must be refitted if the prompt changes.
    • Report the default-threshold result next to the tuned result, the flag-everything and base-rate baselines, and CIs.

Done with this page?

Status