Skip to content

feat(terminal_bench_4): add Hermes and NOOA profiles on the Harbor entry - #6869

Draft
giuliolovisotto wants to merge 3 commits into
glovisotto/deepswe-nooafrom
glovisotto/tb41-hermes-nooa-profiles
Draft

giuliolovisotto wants to merge 3 commits into
glovisotto/deepswe-nooafrom
glovisotto/tb41-hermes-nooa-profiles

Conversation

@giuliolovisotto

@giuliolovisotto giuliolovisotto commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds two Terminal-Bench 4.1 profiles on the Harbor entry, next to terminal_bench_4/miniswe and terminal_bench_4/opencode:

  • benchmarks/terminal_bench_4/hermes.yaml (terminal_bench_4/hermes): Hermes in hermes_agent agent sessions. The run limit follows the tasks' 8-hour agent budget (tb4_agent_max_timeout_sec, as the other profiles; the shipped 21,600 s would end a run two hours early), the turn limit is tb4_max_steps (500 by default, as mini-SWE's step limit; Hermes ships 30), one terminal command gets Hermes's own 180 s, and the environment server allows 900 s for the sandbox install.
  • benchmarks/terminal_bench_4/nooa.yaml (terminal_bench_4/nooa): NOOA's BenchAgent in sandboxed nooa_agent sessions, with the same run limit and episode bound and the offline runtime bundle from NOOA_SWE_RUNTIME_WHEELHOUSE. NOOA installs its runtime under /opt/nemo-gym-nooa, which the three tasks whose image runs as a non-root user do not allow; leave them out as for terminal_bench_4/opencode.
  • Both manifests, marked experimental, and one README entry per profile.
  • terminal_bench_4/nooa maps agent_run_error to verify in the Harbor environment server's agent_outcome_policy: nooa_agent returns a worker that ran and then died as a failed response with that cause, and the server's default policy would fail the task without grading it. The sandbox is graded as the run left it, as terminal_bench_4/opencode does with verify_after_agent_error. The same line for terminal_bench_4/hermes is in the PR stacked on this one, with the Hermes change it depends on.

Both profiles run the same task folders, sandbox and separate verifier as the existing ones; only the harness differs. Stacked on the PRs that let Hermes and NOOA take a task's own MCP servers and skills, which the README entries state.

No issue linked.

Validation

Run on macOS:

  • pytest tests/unit_tests/data/tasks/harbor/test_harbor_entries.py together with the OpenCode and Hermes agent tests on this tree: 1574 passed, 152 skipped.
  • Both configs load as benchmarks of the Harbor target terminal_bench_4 (harbor_benchmark()).
  • The agent_outcome_policy block validates against HarborEnvironmentServerConfig and keeps the shared defaults for every other kind (agent_limit: verify, transient provider kinds and unknown: retry, default: fail).

Rollouts

Six-task runs of each profile (a Compose task, a GPU task and the two tasks that declare tools among them, 30-minute agent limit): all six tasks seeded and graded under Hermes and under NOOA, no failures. Full 63-task runs (++task_ids_fpath=benchmarks/terminal_bench_4/root_image_tasks.txt) with three served models are in progress; I will add their evidence here.

Compatibility and benchmark impact

New profiles only. terminal_bench_4/miniswe, terminal_bench_4/opencode and the legacy profile are unchanged.

Checklist

  • I have read the contributing guidelines.
  • The change is focused; unrelated "drive-by" edits are tracked as separate issues/PRs.
  • Tests added or updated and pass locally, or N/A for docs-only / non-code changes (so CI unit/server checks pass when applicable). N/A: configuration and docs only.
  • Documentation added or updated, or N/A with justification.
  • Pre-commit checks pass locally (pre-commit run --all-files) (so CI lint/format checks pass). Not run.
  • New source files include the required Apache-2.0 SPDX header.
  • All commits have DCO sign-off (git commit -s) (so the DCO check passes).

🤖 Generated with Claude Code

@giuliolovisotto giuliolovisotto added benchmark-onboarding Self-contained benchmark onboarding feature New capabilities, enhancements, or enablement work area:environment Individual environments, benchmarks, verifiers, and environment-specific resources servers risk:low Autobot PR risk: low labels Nov 27, 2026
@copy-pr-bot

copy-pr-bot Bot commented Nov 27, 2026

Copy link
Copy Markdown

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.

@svcnvidia-nemo-ci svcnvidia-nemo-ci added risk:mid Autobot PR risk: mid and removed risk:low Autobot PR risk: low labels Nov 27, 2026
@giuliolovisotto
giuliolovisotto force-pushed the glovisotto/tb41-hermes-nooa-profiles branch from c83847b to 65def40 Compare November 30, 2026 10:53
@giuliolovisotto
giuliolovisotto force-pushed the glovisotto/tb41-hermes-nooa-profiles branch 2 times, most recently from d5fcc1a to ca29f66 Compare November 30, 2026 11:49
giuliolovisotto and others added 3 commits November 30, 2026 14:49
`benchmarks/terminal_bench_4/nooa.yaml` runs the pinned Terminal-Bench 4.1
task folders with NOOA's BenchAgent in `nooa_agent` agent sessions through
the Harbor environment server, as the OpenCode and mini-SWE profiles do:
sandboxed execution in the task sandbox the server lends, the run limit
raised to the tasks' 8-hour agent budget, the episode bound and setup
allowance of `terminal_bench_4/miniswe`, and an optional offline runtime
bundle through `NOOA_SWE_RUNTIME_WHEELHOUSE`.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: Giulio Lovisotto <glovisotto@nvidia.com>
`benchmarks/terminal_bench_4/hermes.yaml` runs the pinned Terminal-Bench 4.1
task folders with Hermes in `hermes_agent` agent sessions through the
Harbor environment server, as the OpenCode, mini-SWE and NOOA profiles do:
the run limit raised to the tasks' 8-hour agent budget, the turn limit set
by `tb4_max_steps` as mini-SWE's step limit, Hermes's own 180 s command
timeout, and the episode bound and setup allowance of
`terminal_bench_4/miniswe`.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: Giulio Lovisotto <glovisotto@nvidia.com>
nooa_agent returns a worker that ran and then died as a failed response with
the cause agent_run_error. The Harbor environment server's default
agent_outcome_policy fails such a task without grading it.

terminal_bench_4/nooa maps agent_run_error to verify, so the sandbox is
graded as the run left it, as terminal_bench_4/opencode does with
verify_after_agent_error.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: Giulio Lovisotto <glovisotto@nvidia.com>
@giuliolovisotto
giuliolovisotto force-pushed the glovisotto/tb41-hermes-nooa-profiles branch from ca29f66 to 98f0afa Compare November 30, 2026 13:51

This branch has not been deployed

No deployments
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 benchmark-onboarding Self-contained benchmark onboarding feature New capabilities, enhancements, or enablement work risk:mid Autobot PR risk: mid

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants