Configure an experiment
An experiment combines agent presets, one environment profile, and a task list. The experiment YAML holds run-level controls; provider and agent details stay in reusable config files.
Use the v1.1 release
ALE v1.1 selects 122 active tasks after 30 retirements.
The upgrade scope marks 57 active tasks for rerun and
65 for retention. To preserve the original requirements, follow
Run original v1
with v1 code, legacy images and fresh logs, not v1.1 assets or results. Six formerly
licensed tasks keep their IDs and business goals using open-source Linux
workflows: Blender building reconstruction, FreeCAD Road alignment,
FreeCAD CAM with LinuxCNC and CAMotics, Kratos support analysis, MuseScore
transcription, and Ardour project migration. engineering/mold-flow
is removed because its full fill/pack/cool/demold workflow has no validated
open-source replacement at the original scope.
education_info/homework_grading_numerical_pdes_instance_02
is retired because feedback verification was overly tied to fixed wording.
The retirement list
includes these two and 28 further tasks. Retirement narrows release scope;
it does not imply that every retired task is defective.
Hugging Face data packages cover the 122 selected tasks.
| Change | Tasks | What counts |
|---|---|---|
| Instruction | 47 | Agent-facing prompts and instructions, including input documents |
| Verification | 43 | Scoring logic, acceptance rules and grader execution |
| Environment | 32 | Task-specific software, dependencies, setup, staging, paths, resources or platform |
| Data | 23 | Input materials, starter/helper assets, models, media or reference answers |
Categories overlap; the six conversions are included in the 57 updated tasks. Classify by content, not storage location: a prompt edit in a data archive counts as Instruction. These counts exclude the retired tasks, unselected variants, inactive metadata, packaging-only cleanup and shared framework changes. See the task review.
Task designs and source are frozen. Use the matching image and data pins in the asset manifest below. The task review records validation scope and limits; it does not certify complete agent validation of the release.
Butterfly animation accepts any software. Butterfly and skeletal animation now run on CPU QEMU, for 119 CPU tasks and three GPU tasks. Skeletal evaluation prevents duplicate render launches after transport retries without changing its scoring requirements. Task setup replaces the old butterfly input specification; the published images and data remain compatible.
Changes preserve the original business goal and intended difficulty, align grading with public requirements and valid equivalent answers, and supply necessary inputs and working runtimes without exposing hidden references.
Shared framework changes cover agent termination before evaluation, resume hashes, image identity checks, judge configuration, provider cleanup, data downloads, and agent adapters. The framework change summary explains their effects on runs and the relevant configuration.
| Converted task | Open-source workflow | Supported environment |
|---|---|---|
| Building reconstruction | Blender | Docker or Linux VM |
| Road alignment | FreeCAD Road | Linux VM |
| G-code machining | FreeCAD CAM, LinuxCNC and CAMotics | Linux VM |
| Excavation support analysis | Kratos | Linux VM |
| Music transcription | MuseScore | Docker or Linux VM |
| Music project migration | Ardour | Docker or Linux VM |
All six use the Linux VM image with QEMU or Google Cloud. The default Docker profile supports the three workflows listed above. Runtime compatibility checks cover native save/reopen, export and task artifacts; see the task review for their scope and limits. The default Docker profile lacks the process/network isolation used by G-code, the systemd supervisor used by Road, and the supervisor plus writable delegated cgroups used by excavation support. These three require the Linux VM profile.
Use the task code, profiles, images, and data together. The asset manifest records exact versions. For existing logs, follow Upgrade v1 logs; the command guide covers the same setup and upgrade steps.
| Component | Pin |
|---|---|
| QEMU disks | Preserve qemu.image_revision in each shipped snapshot. It selects an immutable Hugging Face dataset revision. |
| Google Cloud images | Copy the named images from images.*.gcloud in the manifest. Optional gcloud.image_revision verifies the numeric sourceImageId. A copy gets a new ID; pin your project's copy, not the publisher's ID. |
| Docker runtime | The profile uses the digest in docker.pinned_image. Optional docker.image_revision verifies a SHA256 image ID or repository digest. |
| Task data | Use huggingface.*.revision and task_data.archive_sha256; install the archive into an empty task-data-v1.1. |
These image revision settings belong inside each snapshot's provider block
(qemu, gcloud, or docker).
run.json's environment.image_revision records the
acquired image identity even without a configured pin. For QEMU remote
disks, it is the resolved Hugging Face commit or GCS object generation;
the requested Hugging Face pin remains in source metadata.
Start from the example
cp example_exp.yaml my_experiment.yaml
name: my_experiment
secret_file: secret/.env
agents:
- configs/agents/claude_code.yaml
environment: configs/environments/environment_gcloud.yaml
tasks: selected_tasks/hello_both.txt
output:
root: .logs/ale
concurrency: 1
wall_time_s: 7200
auto_resume: true
max_attempts: 3
cleanup_mode: delete
Relative paths resolve from the experiment file's directory. Keep the file in the repository root when using the shipped paths unchanged.
Experiment fields
| Field | Meaning |
|---|---|
name | Names the experiment directory and defines the scope searched by auto-resume. |
secret_file | Loads KEY=value entries before referenced YAML files are parsed. |
agents | One or more agent preset paths. ALE runs the Cartesian product of agents and tasks. |
environment | Exactly one environment profile, which routes task snapshots to providers. |
tasks | A text or YAML task list, or an inline list of task entries. |
output.root | The host directory for run records. This is separate from the environment's task-output destination. |
concurrency | Maximum run units active at once. |
wall_time_s | Optional experiment-wide agent time limit. When omitted, each task card supplies its own timeout. |
auto_resume | Defaults to true. Skips completed/timeout units only with a matching task-folder hash and a successful, error-free evaluation whose numeric score matches the run record. Missing or changed hashes and unscored evaluations rerun. Retries newly failed units. |
max_attempts | Total attempts per failed unit in one invocation when auto-resume is enabled. Accepts 1 through 3 and defaults to 3. |
cleanup_mode | delete, stop, or keep for provider-managed sandboxes. |
prompt_suffix | Optional text appended to every task instruction and recorded in the trajectory. |
Choose an environment profile
| Profile | Provider routing | Compatible list |
|---|---|---|
configs/environments/environment_gcloud.yaml | Google Cloud VMs for all published snapshots | full.txt |
configs/environments/environment_aws.yaml | AWS EC2 for CPU snapshots; verify matching v1.1 images | cpu.txt |
configs/environments/environment_aliyun.yaml | Alibaba Cloud ECS for CPU snapshots; verify matching v1.1 images | cpu.txt |
configs/environments/docker.yaml | Local containers for cpu-free-ubuntu | docker_support.txt |
configs/environments/qemu.yaml | QEMU/KVM VMs for CPU-compatible Ubuntu and Windows snapshots | cpu.txt |
| Your own static profile | Existing sandbox for every selected task | A narrow list matching that machine |
A task card requests a logical snapshot. Common values are:
| Snapshot | Environment requirement |
|---|---|
cpu-free-ubuntu | Ubuntu CPU |
cpu-free | Windows CPU |
gpu-free | Windows GPU; use the Google Cloud profile. |
Task cards normally supply a GCE machineType. The schema also
accepts explicit vcpus and memory_gb values.
Providers translate that shape to GCE, Docker limits, or QEMU guest
resources. Environment-level overrides can cap local providers.
Choose a task list
| List | Units before agent multiplication | Purpose |
|---|---|---|
hello_both.txt | 2 | Ubuntu and Windows smoke test |
docker_support.txt | 78 | Supported local-container subset |
ale_cli.txt | 86 | All selected cpu-free-ubuntu tasks, including desktop workflows |
cpu.txt | 119 | Ubuntu and Windows CPU tasks |
gpu.txt | 3 | Windows GPU tasks; use the Google Cloud profile |
full.txt | 122 | The complete v1.1 benchmark |
All lists live under selected_tasks/, with difficulty lists
under selected_tasks/full/*.txt: 45 near-term, 46 full-spectrum,
and 36 last-exam tasks. These lists overlap. A text list contains one task
path per line. A YAML list can select explicit variant indices.
Choose agent presets
Agent presets live under configs/agents/. Each file selects a
harness, model, optional executor, and harness-specific configuration:
harness: claude_code
model: <model-id>
executor: sandbox
config:
provider: openrouter
max_turns: -1
The provider inside an agent's config is the LLM
API provider. It is unrelated to the sandbox provider selected by the
environment profile.
List multiple presets under agents: to run the same task list
for each agent. Set an explicit agent id inside a preset when
two configurations use the same harness and need separate result folders.
Configure credentials
secret/.env normally holds agent API keys and any variables
referenced as ${env:NAME} by the selected environment:
OPENROUTER_API_KEY=...
ALE_REFERENCE_ARCHIVE_PASSWORD=rdi-ucberkeley-Gov8EV7wGHYAc7XQBzhd
GCP_PROJECT=...
GCP_SA_KEY=secret/gcp_key.json
ALE_REFERENCE_ARCHIVE_PASSWORD is required when the selected
environment uses task_data_source: baked_in_sandbox. It is a
public benchmark-wide archive key, not a private credential. ALE reads it
on the host after agent execution and intentionally does not forward it
into the agent sandbox environment or embed it in runtime source copied
there.
On first setup, copy secret/.env.example to
secret/.env with cp -n, then fill in the API and
provider credentials needed by your run. GCP variables are required only by the Google Cloud
profile. Local profiles still need whichever API key their agent preset
uses.
For text/image judges, copy secret/eval_time/openai.env.example
to secret/eval_time/openai.env and set JUDGE_BASE_URL,
JUDGE_API_KEY, and JUDGE_MODEL. These settings are
read privately at evaluation time, independently of solver credentials.
Do not source evaluator files or add them to agent presets. Optional
JUDGE_REASONING_EFFORT and JUDGE_MAX_COMPLETION_TOKENS
configure reasoning and a minimum token budget for text/image calls. Music
project migration uses deterministic audio comparison and requires no
audio-model endpoint. Its overview screenshot still uses the shared image
judge. Gemini video judges retain their
Gemini configuration. The hello-world task needs no judge.
Before provisioning sandboxes, batches containing shared LLM-judge tasks
probe the configured judge with text and, when required, an image. A failed
probe aborts the batch; fix the judge configuration and rerun the command.
--dry-run makes no judge requests. A later judge outage or
malformed scoring reply produces an evaluation error with
score: null, never zero or a substitute score. Odoo uses
database checks and does not require a Judge API.
Configure task data and output
These fields live in the environment profile because their implementation depends on the sandbox substrate:
task_data_source: baked_in_sandbox
output_path: null
# Required when the sandbox reads from or writes to GCS:
# gcs_sa_key: secret/gcp_key.json
baked_in_sandboxuses encrypted references already stored in the image.gs://...stages data inside the sandbox withgsutil.local:...is currently implemented for the direct Docker provider.hf://...is accepted by configuration but task-data staging is not implemented yet.
output_path: null is the default. Bulk task output stays in
the sandbox; metadata, trajectories, evaluations, and telemetry are still
collected. Set cleanup_mode: keep to inspect deliverables in
the sandbox, then release it when finished. Output options are covered in
Run, resume and upgrade.