Daily harness signal · October 25, 2026

Tune the threshold.
Keep the requirement.

One implementation lesson · Agent-evaluator acceptance

An agent can improve a judge’s headline score while quietly abandoning your minimum requirements. Tune from saved scores, but make “no acceptable threshold” a first-class result—not an invitation to relax the gate.

Fresh · Hamel Husain & Antaripa Saha · October 20, 2026

Separate optimization from permission to deploy

Use when

Your agent-trace evaluator already has reviewed binary labels and saved failure scores, but uses the default 0.50 cutoff or compares models without task-specific threshold selection.

Action

In separately authorized offline analysis, freeze the judge prompt, labels, score identities, and split manifest. Predeclare precision/recall floors and the optimization objective; 80% and F1 are the article’s example, not universal requirements. Use this adapted agent instruction:

“Reuse saved scores; make no model calls. For independent traces, use identical stratified five-fold splits across models. Select thresholds only on training folds and only when both floors pass. Otherwise return infeasible, without an unconstrained replacement. Report validation precision, recall, F1, below-floor flags, and the 0.50 baseline.”

Keep related traces together or use time-aware splits where needed. Reserve untouched final test data outside prompt, model, and threshold selection.

Acceptance check

Require disjoint training/validation identities, training-only threshold selection, per-fold confusion counts, and explicit infeasibility records. Do not hide failed folds by dropping them from the summary. An intentionally infeasible fixture must produce no accepted threshold; a feasible control must retain its valid candidate.

A training-feasible candidate that misses validation floors must remain visibly below requirements, not become “approved.” Retain inputs, splits, selected thresholds, metrics, and zero-call execution evidence. Deployment requires the predeclared held-out acceptance check, not a better development average.

Evidence

Husain and Saha publish the exact saved-score prompt and evaluation criteria. Their footnote 9 explicitly discloses that illustrative charts instead retain unconstrained fallback predictions from infeasible splits. That is transparent analysis, not proof that every candidate meets a deployment floor. Scikit-learn’s maintained guide independently supports task-specific thresholds and separate tuning data.

Caveat

The original conversations are private; candidate screening used full-sample curves. We did not inspect the linked score/audit JSON, recompute metrics, or run these fixtures. Finite-sample success does not guarantee future precision or recall; label quality and distribution shift still matter. Threshold selection does not calibrate probabilities. No model ranking, new evaluation, or automatic deployment is endorsed.

Compact source notes

  1. Hamel Husain and Antaripa Saha, How To Use Decision Models for Evals, October 20, 2026. Inspect “Tuning the decision threshold,” the appendix, and footnotes 3, 9 and 13. The published prompt forbids relaxing floors; the chart methodology explicitly differs.
  2. Scikit-learn threshold guide and cost-sensitive worked example, undated maintained documentation, retrieved today. The example’s final discussion cautions about unreliable small-sample offline estimates. Method support, not replication of the practitioner study.
  3. Source contracts: confidence_confirmed. Proposed integration procedure: confidence_likely, untested. Anchor lens: inspectable prompt and disclosed fallback. Unity lens: optimization cannot silently redefine acceptance. Accepted fallback, hidden infeasibility, data leakage, or a broken feasible control falsifies the proposed gate.