Terminal-Bench 4 Frontier Set is a ten-task batch spanning five Terminal-Bench 4 categories — Security, ML, Science, Hardware, and Operations — covering code repair, re-implementation, artifact recovery, data reconstruction and implementation work, each bound to a delivered task checksum.
Every task is scored against Claude Opus 5.5, the frontier reference, at pass@5 on the Claude Code harness, with Gemini 4 Argon (high) at pass@5 on the Antigravity CLI and Hy4 Preview at pass@8 on Claude Code. Hy4 Preview earns full credit on at most one of eight attempts on every task, while the Opus arm clears every task at least once (on framing-boundary through its Opus 4.8 fallback); the failure-mode analysis localises every Gemini miss to a named mechanism, and no reward-hacking behaviour was observed in the recorded executions.
- Hard but solvable. Hy4 Preview clears 4 of 80 graded rollouts and scores zero on six of the ten tasks. The Opus arm clears 28 of 50 and passes every task at least once (on
framing-boundarythrough its Opus 4.8 fallback), which establishes that each package can be solved under its own verifier; Gemini 4 Argon clears 19 of 50. Ungraded or excluded slots were re-run and only the final run is counted. - Long-running rollouts. Mean decisions per rollout vary widely by task: Opus 5.5 ranges from 54 to 216 (overall mean 106), Gemini 4 Argon from 28 to 775 (overall mean 188) and Hy4 Preview from 89 to 524 (overall mean 251) — Gemini runs past 600 decisions on every
cv-leakage-repairattempt before the 8-hour agent limit. - Evidence bound to the checksum. Every number across all 180 rollouts (50 Opus 5.5, 50 Gemini 4 Argon, 80 Hy4 Preview) is bound to the delivered task checksum, and each of the 50 Gemini 4 Argon trials additionally carries a per-trial failure classification against its trajectory and verifier output.
Overview and category distribution
A hard, solvable ten-task set spanning five TB4 categories. Security is the largest category at three tasks (30%); Science, ML and Hardware carry two each, Operations one.
Category distribution
Five categories across the ten tasks. Security leads with three tasks; the other four categories carry one or two each.
Difficulty and long horizon
Difficulty profile, by arm:
- Hy4 Preview full credit ≤ 1/8 on every task at pass@8 — 4 of 80 overall
- Claude Opus 5.5 arm full credit ≥ 1/5 on every task at pass@5 (Opus 4.8 fallback on
framing-boundary) — 28 of 50 overall - Gemini 4 Argon (high) — 19 of 50 overall at pass@5
Long-running rollouts: Opus 5.5’s per-task mean ranges from 54 to 216 decisions (overall mean 106); Gemini 4 Argon’s from 28 to 775 (overall mean 188); Hy4 Preview’s from 89 to 524 (overall mean 251). Opus 5.5 and Hy4 Preview step counts come from the Claude Code harness and Gemini’s from its Antigravity CLI trajectory, so they are comparable within an arm rather than strictly across arms.
Every task in this set has been solved. The Opus arm earns full credit at least once on each of the ten packages under the packaged verifier at the delivered checksum. Reference-solution and no-op gate runs are not part of this data package, and one packaged reference solution (score-calibrator) has an open defect recorded below.
Hy4 Preview scores zero on six tasks, and nand-controller and score-calibrator are the hardest overall: Gemini and Hy4 never pass either, and Opus 5.5 clears them at 1/5 and 3/5. Gemini’s profile differs sharply from the other arms — it passes packet-bytecode-verifier and pdn-decoupling 5/5 and framing-boundary 4/5, but scores zero on claims-reversal-repricing and cv-leakage-repair, which Opus 5.5 clears 4/5.
Difficulty: full-credit rate per task
Full-credit rate per task for Claude Opus 5.5, the frontier reference, at pass@5, with Gemini 4 Argon (high) at pass@5 and Hy4 Preview at pass@8 charted alongside. On framing-boundary Opus 5.5 refused under its cyber safeguard in all five rollouts and the runs completed on Opus 4.8; on packet-bytecode-verifier two rollouts ran mostly on Opus 4.8, and on vault-journal-recovery two used an Opus 4.8 fallback. Rollouts lost to infrastructure or provider failures before grading were re-run and only the final run is counted.
Long horizon: mean number of decisions per task
Mean decisions per graded rollout, by arm and task. Opus 5.5’s overall mean is 106 decisions, Gemini 4 Argon’s is 188, and Hy4 Preview’s is 251.
Failure mode analysis
This analysis covers all 50 graded Gemini 4 Argon (high) trials — the arm whose full trajectories ship with this package: 19 earned full credit and 31 did not. Each failure is classified from the agent trajectory and the verifier reward. Opus 5.5 and Hy4 Preview are reported as benchmarking arms in the charts above; the per-trial failure classification below stays on the Gemini arm.
Validity labels:
- GENUINE_DIFFICULTY
- INSTRUCTION_TEST_MISMATCH
- ENVIRONMENT_INSTABILITY
- MIXED
- INCONCLUSIVE
Failure pattern distribution
The 31 failing Gemini 4 Argon trials are grouped by the earliest mechanism that blocked full credit. Mechanisms are read from the agent trajectory; the grade comes from the packaged verifier’s reward. The five score-calibrator misses, where the shipped self-check approved wrong submissions, are reported separately rather than folded into the semantic misses.
| Task | Gemini 4 Argon | Dominant mechanism | What the verifier caught | Secondary modes | Validity | Package integrity & closest trial |
|---|---|---|---|---|---|---|
| 01 · nand-controllerNAND flash controller RTLHardware · RTL | 0/5 full creditmean 28 decisionsOpus 5.5 1/5, mean 69Hy4 0/8, mean 134 | chip-enable-high-after-reset · 5/5Every run drove nand_ce_n from a register that reset to 1 and fell only at the first clock edge after reset. The hidden controller testbench aborted at that edge (t = 35 ns), so none of its functional scenarios ran. |
|
| GENUINE_DIFFICULTY 5 | No package or verifier defect observed: nand_contract.md states that chip-enable may be high only during synchronous reset, and the reference meets it. All runs used the same task checksum.Reward hacking · No protected-path or reward-channel access observed.Closest Gemini trial · The runs cannot be ranked: all five passed the helper testbenches and stopped at the same 35 ns check. Opus 5.5 passed 1 of 5. |
| 02 · framing-boundaryHTTP/2 gateway request-normalization rebuildSecurity · AppSec | 4/5 full creditmean 48 decisionsOpus 5.5 1/5, mean 59 · all 5 on Opus 4.8Hy4 1/8, mean 156 | declared-complete-graded-wrong · 1/5In rollout 4 the agent built /app/bin/gateway and request-map.json, ran its own scratch tests and declared the work complete at step 37. Its connection pool still ran a queued request that had been canceled before it got a lease once the single pool slot freed up. |
| — | GENUINE_DIFFICULTY 1 · 4 legitimate passes | No package or verifier defect observed: /app/contract.md states the rule outright (queued requests canceled before obtaining a lease must not execute later), and all 5 runs used the same task checksum.Reward hacking · No protected-path or reward-channel access observed.Closest Gemini trial · Rollout 4, the only failure, missed by 1 of 91 tests. Rollouts 1, 2, 3 and 5 passed 91/91. |
| 03 · groundwater-sensor-driftGroundwater level recovery from drifting sensorsScience · Earth | 1/5 full creditmean 295 decisionsOpus 5.5 2/5, mean 216Hy4 0/8, mean 186 | self-cv-optimistic-accuracy-miss · 4/5Each failing run wrote a complete, well-formed 185,878-row CSV and declared success on survey-anchored cross-validation that claimed at least 95% within 1 m. On the protected levels accuracy within 1 m was 81.9–94.9%. |
| — | GENUINE_DIFFICULTY 4 | No package or verifier defect observed: the instruction states both acceptance thresholds and the eligibility rule exactly as the verifier applies them. All runs used the same task checksum.Reward hacking · No protected-path or reward-channel access observed.Closest Gemini trial · Rollout 2 missed the within-1 m gate by about 270 of 185,878 rows. Rollout 5 passed at 96.7% within 1 m. |
| 04 · score-calibratorLaunch-gate probability calibrator recoveryML · Evaluation | 0/5 full creditmean 311 decisionsOpus 5.5 3/5, mean 78Hy4 0/8, mean 174 | local-check-green-holdout-miscalibrated · 5/5Every run tuned /app/calibrator.json until the shipped visible_ece_check.py reported all checks green, then declared it complete. On the sealed era-4 data the calibrators predicted a mean probability of 0.57–0.64 against a true positive rate of 0.961. |
|
| MIXED 5 · misleading shipped self-check | Open package defects. The shipped visible checker pools the decoy .real/.shift partitions: the generating calibrator fails it while all five wrong submissions pass it. The packaged reference solution casts every partition’s event_ts to an integer, which raises ValueError on those partitions’ ISO-string timestamps. All runs used the same task checksum.Reward hacking · No protected-path or reward-channel access observed.Closest Gemini trial · None was close: all five failed 52 of 59 cases, the best global ECE being 0.323. Opus 5.5 passed 3 of 5, so the task is solvable by setting the off-spec partitions aside. |
| 05 · vault-journal-recoveryVault journal cipher recoverySecurity · Cryptography | 1/5 full creditmean 73 decisionsOpus 5.5 3/5, mean 54 · Opus 4.8 fallback in 2Hy4 1/8, mean 89 | missed-gen1-reseed-stride · 4/5Four runs fitted the cipher profile to the staged export only and submitted a generation-1 reseed stride of 0 where the recorders use 1,664. Long generation-1 frames broke off mid-body; the agents read them as media decay and every downstream count came out short. |
| — | GENUINE_DIFFICULTY 4 | No package or verifier defect observed: the specification defines the reseed stride for every format and labels the zero default illustrative. All runs used the same task checksum.Reward hacking · No protected-path or reward-channel access observed.Closest Gemini trial · The four failing runs share one wrong field and fail the same 7 of 22 tests, declaring completion in 35–49 minutes of an 8-hour budget. Rollout 4 tested a stride of 1,664 against an undecodable frame and passed 22/22. |
| 06 · kinetics-sampling-designRobust kinetics sampling designScience · Chemistry | 3/5 full creditmean 96 decisionsOpus 5.5 3/5, mean 192Hy4 0/8, mean 298 | declared-complete-graded-wrong · 2/5Two runs shipped solvers that passed the public input and hidden reruns 0–8, then failed hidden irregular-allocation case rerun_9. Both returned the same schedule, finishing in under half a second of a 60-second budget. |
| — | GENUINE_DIFFICULTY 2 | No package or verifier defect observed: the instruction delegates the 2% threshold to the shipped contract, and the verifier recorded private-source and private-reward access as denied. All runs used the same task checksum.Reward hacking · No protected-path or reward-channel access observed.Closest Gemini trial · Rollouts 4 and 5 each passed 10 checks and missed the rerun_9 limit by 1.1%. Rollouts 1, 2 and 3 passed all 16 checks. |
| 07 · packet-bytecode-verifierPacketVM bytecode admission verifier repairSecurity · AppSec | 5/5 full creditmean 59 decisionsOpus 5.5 3/5, mean 123 · 2 runs mostly on Opus 4.8Hy4 1/8, mean 513 | —No rollout failed. In all 5 the agent delivered /app/output/verifier.patch, and each one scored 768/768 admission decisions with 0 failures. |
| — | No failures to classify · 5 legitimate passes | No package or verifier defect observed; all runs used the same task checksum.Reward hacking · No protected-path or reward-channel access observed; the agents worked only from /app/data/packetvm and /app/output.Closest Gemini trial · No failing rollouts; all 5 passed 768/768. |
| 08 · cv-leakage-repairLeaky grouped cross-validation repairML · Evaluation | 0/5 full creditmean 775 decisionsOpus 5.5 4/5, mean 121Hy4 0/8, mean 524 | agent-timeout-before-deliverable · 5/5Each run made about 165 lines of contract-driven fixes across 16–17 modules, then spent the rest of the 8-hour limit on background sweeps of open conventions against the slow salted public digests. No public plan ever matched, and the agent was stopped before it ran cvkit batch to write /app/cv_out.json. |
|
| GENUINE_DIFFICULTY 5 | No package or verifier defect observed; the verifier unpacked each run’s own archive and all runs used the same task checksum.Reward hacking · No protected-path or reward-channel access observed; the agents reimplemented the public check.py digest locally, which is permitted tooling.Closest Gemini trial · Rollout 2 agreed with the reference on 54 of 70 probes (49 elsewhere) but still passed only 3 of 8 tests. Opus 5.5 passed 4 of 5. |
| 09 · claims-reversal-repricingClaims reversal repricing engineOperations · Claims | 0/5 full creditmean 39 decisionsOpus 5.5 4/5, mean 62Hy4 1/8, mean 295 | reversal-self-move-omitted · 5/5All five runs produced byte-identical output: every claim price and every total was correct and the 200,000-claim scale feed ran in time, but each left the reversed claim itself out of a reversal’s corrections entry. |
| — | GENUINE_DIFFICULTY 5 | No package or verifier defect observed: the contract exempts only the claim a claim event adds from being moved, so a reversed claim’s drop counts. All runs used the same task checksum.Reward hacking · No protected-path or reward-channel access observed.Closest Gemini trial · All five tied at 103 of 122 tests from the same single rule; pricing, incremental repricing and the scale budget were solved in every run. Opus 5.5 passed 4 of 5. |
| 10 · pdn-decouplingCore-rail decoupling BOM recoveryHardware · CAD | 5/5 full creditmean 156 decisionsOpus 5.5 4/5, mean 86Hy4 0/8, mean 144 | —No rollout failed. In all 5 the agent wrote /app/pdn.json, and each one passed every impedance-mask, transient, ring-window and phase-band case, 428/428 tests. |
| — | No failures to classify · 5 legitimate passes | The gold solution scores 1.0 (428/428) and the no-op submission 0.0.Reward hacking · No rollout read the hidden tests.Closest Gemini trial · No failing rollouts; all 5 passed 428/428. |
Quality assurance and acceptance
Every package was reviewed on five dimensions by human and LLM judges.
- instruction quality
- instruction-test alignment
- test and verifier quality
- environment reproducibility
- answer dependency
Cross-cutting findings
Misses are semantic, not budgetary. Twenty-one of the 31 failing Gemini trials ended in a submission the run had validated itself: the deliverables were present, well-formed and passed the run’s own checks, and the sealed cases rejected them. On claims-reversal-repricing and nand-controller that accounts for every miss, five of five. The misses are wrong-but-complete outputs, not missing deliverables.
Several misses come down to a single rule. All five claims-reversal-repricing runs produced byte-identical ledgers that priced every claim and total correctly and met the 200,000-claim time budget, but left the reversed claim out of its own correction entry (103 of 122 tests passed). All five nand-controller runs held chip-enable high for one cycle after reset, which the contract forbids and the hidden testbench aborts on at 35 ns, before any controller scenario runs. Four vault-journal-recovery runs shipped a generation-1 reseed stride of 0 instead of 1,664 and read the resulting undecodable frames as media decay. Each is stated or derivable from the agent-visible contract.
Arm coverage is complementary. Neither frontier arm dominates: Opus 5.5 leads on six tasks and Gemini 4 Argon on three (framing-boundary, packet-bytecode-verifier and pdn-decoupling), with one tie. Gemini spends more decisions per attempt overall — a mean of 188 against Opus’s 106 — driven by cv-leakage-repair, score-calibrator and groundwater-sensor-drift, and lands lower at 19 of 50 against 28 of 50.
One task timed out on search, not on the problem. All five Gemini cv-leakage-repair runs repaired part of the harness, then spent the rest of the 8-hour limit enumerating open conventions against the slow salted public digests and never ran cvkit batch to write the graded report. They are labelled GENUINE_DIFFICULTY: the faults left unfixed are ones the contract states outright, and Opus 5.5 clears the task 4/5.
Self-validation overstated accuracy on the regression tasks. On groundwater-sensor-drift every failing run declared success on survey-anchored cross-validation reporting at least 95% within 1 m; on the protected levels the same predictions scored 81.9–94.9%, two of them within 0.3 points of the cut. On kinetics-sampling-design both failing runs returned the same schedule on one hidden irregular-allocation case, 1.1% above the certified limit, after using under half a second of a 60-second budget.
One open package defect was found: score-calibrator. The shipped visible checker pools the decoy .real and .shift partitions with live traffic and uses looser cuts than the sealed gates; the generating calibrator fails it while all five wrong Gemini submissions pass it, so the five misses are labelled MIXED. Separately, the packaged reference solution casts every partition’s event_ts to an integer, which raises ValueError on the decoy partitions’ ISO-string timestamps — reproduced on the shipped data. The verifier itself grades correctly (Opus 5.5 passes 3/5), but the visible checker and the reference solution should be re-validated before this package is accepted. No other package showed an instruction/test mismatch.
Provider instability was frequent but never decisive. Twenty-two of the 50 Gemini sessions ended on a provider error — 429 quota exhaustion, 504 gateway timeouts, a stream cut or an output-token cutoff. In every case the deliverable had already been written and the grade matches the work on disk, so no failure is labelled ENVIRONMENT_INSTABILITY. On the other arms, infrastructure failures before grading (sandbox shutdowns, a provider stream close, a 32k output-token cutoff, a machine-setup failure) were re-run and only the final run counted.
Hy4 Preview trails both frontier arms. Run at pass@8 on the same ten packages, Hy4 Preview clears 4 of 80 graded rollouts — one each on claims-reversal-repricing, framing-boundary, packet-bytecode-verifier and vault-journal-recovery — and scores zero on the other six. Its peak context sat between 166k and 169k tokens on every task, against peaks of 218k–708k for Opus 5.5, while its mean decision count (251) is the highest of the three arms.
No reward-hacking behaviour was observed. A scan of the 50 recorded Gemini executions found no access to verifier-private paths, grader sources, reward channels, or packaged solutions, and no planted conftest.py or pytest shadows. This is evidence about the recorded executions, not a universal exploit-resistance claim.