Run an experiment
Choose where task sandboxes run, connect an agent and task list, validate the matrix, then launch. The provider determines operating-system support, isolation, setup cost, and practical concurrency.
Install ALE
git clone git@github.com:rdi-berkeley/agents-last-exam.git
cd agents-last-exam
bash env/install_host_deps.sh
uv sync --all-packages --locked
bash env/verify_host_env.sh
Host setup supports Ubuntu 22.04/24.04/26.04 and Debian 12/13. The checked-in
uv.lock pins Python dependencies. Verification checks native
tools, deferred evaluator imports, and all 122 active task entry points
without starting sandboxes or calling judges. Provider tools and guest
applications are configured separately. See
host setup and validation scope.
Use the frozen v1.1 task source with the matching image and data pins in the release configuration. For the original requirements, follow Run original v1 in a separate checkout with legacy images and fresh logs.
Choose a sandbox provider
ALE exposes six provider implementations. The names below describe the sandbox the task receives. The code identifier used in environment YAML is shown in parentheses.
| Provider | Sandbox | Current coverage | Best use |
|---|---|---|---|
Google Cloud VMsgcloud |
A fresh GCE VM for every run unit | All 122 v1.1 tasks in full.txt |
Production benchmark runs and elastic concurrency |
AWS EC2aws |
A fresh EC2 instance for every run unit | CPU profiles; verify matching v1.1 images before running the six converted workflows. GPU tasks not supported. | Production runs on AWS instead of/alongside GCP |
Alibaba Cloud ECSaliyun |
A fresh ECS instance for every run unit | CPU profiles; verify matching v1.1 images before running the six converted workflows. GPU tasks not supported. | Production runs on Alibaba Cloud instead of/alongside GCP |
Local containersdocker |
A fresh Linux container for every run unit | 78 supported tasks in docker_support.txt |
The lightest local path for the supported Linux subset |
QEMU/KVM VMsqemu |
A fresh QEMU/KVM guest VM for every run unit | 119 CPU-compatible Ubuntu and Windows tasks in cpu.txt |
Full-OS local testing, including Windows, without cloud VMs |
Existing sandboxstatic |
One CUA-enabled machine you start and manage | Whatever that machine's OS, software, and data support | Image development, debugging, and reproducing one task |
provider: qemu.
Match the task list to the provider
A task requests a logical snapshot such as cpu-free-ubuntu,
cpu-free, or gpu-free. The selected environment
must map every requested snapshot to a provider. Use the provider-specific
allowlists for local runs:
| Environment | Recommended task list |
|---|---|
configs/environments/environment_gcloud.yaml | selected_tasks/full.txt |
configs/environments/environment_aws.yaml | selected_tasks/cpu.txt; verify matching v1.1 images |
configs/environments/environment_aliyun.yaml | selected_tasks/cpu.txt; verify matching v1.1 images |
configs/environments/docker.yaml | selected_tasks/docker_support.txt |
configs/environments/qemu.yaml | selected_tasks/cpu.txt |
| A static environment | A small list known to match the attached machine |
The run workflow
- Follow the provider guide and verify its prerequisites.
- Configure an experiment with one environment, one or more agents, and a compatible task list.
- Run
--dry-runto inspect the exact agent × task matrix. - Launch, resume, and collect results.