When a decision space is small and its rules are explicit, an AI agent should enumerate it exactly and verify the answer. When the criteria are fuzzy, the agent should delegate to a typed judge and record the uncertainty. Most agent architectures do neither; they prompt and hope. A sealed, pre-registered exhibit now bounds what the judge branch of that rule can claim. Across 240 judge calls over two passes, the selection never flipped, yet the selected-option probability drifted pass to pass by a mean absolute change of 0.0245. A decision can be stable while the probability behind it is not, and the routing decision, not model quality, determines whether an agent’s choices are cheap, verifiable, and correct.
Table of contents
Contents
- What Does Exact Enumeration Look Like at Small Scale?
- How Do Rounding and Thresholding Lose Value?
- What Do Dual Prices Offer Capacity Planning?
- Where Do Typed Judges Win?
- What Routing Rule Should an Agent Apply?
- What Does a Sealed Exhibit Measure at the Boundary?
- What Caveats Bound the Claim?
- What Should an Agent Architecture Review Ask?
- References
What Does Exact Enumeration Look Like at Small Scale?
Exact enumeration at small scale means walking every candidate and keeping the provably best one.
The Blending Problem
An AI datacenter operator contracts power from three carbon-free resources. Solar is cheap in daylight hours and produces nothing at night. Wind is cheaper on average but volatile. Small-modular nuclear baseload is the most expensive per megawatt, yet it runs around the clock. Meeting demand while honoring an hourly carbon-free matching commitment is a blending problem, the classic operations-research question of combining inputs of varying cost and availability at least expense. The business setting follows Orrick (2025), which reports datacenter operators contracting power from mixed carbon-free portfolios.
In a three-resource illustration, the constraints are seven: three resource-capacity ceilings, one carbon-free floor that subsumes the hourly matching commitment, and three non-negativity bounds. Seven constraints taken three at a time produce C(7,3) = 35 candidate triples. Fifteen are singular systems with no unique intersection. Of the 20 that solve, ten fail a constraint and ten are feasible, and those ten deduplicate to seven distinct vertices. Exact enumeration over rational arithmetic walks all 35 triples, keeps the feasible seven, and returns the highest-value mix that honors the carbon-free floor (Figure 1). The result is provably correct because every candidate was checked.
def optimal_vertex(constraints, objective):
feasible_points = []
for triple in combinations(constraints, 3):
x = solve3x3(triple) # exact rational 3x3 solve
if x is None:
continue # singular system, no unique intersection
# feasibility guard: Ax <= b and x >= 0, exact arithmetic
if is_feasible(x, constraints):
feasible_points.append((x, dot(objective, x)))
return max(feasible_points, key=lambda p: p[1])enumerate.py,Why the Feasibility Filter Is Load-Bearing
An enumeration that skipped the feasibility check would score infeasible points, and constraint checking is exactly what a learned judge does not do by construction. Any reviewer can replay 35 checks in milliseconds, and the audit trail is the code itself. At small scale, exhaustive enumeration beats cleverness because it closes the decision instead of estimating it.
How Do Rounding and Thresholding Lose Value?
Rounding a discrete allocation and thresholding a judge score each lose value silently, through two mechanisms that fail differently. Integer-grid loss appears when discrete allocation is weighted by continuous values; rounding moves the plan off the optimum. Calibration loss appears when a judge score is thresholded at a cutoff such as 0.8. The failure sits at the boundary, where the score’s own uncertainty dominates, and no rounding is involved at all.
An agent that thresholds a judge score into a decision inherits the second mechanism silently. The remedies differ as much as the mechanisms. Integer-grid loss calls for re-solving on the lattice; calibration loss calls for consuming the probability as a probability, with the cutoff chosen against measured error rates. Routing fixes both: formal spaces go to enumeration, where no rounding exists; fuzzy spaces go to a judge whose recorded probability is consumed as a measurement, not thresholded as a promise.
What Do Dual Prices Offer Capacity Planning?
Enumeration and solving return something a judge cannot: dual prices, the marginal worth of each constraint. A dual price answers the question every capacity planner asks: what one more unit of a binding resource is worth. In the contract illustration, the dual price of the carbon-free floor is exactly the value each megawatt-hour of mandated clean supply adds over the unconstrained mix that ignores it. A slack constraint prices at zero, by complementary slackness.
An agent that routes small formal decisions to enumeration gets this reading for free. A typed judge, introduced below, returns a probability and no price, so capacity questions routed to the judge branch get a confidence but no marginal worth.
Where Do Typed Judges Win?
Judges win where no formal model exists: natural-language criteria, ordered preference levels, decisions that resist a constraint matrix. A typed judge answers three primitives:
- a yes-or-no probability
- a choice among named options
- a score on ordered levels
The answer arrives as a typed value (Code Snippet 2). Its probabilities object spreads one unit of probability across the options, and its confidence field is the judge’s stated confidence in its own verdict. The largest entry in probabilities is the selected-option probability; Table 3 reports that probability and the stated confidence as Selected Prob. and Stated Conf. Two properties matter in production: calibration, so the probability reads as a measurement, and a documented fallback envelope. A judge that returns a recorded fallback can be monitored; a silent fallback is indistinguishable from a skip.
{
"model": "jev-1.13.0",
"questions": {
"selection": {
"type": "choice",
"instructions": "Which candidate production plan ..."
}
},
"response": {
"answers": {
"selection": {
"choice": "B",
"confidence": 0.76,
"probabilities": {
"A": 0.02, "B": 0.81, "C": 0.08,
"D": 0.07, "E": 0.02
}
}
}
}
}ArchivedJudges remain probabilistic instruments. Shi et al. (2025) documented position bias across 15 large language model (LLM) judges and roughly 150,000 evaluation instances, with verdicts flipping when candidate order swaps. The response is measurement discipline: record the probability, monitor calibration against outcomes, and treat any single verdict as one draw from a distribution. That posture works for fuzzy decisions and is impossible for verifiable ones; the two belong in different branches of an architecture.
What Routing Rule Should an Agent Apply?
An agent should enumerate a small formal space exactly, hand a large formal one to a solver, and delegate the rest to a typed judge (Table 1). In the first branch, the feasibility check is visible in the code. In the second, a mixed-integer linear-programming (MILP) solver does the search, with the LLM confined to translating business language into constraints. In the third, the judge records the probability it returns.
| Branch | When to Use | Verification |
|---|---|---|
| Enumerate | Formalizable, small | Replayable audit trail |
| Formulate and solve | Formalizable, large | Solver log, dual prices |
| Typed judge | Not formalizable | Recorded probability, calibration monitoring |
Language models fit the formulator role. AhmadiTeshnizi et al. (2024) built OptiMUS to formulate and solve linear and mixed-integer programs from natural language, outperforming state-of-the-art methods by more than 20% on easy datasets and more than 30% on hard ones. Model strength is no substitute for routing. Industrial scale defeats the direct approach: Li et al. (2026) found that fine-tuned models scoring high on textbook benchmarks fall to 0-5.5% on industrial instances, and Fu et al. (2026) documented constraint omission on business briefs.
Stakes and reversibility set the escalation path. An enumerated or judged decision that crosses a reversibility boundary should halt for approval. The three-tier gate design in AI Approval Gates: Engineering Oversight at Machine Speed classifies each action at execution time, so routing composes with the escalation rule instead of duplicating it.
What Does a Sealed Exhibit Measure at the Boundary?
A sealed exhibit measures the stability of a real judge at the boundary (Clouatre, 2026).
Pre-Registration Pins the Question
The exhibit pre-registered its question, reading criterion, and endpoints before any call and pinned the model to jev-1.13.0, the typed judge under test. It then froze 120 three-variable menus stratified by relative optimality gap: easy, at least 20%; medium, 5-20%; hard, 0.5-5%. Each menu holds four feasible vertices plus one infeasible super-optimal decoy and carries no per-candidate objective values, so the judge must check feasibility itself.
The question, locked before any call, reads: “Which candidate production plan should be selected for this production decision, given the stated constraints and objective?” Two passes produced 240 calls, following the sealed-label pattern of What a Null Result Taught Us About AI Agent Evaluation.
A pinned judge is a scheduled liability. TypeSafe (2026) announced 60 days’ warning before this version’s formal deprecation, so version pinning needs a re-baselining policy, not a one-time freeze.
Endpoints and the Saturation Ceiling
| Endpoint | Result (Clouatre, 2026) | Reading |
|---|---|---|
| Both-call agreement | 120/120, Wilson 95% CI [0.969, 1.000] | Stable across passes |
| Infeasible decoy selected | 0/240 | Feasibility respected |
| Brier score | 0.0251 | Accurate probabilities |
| Expected calibration error | 0.1366 | Conservative probabilities |
| Position-bias check | Agreement 1.000 across positions | Order-insensitive (see text) |
The headline drift figure of 0.0245 is the mean absolute pass-to-pass change in the selected-option probability, computed in the archived post-hoc addendum (Table 4); Table 3 breaks down the underlying selected-option probabilities by stratum.
The instrument saturated: the judge answered all 120 problems correctly in both passes (Table 2), so the pre-specified stratum comparison (p = 1.0) is a ceiling artifact, not evidence of equal difficulty. The expected calibration error (ECE) of 0.1366 coexists with perfect accuracy because rankings stayed well separated while probabilities ran conservative, roughly 0.10-0.16 below accuracy within each stratum.
A Post-Hoc Confidence Gradient
A labeled post-hoc addendum found a graded confidence gradient in the same raw records (Table 3). Mean selected-option probability descends 0.894, 0.858, 0.838 across the strata; the S1-versus-S3 contrast, Welch t(155) = 4.63, p < 0.001. Figure 2 plots all 240 raw calls behind the stratum means.
| Stratum | Selected Prob., Mean (sd) | Stated Conf., Mean (sd) | Runner-Up | Entropy (bits) |
|---|---|---|---|---|
| Easy (S1) | 0.894 (0.071) | 0.867 (0.089) | 0.053 | 0.625 |
| Medium (S2) | 0.858 (0.079) | 0.821 (0.099) | 0.069 | 0.784 |
| Hard (S3) | 0.838 (0.082) | 0.797 (0.102) | 0.082 | 0.859 |
What Caveats Bound the Claim?
The exhibit supports a stability claim only. Two passes per problem cap that claim; the menus were pre-enumerated by the oracle, so nothing here tests the judge as an enumerator, and two passes do not calibrate the judge. The confidence gradient is between strata: within each one, a menu’s optimality gap is close to uncorrelated with its selected-option probability (r between -0.11 and 0.09), so the gradient does not predict confidence for a single menu. The position check varies only the candidate ordering defined in the archived protocol, so it bounds order sensitivity rather than replicating the systematic rotation of Shi et al. The tool exposes no temperature control, so provider defaults apply. The protocol author maintains the judge under test; the full protocol, raw records, and scripts are archived for independent verification.
The drift matters operationally (Table 4). A drift band is the mean absolute pass-to-pass change, 0.0245. On the archived records, 41 of the 240 calls fall below a hypothetical 0.8 escalation cutoff on the selected probability, and 27 more sit within one band above it. That is 68 of 240, roughly one call in four, close enough that drift alone could move it across, even though no selection ever flipped.
| Measure over the archived records | Reading | Value |
|---|---|---|
| Calls below the 0.80 cutoff | 17% of 240 calls | 41 |
| Calls within one drift band above the cutoff | Between 0.80 and 0.8245 | 27 |
| Calls at or near the cutoff | The two rows above combined | 68 of 240 |
| Problems with the same probability in both passes | 14% of 120 problems | 17 |
| Largest pass-to-pass change in probability | 4.5 drift bands | 0.11 |
Once a typed judge records a calibrated probability, the cutoff that turns it into an action is not a scoring question but a pricing one: it is the exact cost-matrix problem solved in When Accuracy Misleads: Cost Matrix Metrics and Thresholds.
What Should an Agent Architecture Review Ask?
- Which decisions are formalizable, and are they routed accordingly? Small and formal goes to exact enumeration; large and formal goes to a solver with the LLM as formulator; only what resists a constraint matrix goes to an LLM prompt.
- Is the feasibility check explicit in code? Where enumeration or solving is used, the feasibility guard must live in the source, not in model judgment.
- Are judge fallbacks logged and deprecations planned? A typed judge’s fallbacks must be recorded rather than silent, and version pinning pairs with a scheduled re-baselining.
- Is the judge’s probability consumed as a measurement? Record the output probability and calibrate it against outcomes instead of converting it into a hard verdict with an arbitrary cutoff.
- Does every branch pass a reversibility check? Irreversible actions halt at an approval gate, whichever branch routed them.
References
- AhmadiTeshnizi, A., Gao, W., Udell, M., “OptiMUS: Scalable Optimization Modeling with (MI)LP Solvers and Large Language Models” (2024) — https://arxiv.org/abs/2402.10172
- Clouatre, H., “Sealed Judge Enumeration Exhibit” (2026) — https://doi.org/10.5281/zenodo.23306444
- Fu, Y., et al., “Opti-Agent-Bench: Benchmarking End-to-End Optimization R&D Agents on Real-World Business Problems” (2026) — https://arxiv.org/abs/2607.10768
- Li, Z., et al., “Constructing Industrial-Scale Optimization Modeling Benchmark” (2026) — https://arxiv.org/abs/2602.10450
- Orrick, “Powering Data Centers” (2025) — https://www.orrick.com/en/Insights/2025/11/Powering-Data-Centers
- Shi, L., Ma, C., Liang, W., Diao, X., Ma, W., Vosoughi, S., “Judging the Judges: A Systematic Study of Position Bias in LLM-as-a-Judge” (2025) — https://aclanthology.org/2025.ijcnlp-long.18/
- TypeSafe, “Jev: For the builders AND dreamers” (2026) — https://typesafe.ai/blog/jev-1-14