Repository navigation
Description
Describe the issue
Terminal-Bench 4 can finish an agent trajectory, start verification, then time out while the verifier is executing. In one 66-input full evaluation, an agent completed 254 turns, but its 180-second verifier ended with VerifierTimeoutError and evaluation_completed=false. That task had no usable grade and was excluded from the native aggregate. The recorded conditional result consequently used 64 included tasks, not all 66 inputs.
This is a verifier execution timeout, not a verifier sandbox start timeout. PR #4230 improves the failure label; PR #4846 explicitly retries start timeouts and no-trajectory agent infrastructure failures. Neither description establishes the intended retry/scoring contract for this execution-timeout case.
Steps/Code to reproduce
- Run a TB4 mini-SWE task whose agent finishes normally.
- Have the verifier command run beyond its configured execution timeout after it starts.
- Inspect the final response, failure sidecar, native aggregate and expected-input count. The affected task is ungraded/excluded after the timeout, even though the agent phase completed.
A synthetic slow verifier suffices; private task content is not needed. The observed response had VerifierTimeoutError, evaluation_completed=false, agent termination completed, and no transport failure evidence.
Expected behavior / decision needed
- Define whether a verifier execution timeout is retryable infrastructure, a final unscored attempt, or a valid model zero under the TB4 contract. Do not silently turn an unverified task into a zero or a success.
- Preserve the completed agent trajectory and an explicit verifier-phase cause through final serialization and native aggregation. Surface the omitted task identity and input-versus-graded counts so a conditional score cannot be mistaken for full coverage.
- Test this case separately from verifier start timeout and from a valid verifier-completed zero. Keep retries bounded and avoid repeating a mutating verifier without a defined replay policy.
Configs and environment
TB4 mini-SWE with a 180-second verifier execution budget. Related general failure-contract work: #4883 and TB2.1 verifier issue #4571. This report is specific to the TB4 execution-timeout path. Private run paths and task payloads are not attached.
Activity
fix(terminal_bench_4): score a verifier that times out or leaves no r…
AysajanE commentedon Oct 30, 2026
Here is a data point for the open question in the TB4 README about how often verifier timeouts occur on real workloads. On the public Terminal-Bench 4.0 leaderboard on Harbor Hub (35 rows, 11,550 trials), 11 trials ended with
VerifierTimeoutError, about 0.1%. They fall in three tasks:None of the 11 has a recorded reward. The attached list gives each trial's job and trial id.
northset-tb4-verifier-timeouts.tsv