Skip to content

feat(automationbench): optional per-assertion results in rollouts - #3951

Merged
cmunley1 merged 3 commits into
mainfrom
dmolinari/pr-export-vf-stats
Oct 8, 2026
Merged

cmunley1 merged 3 commits into
mainfrom
dmolinari/pr-export-vf-stats

Conversation

@d-molinari

@d-molinari d-molinari commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

What and why

AutomationBench rollouts only carry aggregate counts (objectives_passed, guardrails_violated, ...). Finer breakdowns, such as Artificial Analysis's per-app views ("Objectives Completed Across Apps", "Violation Rate Across Apps"), can't be rebuilt from rollouts without re-simulating, even though the env computes every per-assertion verdict while scoring. This PR adds an opt-in way to keep those verdicts.

  • benchmarks/automationbench/automationbench_env: assertion_results(state) returns one record per assertion. Each record has index, type, app (the WorldState service the assertion inspects), role (objective, guardrail or unscored), passed and initially_passed. The records are computed once and cached on the verifiers state under assertion_results. _counts now derives from them, so each assertion is checked once instead of four times. aa_headline is unchanged.
  • responses_api_agents/verifiers_agent: a new export_state_columns option (default []) adds verifiers State keys to run_group(state_columns=...) and returns them in response.exported_state. The field is omitted when empty, using the same exclude_if pattern feat(verifiers_agent): emit the rollout evidence health checks read #3403 uses for ng_trajectory. It works for any verifiers env that stores JSON-serializable values on its state.
  • config.yaml and README: config.yaml documents the option (off by default), and the README gains a "Per-assertion results (optional)" section.

To enable it:

++automationbench.responses_api_agents.verifiers_agent.export_state_columns='[assertion_results]'

@copy-pr-bot

copy-pr-bot Bot commented Oct 2, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@d-molinari d-molinari added area:environment Individual environments, benchmarks, verifiers, and environment-specific resources servers feature New capabilities, enhancements, or enablement work labels Oct 2, 2026
@d-molinari
d-molinari force-pushed the dmolinari/pr-export-vf-stats branch 2 times, most recently from e64b950 to 790fdd1 Compare October 2, 2026 20:32
@d-molinari
d-molinari marked this pull request as ready for review October 2, 2026 21:14
@d-molinari
d-molinari requested review from cmunley1 and wprazuch and removed request for cmunley1 October 2, 2026 21:14
@yaoyu-33 yaoyu-33 added complexity:medium Single-domain change with interacting parts or a moderate review surface needs-review PR is ready for code review and waiting on a reviewer labels Oct 2, 2026
@github-actions github-actions Bot added the sla:review-overdue Review response is over the one-business-day SLA label Oct 5, 2026
d-molinari and others added 2 commits October 5, 2026 15:32
- automationbench_env: assertion_results(state) records each assertion's
  type, app (the WorldState service it inspects), role
  (objective/guardrail/unscored), final verdict and initial verdict, cached on
  the state as "assertion_results". _counts now derives from it; on the 600
  public tasks and 2200 synthetic AutomationBench-format tasks, each scored
  against its initial and an empty world (5600 states, 372 with violations),
  it matches the previous _counts exactly. aa_headline is unchanged.
- verifiers_agent: export_state_columns (default []) requests extra verifiers
  State keys and returns them in response.exported_state, which is omitted
  when empty, so default rollouts are unchanged.

The records are enough to rebuild per-app views downstream. Enable with
++automationbench.responses_api_agents.verifiers_agent.export_state_columns='[assertion_results]'.

Signed-off-by: Daniele Molinari <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ng exported columns

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Daniele Molinari <[email protected]>
@d-molinari
d-molinari force-pushed the dmolinari/pr-export-vf-stats branch from d5f50e5 to 3a8b71d Compare October 5, 2026 22:32
@cmunley1

cmunley1 commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

/ok to test 3bccba3

@copy-pr-bot

copy-pr-bot Bot commented Oct 8, 2026

Copy link
Copy Markdown

/ok to test 3bccba3

@cmunley1, there was an error processing your request: E2

See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/2/

@cmunley1

cmunley1 commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

/ok to test 3bccba3

@github-actions github-actions Bot removed the sla:review-overdue Review response is over the one-business-day SLA label Oct 8, 2026
@cmunley1
cmunley1 added this pull request to the merge queue Oct 8, 2026
@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/37859990414

Merged via the queue into main with commit 8908cb2 Oct 8, 2026
39 of 43 checks passed
@cmunley1
cmunley1 deleted the dmolinari/pr-export-vf-stats branch October 8, 2026 23:49

This branch was previously deployed

1 inactive deployment
public — 3bccba3e Deployed Oct 8, 2026 by copy-pr-bot[bot] via release / finalize / notify #4806
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:environment Individual environments, benchmarks, verifiers, and environment-specific resources servers complexity:medium Single-domain change with interacting parts or a moderate review surface feature New capabilities, enhancements, or enablement work needs-review PR is ready for code review and waiting on a reviewer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants