Repository navigation
feat(automationbench): make the benchmark discoverable and preparable - #3322
Merged
cmunley1 merged 1 commit intoSep 14, 2026
Merged
Conversation
AutomationBench currently cannot be run through `gym` or EFB at all. Three things block it, each verified against this branch: 1. `discover_benchmarks()` only scans the `benchmarks/` subdir of each component search root, so a config living under `environments/` is never seen. `'automationbench' in discover_benchmarks()` was False. 2. `_is_benchmark_config()` requires exactly one `type: benchmark` dataset. The environment config declares only `example` and `validation`, so the config would not qualify even if it were moved. 3. `gym eval prepare` imports the prepare script as a module and calls `module.prepare(**prepare_script_args)`, requiring the returned path to equal the dataset's `jsonl_fpath` (nemo_gym/cli/eval.py). `prepare.py` exposed only an argparse `main()`, and the declared `automationbench-600.jsonl` is gitignored, so an EFB `install_on_the_fly` run would find no data. Together these mean `--benchmark automationbench`, `++split=benchmark` and any Evaluator run resolve to nothing. Add `benchmarks/automationbench/config.yaml`, mirroring how `benchmarks/ifbench/config.yaml` wraps `environments/instruction_following`: chain to the environment config, inherit the instance, declare the single benchmark dataset. Extract `prepare()` out of `main()` so the benchmark can point `prepare_script` back at the environment's own script rather than duplicating the row-building logic, and add the `__init__.py` every other environment package has. Verified on this branch: `gym eval prepare --benchmark automationbench` writes 600 rows, and `gym eval run --benchmark automationbench --split benchmark` collects a rollout with `task_source: automationbench_benchmark` and real tool calls. Note for reviewers: benchmark discovery needs `allow_openai_version_skew=true` in this tree. That is not caused by this change -- `verifiers` 0.3.1 requires `openai>=2.9.0` unbounded, which resolves to 3.13.0 against nemo-gym's `openai==2.44.0` pin, and without the flag *every* benchmark fails to resolve, not just this one. Signed-off-by: Wojciech Prazuch <[email protected]>
gchlebus
approved these changes
Sep 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Targets
cmunley1/ab-evalsrather thanmain, so the diff is just the wiringand it lands inside #3187. Happy to fold it in however you prefer, or close
this if you'd rather take the change directly.
Why
AutomationBench cannot currently be run through
gymor EFB at all. Threethings block it, each verified against your branch:
discover_benchmarks()only scans thebenchmarks/subdir of each component search root, so a config under
environments/isnever seen.
'automationbench' in discover_benchmarks()→False.type: benchmarkdataset._is_benchmark_config()requires exactlyone; the environment config declares only
exampleandvalidation, so itwould not qualify even if moved.
prepare().gym eval prepareimports the prepare script as amodule and calls
module.prepare(**prepare_script_args), requiring thereturned path to equal the dataset's
jsonl_fpath(
nemo_gym/cli/eval.py).prepare.pyexposes only an argparsemain(),and
automationbench-600.jsonlis gitignored — so an EFBinstall_on_the_flyrun finds no data.Net effect:
--benchmark automationbench,++split=benchmarkand anyEvaluator run resolve to nothing.
What this does
Adds
benchmarks/automationbench/config.yaml, mirroring howbenchmarks/ifbench/config.yamlwrapsenvironments/instruction_following—chain to the environment config,
_inherit_fromthe instance, declare the onebenchmark dataset.
Rather than duplicating the row-building logic,
prepare()is extracted frommain()so the benchmark config can pointprepare_scriptback at theenvironment's own script.
main()becomes a thin CLI wrapper; the CLIbehaviour is unchanged. Also adds the
__init__.pythat every otherenvironment package has.
Verified on your branch
Note for reviewers, not caused by this change
Benchmark discovery needs
allow_openai_version_skew=truein this tree.verifiers0.3.1 requiresopenai>=2.9.0unbounded, which resolves to 3.13.0against nemo-gym's
openai==2.44.0pin. Without the flag every benchmarkfails to resolve, not just this one — worth a pin rather than a flag, but it
belongs in #3187's discussion rather than here.
Separately, I have #3321 open against
mainfixing the rollout-capture prefixin
verifiers_agent, which is what makes rollout-health checks report anythingother than
unobservedfor this benchmark. Independent of this PR.