Skip to content

Make a short smoke test the Experiment Runner default - #1462

Closed
cvolkcvolk wants to merge 1 commit into
mainfrom
cvolk/docs/experiment-runner-smoke-default
Closed

cvolkcvolk wants to merge 1 commit into
mainfrom
cvolk/docs/experiment-runner-smoke-default

Conversation

@cvolkcvolk

@cvolkcvolk cvolkcvolk commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

Superseded by #1531, which includes this change and also deletes the remaining legacy JSON experiment configs.

Make a single 20-step zero-action Experiment the default for experiment_runner.py, and use it as the installation check in the README and the installation page instead of policy_runner.py.

Why this change?

We plan to deprecate policy_runner.py in favor of experiment_runner.py, which reads each evaluation from an Experiment YAML file. The installation check in the README and docs/pages/quickstart/installation.rst, which is the first Arena script a new user runs, still used policy_runner.py.

Running experiment_runner.py without --experiment_config used the legacy JSON zero_action_jobs_config.json, which defines two gr1_open_microwave jobs, one of them with 10 environments. That is slower than an installation check needs and uses the JSON format we plan to retire.

What changes?

  • Add isaaclab_arena_environments/experiment_configs/smoke_test_experiment.yaml with one Run, smoke_test: the cube_goal_pose environment, the zero-action policy, and 20 steps. It is the same rollout the old policy_runner.py command ran.
  • experiment_runner.py uses it when --experiment_config is not set.
  • The README (uv and Docker) and the installation page check an installation by running experiment_runner.py without arguments. The optional GUI command shows a Run override: --viz kit runs.smoke_test.rollout_limit.num_steps=200.
  • skills/user/setup-arena/SKILL.md runs the command documented on the installation page, so it picks up the new command.

zero_action_jobs_config.json stays, because test_experiment_runner_from_existing_config uses it.

Usage example

Before:

python isaaclab_arena/evaluation/policy_runner.py \
  --policy_type zero_action --num_steps 20 cube_goal_pose

After:

python isaaclab_arena/evaluation/experiment_runner.py

Validation

  • CI has not finished on this PR; the run was cancelled when the PR was converted to a draft.

Locally in the Arena Docker container:

  • experiment_runner.py without arguments runs smoke_test to completion (20 steps, exit 0).
  • runs.smoke_test.rollout_limit.num_steps=3 changes the step count as documented.
  • New test test_default_experiment_is_a_short_zero_action_smoke_test passes, with the rest of test_arena_experiment_config_loader.py (19 passed).
  • sphinx-build -b html finishes without warnings, and pre-commit passes.

experiment_runner.py without --experiment_config ran the legacy JSON
zero_action_jobs_config.json, which builds two GR1 microwave jobs.
Add smoke_test_experiment.yaml, a single 20-step zero-action Run in
cube_goal_pose, and use it as the default.

The README and the installation page now check an installation with
experiment_runner.py instead of policy_runner.py. The setup-arena
skill runs the command from the installation page, so it follows.

Signed-off-by: Clemens Volk <[email protected]>
@greptile-apps

greptile-apps Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

Makes a single, 20-step zero-action run the default for experiment_runner.py.

  • The Experiment Runner starts with a 20-step smoke test.

Reviews (1) · Last reviewed commit: "Make a short smoke test the Experiment R..." · Reviewed by Greptile


def test_default_experiment_is_a_short_zero_action_smoke_test(monkeypatch):
"""Running experiment_runner.py without --experiment_config runs one short zero-action Run."""
from isaaclab_arena_environments.cube_goal_pose_environment import CubeGoalPoseEnvironmentCfg

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Import can move to the top

cube_goal_pose_environment has no simulator imports at module level, and the top-level PickAndPlaceMapleTableEnvironmentCfg import on line 27 already loads it through isaaclab_arena_environments/__init__.py. So this in-function import doesn't delay anything. Could it sit next to the line 27 import instead?

from isaaclab_arena_environments.cube_goal_pose_environment import CubeGoalPoseEnvironmentCfg

@arena-review-bot

Copy link
Copy Markdown
Contributor

🤖 Isaac Lab-Arena Review Bot

Summary

