1.6 KiB
Prepare Terminal-Bench 2.1 Tasks
Complete the program and evaluator checkouts in ② Program and tasks, then run these commands from the repository root. This step prepares tasks and images without model calls.
Prepare the task checkout
mkdir -p runs/my-agent/tb21
git clone https://github.com/harbor-framework/terminal-bench-2-1.git runs/my-agent/tb21/tasks
git -C runs/my-agent/tb21/tasks checkout --detach 5c8eadf1f393183288fa08b8f73ca9a469cc5e00
For an existing checkout at this revision, reuse its path in the commands below.
Prepare the task images
uv run --project agentpilot/integrations/arena --no-sync python -m rsi_arena.benchmarks.tb21.closure_builder prepare \
--task-repository runs/my-agent/tb21/tasks \
--cache-dir runs/my-agent/tb21/cache \
--temp-dir runs/my-agent/tb21/cache/tmp \
--verifier-timeout-multiplier 2.0 \
--docker-host unix:///var/run/docker.sock
The first run downloads dependencies and builds images for the 89 tasks; later invocations reuse the cache. Keep enough disk space for the images and retained dependencies. Use the same Docker socket during setup and execution.
The output is runs/my-agent/tb21/cache/build/offline-verifier-authority.json. Continue to ③ Policy and model and use its Terminal-Bench setup command.
For cache repair or image transfer, see the offline environment reference and image bundle reference. Their commands use paths relative to arena/; use the absolute paths to your existing cache when following them.