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.

ChangeTasksWhat counts
Instruction47Agent-facing prompts and instructions, including input documents
Verification43Scoring logic, acceptance rules and grader execution
Environment32Task-specific software, dependencies, setup, staging, paths, resources or platform
Data23Input 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 taskOpen-source workflowSupported environment
Building reconstructionBlenderDocker or Linux VM
Road alignmentFreeCAD RoadLinux VM
G-code machiningFreeCAD CAM, LinuxCNC and CAMoticsLinux VM
Excavation support analysisKratosLinux VM
Music transcriptionMuseScoreDocker or Linux VM
Music project migrationArdourDocker 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.

ComponentPin
QEMU disksPreserve qemu.image_revision in each shipped snapshot. It selects an immutable Hugging Face dataset revision.
Google Cloud imagesCopy 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 runtimeThe profile uses the digest in docker.pinned_image. Optional docker.image_revision verifies a SHA256 image ID or repository digest.
Task dataUse 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

FieldMeaning
nameNames the experiment directory and defines the scope searched by auto-resume.
secret_fileLoads KEY=value entries before referenced YAML files are parsed.
agentsOne or more agent preset paths. ALE runs the Cartesian product of agents and tasks.
environmentExactly one environment profile, which routes task snapshots to providers.
tasksA text or YAML task list, or an inline list of task entries.
output.rootThe host directory for run records. This is separate from the environment's task-output destination.
concurrencyMaximum run units active at once.
wall_time_sOptional experiment-wide agent time limit. When omitted, each task card supplies its own timeout.
auto_resumeDefaults 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_attemptsTotal attempts per failed unit in one invocation when auto-resume is enabled. Accepts 1 through 3 and defaults to 3.
cleanup_modedelete, stop, or keep for provider-managed sandboxes.
prompt_suffixOptional text appended to every task instruction and recorded in the trajectory.

Choose an environment profile

ProfileProvider routingCompatible list
configs/environments/environment_gcloud.yamlGoogle Cloud VMs for all published snapshotsfull.txt
configs/environments/environment_aws.yamlAWS EC2 for CPU snapshots; verify matching v1.1 imagescpu.txt
configs/environments/environment_aliyun.yamlAlibaba Cloud ECS for CPU snapshots; verify matching v1.1 imagescpu.txt
configs/environments/docker.yamlLocal containers for cpu-free-ubuntudocker_support.txt
configs/environments/qemu.yamlQEMU/KVM VMs for CPU-compatible Ubuntu and Windows snapshotscpu.txt
Your own static profileExisting sandbox for every selected taskA narrow list matching that machine

A task card requests a logical snapshot. Common values are:

SnapshotEnvironment requirement
cpu-free-ubuntuUbuntu CPU
cpu-freeWindows CPU
gpu-freeWindows 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

ListUnits before agent multiplicationPurpose
hello_both.txt2Ubuntu and Windows smoke test
docker_support.txt78Supported local-container subset
ale_cli.txt86All selected cpu-free-ubuntu tasks, including desktop workflows
cpu.txt119Ubuntu and Windows CPU tasks
gpu.txt3Windows GPU tasks; use the Google Cloud profile
full.txt122The 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

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.

Next
Validate the resolved matrix and launch it with Run, resume and upgrade.