This PR adds a one-Run smoke_test_experiment.yaml (cube_goal_pose, zero-action policy, 20 steps), makes it the default for experiment_runner.py, and switches the README and installation page to that command. The new Run runs the same rollout as the old policy_runner.py command, and I found no caller that relied on the old JSON default. Two small cleanups below.

Findings

🔵 Improvement: isaaclab_arena/tests/test_arena_experiment_config_loader.py:192: The CubeGoalPoseEnvironmentCfg import can move to the top of the file (see the inline comment).

🔵 Improvement: skills/user/run-experiment/SKILL.md:30 (not in the diff): The skill still says "Never rely on the runner's legacy default configuration", and skills/user/run-experiment/evaluations.md:17 lists "Runs the legacy default configuration" as a failure mode. After this PR the default is the typed YAML smoke test, so "legacy" no longer fits. The advice to pass an explicit path still holds, so dropping "legacy" from both lines should be enough. Optionally, SKILL.md:54 could stop calling getting_started_experiment.yaml "a built-in smoke evaluation", now that a file named smoke_test_experiment.yaml exists.

Verdict

Ship it

@cvolkcvolk
cvolkcvolk marked this pull request as draft October 16, 2026 08:39
cvolkcvolk added a commit that referenced this pull request Nov 16, 2026
…configs (#1531)

Make a 20-step zero-action smoke test the default Experiment for `experiment_runner.py` and use it as the installation check. Delete the remaining legacy JSON experiment configs, and port the one a tutorial still runs to YAML.

This PR includes the change from #1462.

## Why this change?

Typed YAML Experiments replaced the JSON experiment configs, but six JSON experiment configs were still checked in:

- `zero_action_jobs_config.json` was the `--experiment_config` default. It builds two GR1 microwave jobs, one with 10 envs, which is slow for an installation check.
- `droid_pnp_srl_gr00t_jobs_config.json`: the GR00T docs run `droid_pnp_srl_gr00t_experiment.yaml`, which defines the same nine Runs.
- `scale_up_gif_jobs_config.json` and `droid_pnp_graph_spec_variations_config.json`: no file has ever referenced them.
- `getting_started_jobs_config.json`: only tests used it.
- `isaaclab_arena_gr00t/policy/config/gr1_sequential_static_manip_eval_jobs_config.json`: step 5 of the sequential static manipulation tutorial runs it, and it had no YAML version.

The README and the installation page still checked an installation with `policy_runner.py`, which we plan to deprecate.

## What changes?

- Add `experiment_configs/smoke_test_experiment.yaml` with one Run, `smoke_test`: 20 zero-action steps in `cube_goal_pose`. `experiment_runner.py` runs it when `--experiment_config` is not set, and the README and installation page use that command.
- Add `experiment_configs/gr1_sequential_static_manip_gr00t_experiment.yaml` with the same two Runs as the GR1 JSON, and use it in step 5 of the sequential static manipulation tutorial. The sample output there now shows the current Run table. Both Runs keep the language instruction from the policy config, as before, so the documented results still apply.
- Delete the six JSON files and `docs/images/iterate_getting_started_jobs_config.gif`, which no page has shown since #1030.
- Tests no longer read checked-in JSON files. The legacy loader tests write a two-entry JSON to `tmp_path`. `test_experiment_runner_runs_default_experiment` runs the default end to end. `test_experiment_runner_runs_with_different_env_counts` covers Runs with different `num_envs` in one process, which only the deleted `zero_action_jobs_config.json` exercised.

## Usage example

Before:

```bash
python isaaclab_arena/evaluation/policy_runner.py --policy_type zero_action --num_steps 20 cube_goal_pose
```

After:

```bash
python isaaclab_arena/evaluation/experiment_runner.py
```

## Validation

- CI passes, including `test_default_experiment_is_a_short_zero_action_smoke_test` and the two new subprocess tests.
- In a local container, the legacy loader tests pass. Tests that import `isaaclab.sim` cannot run with the local image, which predates Isaac Lab 3.0.
- The GR1 YAML and the deleted GR1 JSON load to equal `ArenaRunCfg` objects for both Runs, in the same order. The GR1 GR00T evaluation itself was not run, so the sample output in the tutorial keeps the previously measured metrics.
- `git grep` finds no remaining reference to the deleted files.


---------

Signed-off-by: Clemens Volk <[email protected]>
@cvolkcvolk cvolkcvolk closed this Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant