Skip to content

TB4: define and surface verifier execution-timeout outcome #4986

Closed

Description

@mpatel31415

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

  1. Run a TB4 mini-SWE task whose agent finishes normally.
  2. Have the verifier command run beyond its configured execution timeout after it starts.
  3. 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

  1. AysajanE commented on Oct 30, 2026

    @AysajanE

    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:

    • ks-solver-cpp had 6 verifier timeouts in its 175 trials (3.4%). Its own verifier deadline is 180 seconds.
    • distributed-dedup had 4 in 175, with a 1,800-second deadline.
    • photonic-waveguide-routing had 1 in 175, with a 300-second deadline.

    None of the 11 has a recorded reward. The attached list gives each trial's job and trial id.

    northset-tb4-verifier-timeouts.tsv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions