Repository navigation
fix(benchmarks): bound the HLE agent loop with max_steps 1 - #5763
Conversation
#3145 set max_steps: 1 on single-turn benchmarks but gave benchmarks/hle/config.yaml max_steps: null. SimpleAgentConfig.max_steps is 'int = None', which accepts an omitted key but rejects an explicit null, so the HLE agent server fails to start. Set it to 1 as #3145 intended, and add a test that every simple_agent max_steps in benchmarks/ is an integer. Signed-off-by: Ingo Guehring <[email protected]>
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
The fix is the one config line; the check is out of scope for it. Signed-off-by: Ingo Guehring <[email protected]>
svcnvidia-nemo-ci
left a comment
There was a problem hiding this comment.
SHIP WITH CARE — the configuration fix looks correct, but required smoke-rollout evidence is missing.
I checked the HLE configuration, inheritance and override precedence, the agent loop and existing tests, and the benchmark’s prompt and verification path. I found no implementation defect. The integer value satisfies the declared configuration type and preserves a complete single-turn answer.
One RISK remains below. This was a static review; I didn’t execute tests or rollouts.
Review generated by codex. This was a full review. Request a full review with /review reset=true.
| responses_api_agents: | ||
| simple_agent: | ||
| max_steps: null | ||
| max_steps: 1 |
There was a problem hiding this comment.
RISK — Could you attach a representative real HLE smoke rollout rather than mark rollout evidence N/A? This changes the default agent’s runtime limit, so the trusted quality bar requires a model rollout with agent and verifier inspection. The supplied traceback demonstrates the original startup failure; it and pre-commit don’t establish successful answer generation and grading after this fix. This is a validation gap for the default text-only HLE path, not a demonstrated scoring defect.
The correction is evidence, not another code change: exercise a small representative set of prepared HLE rows through the documented start/run workflow, then record the head commit, model, commands, task IDs, and inspected results in the PR. Acceptance: startup succeeds without the max_steps validation error, the agent retains the complete policy answer, and the judge returns a parsed verdict and binary reward without infrastructure failures.
Retain max_steps: 1, the existing HLE prompt and judge wiring, and one repeat. As a static preservation check, explicit integer overrides must continue to take precedence over this YAML default through the configuration merge. A full reward-profile comparison isn’t required because verifier and reward logic are unchanged. These are proposed checks; I couldn’t execute them here.
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/42299253016 |
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/42300342269 |
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/42302227653 |
…ools Brings in 42 commits from main (bd6f5f0..363af5e), including #5709 (centralized resources lifecycle and verification ownership), #5551 (MCP tools of extra tool servers granted to session agents), #5763 (HLE agent loop bounded with max_steps 1) and #5446 (gym list environments). Only README.md overlapped textually; the environment table was regenerated with scripts/update_env_list.py and the Hle Web Tools row is preserved. Signed-off-by: Rima Shahbazyan <[email protected]> Co-Authored-By: Claude Fable 5.1 <[email protected]>
What
benchmarks/hle/config.yamlsets the HLE simple agent'smax_stepsto1instead ofnull.Why
#3145 added
max_steps: 1to the single-turn benchmarks, butbenchmarks/hle/config.yamlgotmax_steps: null; its own description says all twelve get1.SimpleAgentConfig.max_stepsis declaredint = None, which accepts an omitted key but rejects an explicitnull. So the HLE agent server does not start:HLE is the only benchmark config with
max_steps: null. The HLE variantconfig_vision.yamlalready sets1.No issue: a one-line config fix for a regression from #3145.
Validation
pre-commit run --all-files: passed.Rollout evidence
N/A: a one-value config fix. The failure is a deterministic schema validation error when the agent server starts (shown above), and
1is the value #3145 set for the other single-turn benchmarks.Compatibility
Behavior change for HLE: a rollout is bounded to one agent step, as for the other single-turn benchmarks. A run that sets
max_stepsitself is unaffected.