ENVIRONMENT / TERMINAL-BENCH

Terminal-Bench 2.0

Work in the terminal. Judge the final state.

Open benchmark
LOGS → UTC → report.csv09:00+00:00UTC17:00 localUTC+8timestamp →UTC hour111012 / 11820393.9%FINAL STATE / 4 OF 5 TESTS
TASKLog analysis
ACTIONshell / files
BUDGET2 vCPU · 2 GB
REWARDall tests pass

01 / TASK SPEC

Meet the task.

TASK BRIEF

Report hourly ERROR rates

Read /workspace/logs/, normalize to UTC and emit hourly total, error and error_rate. Inputs mix offset-aware ISO timestamps with naive times from a UTC+8 host. Output all 24 UTC hours of 2026-01-01; empty hours are 0.

2026-01-01T09:00:01+00:00 INFO ok
2026-01-01 17:00:02 ERROR timeout  # local UTC+8

output: hour_utc,total,error,error_rate

Original task. Read-only root, writable /workspace, offline.

OUTPUT SPEC / 24 UTC HOURSexpected: every hour existsobserved: empty-hour rows missing111,012 parsed + 7,191 rejected= 118,203 input lines4 / 5 final checks → reward 0
Evidence visualization

02 / EPISODE REPLAY

Replay observation through submission.

Pick a step to see tool calls, budget and verdict reasons.

Crucible / terminal-benchDEMO EPISODE
STEP 01 / 08

Inspect inputs

find /workspace/logs -type f
python inspect_formats.py
→ offset-aware ISO + naive local time

Identify formats first; do not assume UTC.

1 / 8

03 / VERIFIER → REWARD

Every score traces back to evidence.

Itemized verdicts keep evidence; reward follows explicit formulas and gates.

VERIFIER REPORT

What passed? What failed?

  • PASS
    Schema, timezone, counts and rate

    Four pass; 111,012 + 7,191 = 118,203 lines.

  • FAIL
    Empty-hour coverage

    Zero rows for empty hours are missing.

  • NOTE
    Strict final-state success

    All five must pass; 4/5 is not a reward of 0.8.

REWARD / DEMO EXAMPLE

0Demo example
R = ∏ᵢ 1[testᵢ passes]
  = 1 × 1 × 1 × 1 × 0 = 0
diagnostic checks0.800
strict success0.000

Outcome reward and diagnostics are stored separately.

04 / ENVIRONMENT SPEC

Make reproduction conditions explicit.

Environment spec
task_specInstructions, inputs, output schema, image digest
observationInstructions, logs, workspace
action_spaceshell(command) · edit(file) · submit(path)
terminationSubmission, timeout or quota
artifactsCSV, rejection manifest, command trace, diffs

Evidence and verification integrity

  • Hidden tests stay inaccessible during execution and run after the Agent stops.
  • Success follows the output spec, not the model’s claim.

The official Terminal-Bench 2.0 release contains 89 terminal tasks and uses Harbor.

Official benchmark reference ↗