Release Gate Benchmark: Perfect Scores Hid a False Block
A metadata field the schema bars from release decisions made all three release gates block a valid release. Their perfect 24 of 24 scores missed it.
If you let automated checks decide whether a release ships, or you compare eval tools on a shared test set, a perfect score is easy to misread. When every tool passes every case, that proves each tool handles the cases someone wrote. It does not prove they are right, and it hides any mistake they all make. This post shows how to read that kind of top score, how to lock a comparison so a tie cannot be argued into a win, and a cheap extra test that catches a wrong rejection shared by every gate under test.
The tools here are release gates: programs that read test results and answer “ship” or “do not ship”. Three of them saw the same signed evidence (test results carrying a cryptographic signature, so any tampering is detectable). All three scored 24 out of 24. Then one extra test, written after the answers were known, made all three refuse a release they should have shipped. None of the perfect scores could have shown that.
Does a perfect eval score prove the gate is right?
No. A perfect score shows only that each tool handles the cases someone wrote. Here, three release gates each scored 24 of 24, yet one descriptive metadata field made all three block a release the owner’s contract allows. The schema says that field must not decide a release, and no case ever set it.
The benchmark setup: three gates, one written contract
The question was narrow on purpose: given the same signed evidence about a proposed AI release, which configured gate correctly allows or blocks it? It did not measure prompt generation, finding regressions in model output, or running an evaluation service.
Three gates were compared against the same written release policy:
- Intent Rollout Gate v1.0.0, a release gate we publish, run as released.
- Promptfoo 0.127.0, an open source eval tool, configured with deterministic assertions (fixed pass or fail checks, no model judging).
- DeepEval 4.3.7, an open source eval tool, configured with deterministic custom metrics.
The Promptfoo and DeepEval configurations, including their assertion sets, were written for this study by its gate implementers. Neither tool ships them. We (Intent) organized the comparison. That conflict is the main reason the protocol was written down before a single held-out case ran.
Each case is a packet of signed gate-result rows, one per job. Each row is a receipt (a machine-written record proving a job really ran). The release owner, the person who decides what may ship, wrote a three-paragraph contract that defines the right answer. Condensed, it says:
- A promotion needs a complete authenticated receipt from the build job and from the test job.
- Both required jobs must pass. No other job can substitute for either one.
- No reported failure or error is permitted from any submitted job, even a nonrequired one.
- Every submitted row must be attributable to the pre-admitted release signer.
- A missing signature, an altered payload, an invalid signature or an unadmitted signer blocks.
- The expected action is ALLOW exactly when all of the above hold, otherwise BLOCK.
Notice what is absent. Nothing in the full contract mentions metadata or a provider field. That absence matters later.
A separate case author wrote twelve synthetic matched pairs, 24 cases in all. They covered ordinary releases, subtle regressions already recorded in the evidence rows, incomplete evidence, and invalid authentication. Each scored candidate ran mounted alone and read-only, offline, without access to the answer key. One fresh process per case per gate, two rounds, shuffled with seeds 271828 and 271829, a 120-second timeout. Errors count as errors and nothing is retried. Three gates, 24 cases, two rounds: 144 raw records.
Before: three perfect scores and a tie
All three configurations allowed the 12 good releases, blocked the 12 unsafe ones, and repeated all 24 decisions in round two with zero errors.
| Gate | Median | p95 | Mean | Total CPU s (round one) | Modeled $/decision |
|---|---|---|---|---|---|
| Intent Rollout Gate 1.0.0 | 0.640 s | 0.973 s | 0.688 s | 13.62 | 0.000191 |
| Promptfoo 0.127.0 | 4.226 s | 6.545 s | 4.402 s | 107.66 | 0.001223 |
| DeepEval 4.3.7 | 7.240 s | 12.175 s | 8.237 s | 169.12 | 0.002288 |
Latency is per decision and includes process launch, signature verification, framework imports and policy evaluation. Modeled cost is mean wall time at an assumed $1 per serial host-hour. Everything ran offline, so external model and API charges were $0.
The latency gap is measured, but it is not a safety result. The protocol says so in advance. A comparative safety lead requires zero errors, complete repeatability, fewer bad releases allowed than each alternative, at most as many good releases blocked, and one-sided exact paired sign tests with Holm correction at familywise 0.05. Ties, or a latency advantage alone, do not count.
Here is the sign test from the scorer:
n = wins + losses
comparisons[alt] = dict(
unsafe_pair_wins=wins,
unsafe_pair_losses=losses,
p=sum(math.comb(n, k) for k in range(wins, n + 1)) / (2 ** n),
)
The non-obvious part is what happens at the ceiling. A “win” is an unsafe case one gate blocked and the other allowed. When every gate blocks every unsafe case, there are no discordant pairs, so n = 0. The sum collapses to comb(0, 0) / 2**0, which is exactly 1.0. Both comparisons came out p = 1.0 with zero discordant unsafe pairs, and comparative_safety_lead is false.
That p = 1.0 is the benchmark telling you something precise: these cases contain no information about which gate is safer. It is not saying the gates are equally good. It is saying the instrument cannot see a difference.
Locking the comparison before the labels were published
A tie is easy to talk your way out of after the fact. Add a case, drop a case, reweight the subtle regressions, and suddenly one gate leads. The protocol closed that door with a hash freeze and a fixed order, visible in the commit history:
- Protocol preregistered at 14:11 -06:00 (commit 4ef8488).
- Freeze (commit 8ebef9e):
freeze.jsonpins every case packet sha256, thepolicy.jsonandtrust.jsonhashes, every adapter source file, and a custodian commitment for the answer key. - Raw results sealed (hashed and committed before the labels were published):
records.jsonlwith 144 rows plusrecords.sha256, committed at 14:27 (commit 517c077). truth.json, the answer key, published at 14:28.
The scorer refuses to run if truth.json differs from the freeze commitment. So the labels cannot be changed to fit the results without breaking the frozen hash, and the raw results were on record before the labels were published. A fresh checkout on the original host reproduced all 144 verdicts. An independent engineer’s reproduction is still pending.
After: a control on a field the contract never mentions
After the same-host replays of the benchmark, we added an unscored development control (commit afa4c38). It takes two required, signed, passing gate-result rows. That is a release the contract plainly allows.
Baseline: all three gates allow.
Then the first row gains one field, metadata.provider = "stub", and both rows are re-signed with the same admitted key. Signatures valid, both jobs pass, no failures, right signer. Every condition in the contract still holds.
Result: every gate blocks the release. The Intent gate and the two study-written configurations agree, and all three are wrong.
The gate-result schema, a byte copy from intent-eval-core v0.12.1, is explicit about that field:
"metadata": {
"type": "object",
"description": "Tool-specific free-form metadata. Consumers MUST NOT use this for ship/no-ship decisions per § 7.4 line 818.",
"additionalProperties": true
}
The two study-written adapters show where their block comes from. Their normalizer lifts metadata into decision inputs:
return {"id": p["gate_id"], "decision": p["gate_decision"],
"provider": metadata.get("provider"),
"groundTruth": metadata.get("ground_truth")}
And both assertion sets then gate on it, Promptfoo first, then DeepEval:
["Measurement provenance",
'JSON.parse(output).rows.every(r => r.provider !== "stub" && r.groundTruth !== false)']
"Measurement provenance": lambda d: all(
r["provider"] != "stub" and r["groundTruth"] is not False for r in d["rows"]),
A “provenance” check that rejects stub providers sounds prudent. Under this contract it is a false block: the contract never asked about providers, and the schema forbids deciding on that field. The published control records the Intent gate’s verdict but not which of its rules fired, so we will not guess at its mechanism. Two gates demonstrably read the field, and for those two the fault is in the configuration written for this study, not in Promptfoo or DeepEval themselves. They also gate on ground_truth, a second metadata path this control did not exercise. All three made the same wrong call, possibly for different reasons.
Why did 24 of 24 miss it? All 79 gate-result rows across the 24 case packets omitted metadata. Not one case put a value in that field, so the case set could never catch a gate that reads it. Every gate matched the answer key while each had a blind spot for this field, and a blind spot no case touches scores as perfect.
Why not just write more cases?
The obvious fix is a bigger case set. It does not address the cause. The case author wrote cases from the contract, and the contract does not mention metadata, so a larger set drawn the same way keeps omitting it. You get more cases at the same ceiling.
The control that worked is different in kind: a metamorphic test. It holds fixed everything the contract cares about and changes only a field the policy says must not matter. That has a useful property: you know the right verdict without labeling anything. It is whatever the baseline was. Any flip is wrong by construction, and it is a failure the gates can share, which is exactly what a matched-pair comparison between them cannot detect.
The other obvious move, ranking on latency since safety tied, was ruled out before the run. The preregistered rule says a latency advantage alone does not establish superior safety.
What this does not show
The control was added after unblinding and is excluded from the preregistered scores. The preregistered result stands as written: a tie, no comparative safety lead. The benchmark does not measure production prevalence, hosted latency, or regression discovery, and we have no data on how often a real passing receipt carries a provider value like this one. An independent engineer’s reproduction is pending.
The control replays from the evidence directory:
python3 -B replay_control.py
Protocol, frozen inputs, the 144 raw records, scorer, and the metadata control are at https://github.com/intent-solutions-io/intent-eval-platform/tree/main/evidence/release-decisions-2026-12-04.
Frequently asked questions
Why does a sign test return p = 1.0 when every gate scores perfectly?
When every gate blocks every unsafe case, the gates never disagree, so the count of discordant pairs is zero and n = 0. The sign test sum then collapses to exactly 1.0. That p = 1.0 means the cases contain no information about which gate is safer. It does not mean the gates are equally good, only that the instrument cannot see a difference.
How do you test a field that a schema says must not decide a release?
Hold every input the contract cares about fixed, change only that field on a known-good input, and assert the verdict does not move. You do not need a label for this, because the right verdict is whatever the baseline returned. Any flip is wrong by construction.
Use this
- When every gate hits the ceiling (a ceiling effect), report it as “the case set no longer discriminates” and check for zero discordant pairs before claiming any lead.
- Preregister the lead rule, freeze inputs and the answer-key digest, and commit hashed raw results before publishing labels, so a tie cannot be argued into a win.
- For each field your schema or policy marks as non-decisional, add a control that changes only that field on a known-good input and assert the verdict does not move.
Related posts: