Skip to content

The first exam for code agents in the physical world: frozen robot tasks from many benchmark suites, each answered with a program and verified in a separate sandbox. Runs on Harbor.

707 B
Raw Blame
#!/bin/bash
# Verifier: replay /app/output/trajectory.npz twice, each in a fresh process, from the frozen instance (the tests/ copy).
# Writes /logs/verifier/reward.txt (1/0), reward.json (numbers only) and replay.mp4 (docs/protocol/README.md §2.6).
rm -rf /logs/verifier/*
trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT   # resources, after the grader (PROTOCOL §6)
p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true   # untrusted agent files (PROTOCOL H.1)
mkdir -p /logs/verifier
python /tests/grade.py --instance /tests/instance.json --traj /app/output/trajectory.npz --repeat 2 2> /logs/verifier/grade.log