Skip to content

feat(nooa): add a canonical Terminal Bench recipe - #4820

Merged
init-nikhil merged 1 commit into
codex/nooa-eval-reproducibilityfrom
codex/nooa-terminal-bench-recipe
Nov 4, 2026
Merged

init-nikhil merged 1 commit into
codex/nooa-eval-reproducibilityfrom
codex/nooa-terminal-bench-recipe

Conversation

@init-nikhil

@init-nikhil init-nikhil commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Current stack revision — November 3, 2026

Head: 8bbc8cd2ce76e1b0b5ab6063eaa4e8f1fdeb049d. Stack refreshed onto main 3880fa5024bf97199cba96ade2e0fa6ec9eb6fbf with current import locations and merge conflicts resolved. Each PR remains a separate layer; landing uses native stack merge.

#4088 now packages the launching Gym checkout using its unchanged root pyproject.toml and full core dependencies. The separate responses_api_agents/nooa_agent/runtime/pyproject.toml was removed. Tracked source and package assets are copied with their current contents; untracked files, Git metadata, and caches are excluded. This requires Git on the controller. Sandbox installation stays in its private Python, and source changes invalidate prepared offline wheelhouses. #4813 retains its workflow change and code-owner review requirement.

Validation: 87 focused runtime, offline-bundle, and task-network-policy tests passed after the refresh; all-files pre-commit passed (private guardword catalog unavailable). A real Gym wheel built successfully from the new archive format, and its NOOA entrypoint, resource dispatcher, and core package asset were verified. No model rollout or Linux installation was run for this packaging change. Earlier evidence below is historical and does not establish fresh results for this head.

GitHub dismissed earlier reviews after this update; current-head reviews and required CI are still needed.

Stack refresh — 2026-11-02

Current head: f04180a0e17d8f45309d9ff9f3b155c7d08ca4fb. Stack refreshed onto main 2b8efc987af03951a80f941f2a278317badfe085. This PR remains a separate layer in the intended stack merge: #4088 → #4820 → #4821 → #4351 → #4357. #4813 is excluded.

Reconstructed each layer from its final reviewed patch instead of replaying foundation commits already merged into main. Resolved current package-import and legacy-environment renames while retaining upstream checkpoint handling and newer harness support. #4088 also exports its networking helpers through the current public API and mechanically updates existing callers; #4351 exports its newly used response types.

Fresh validation on the combined refreshed stack:

  • Full NOOA suite plus conformance runner/probe and harness-behavior tests: 913 passed, 10 Linux-only skips with pinned native NOOA 19caab169b018476ac433d040f6ae3f06aeff101.
  • Public-API facade suite and corrected GDPval recipe fixture: 372 passed.
  • Approved-prefix NOOA/network/recipe/metrics run: 671 passed, 10 skipped, and one GDPval fixture failure caused by the renamed legacy environment config; corrected and passed in the separate recipe run above.
  • pre-commit run --all-files: passed, including package layering, guardwords, lint and format.
  • Main advanced during validation; its intervening paths were disjoint from this stack. The final rebase was conflict-free, with the validated stack files unchanged.

No fresh real-model benchmark was run for this conflict/import refresh. Prior live-rollout evidence below is historical. Fresh reviews and required GitHub CI remain outstanding; this is not a merge-readiness claim.


Earlier implementation and validation (before this refresh)

  • run NOOA through canonical terminal bench preparation and verification
  • state the six-hour worker ceiling separately from episode and verifier limits
  • test the cleanup ttl margin and document model reachability and offline installation

Tests and validation

Head 9b9c186321d0defb19f1e10edf16150bfb1a9ee4; base 3057bb5ac3c2825799e7a2a9bdec9aaf334ddbb3. The existing stack tracks this work; no separate issue is needed.

Canonical preparation, task routing, metadata separation and timeout/TTL checks passed with:

python -m pytest -q -p no:cacheprovider --import-mode=importlib \
  benchmarks/terminal_bench_2_1/tests/test_nooa_terminal_bench_2_1.py

An independent probe of the documented CLI and real parser confirmed that the private overlay retains its CPU, memory, sandbox TTL and episode settings and that the recipe explicitly selects --split benchmark.

The prior exact-head live attempt was BLOCKED. Canonical preparation emitted 89 tasks; source/runtime binding, offline installation and task-to-controller reachability passed. One canonical regex-log attempt used nvidia/qwen/qwen3.6-35b-a3b with validation-only limits of 4,096 output tokens per response, 20 policy calls and a 1,200-second outer collector timeout. Four completed responses each exhausted the output cap, totaling 16,384 output tokens entirely in reasoning; no model-generated tool call was observed. Logs recorded 16 HTTP 429 events: 12 scheduled retry waits and four terminal model-server errors. The provider identified dev-priority token throttling; hard account-quota exhaustion was not established. No canonical rollout or verifier result persisted, so that attempt establishes no reward or final gradability. Its owned task containers, services, temporary controller with Docker-socket access and temporary credentials were removed. The earlier host prerequisite failure and this failed attempt remain recorded; no manual inference repeat occurred in that prior attempt.

The authorized continuation passed on this exact head using the same Qwen model, prompt, native tools, sampling and canonical verifier. All 89 pinned tasks were prepared; one actual regex-log task ran. Its real test_regex_matches_dates pytest test passed, the collector persisted one graded rollout, and reward was 1.0. Twenty unique model responses drove 15 generated Python cells plus one native prefill. The agent reached its approved 20-call policy budget: its incomplete response, native GenerationError and policy_budget_exceeded observation remain recorded. This is a passing canonical task and gradable-limit check, not natural agent completion.

The continuation used a validation-only 16,384-token output cap, a 3,600-second whole-driver envelope and 180-second shutdown reserve; setup left 3,399.91 seconds for the rollout. The driver finished in 937.12 seconds. Canonical worker/episode/cleanup/TTL/verifier limits were unchanged. No HTTP 429 or Retry-After was observed. The passive header observer produced duplicate rows; model counts come from durable unique response references. Final structured trajectory turns/model_calls were unavailable, so the retained conversation, full response/tool outputs, 16 native tool records and intermediate snapshots are the evidence, with those gaps preserved.

Final checks matched 7,691 tracked source files, 1,101 task assets, 355 native Python files and 276 installed Gym files. The actual worker used Python 3.13.14 on Linux x86_64. Services and ports closed, the task was removed normally, and the temporary controller and Docker-socket access were removed. Temporary model configs were deleted and exact-key artifact scanning found no matches. The earlier throttled attempt remains preserved. This is one-task integration evidence; it does not establish 89-task parity, full canonical deadline fidelity or a fresh offline-bundle build.

The worker ceiling is 21,600 seconds; the default 30,000-second episode deadline covers the entire task. The 30,600-second sandbox TTL includes cleanup margin, and the 1,800-second verification timeout applies per command. Model reachability and offline runtime-package prerequisites remain required. These focused checks do not establish full Terminal-Bench suite parity.

pre-commit run --all-files passed. The recorded official Codex review returned no actionable findings; its environment lacked NOOA, so the recipe/preparation tests and E2E evidence above are separate validation. The independent bug hunt passed for this head and base.

CI snapshot (2026-10-24 05:44 UTC) on this head: 8 checks remain pending. Current checks. The all-green readiness gate remains unmet; no final verification-success post or new review request is implied.

@copy-pr-bot

copy-pr-bot Bot commented Oct 21, 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 area:environment Individual environments, benchmarks, verifiers, and environment-specific resources servers feature New capabilities, enhancements, or enablement work labels Oct 21, 2026
@init-nikhil init-nikhil added area:agent Agent harnesses and Responses API agent behavior area:evaluation Evaluation, rollout collection, reward profiling, comparison, and exporters complexity:low Localized change in one scope with a small, straightforward review surface labels Oct 21, 2026
@init-nikhil

Copy link
Copy Markdown
Member Author

/ok to test 10b5752

@github-actions

github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

@init-nikhil
init-nikhil added this pull request to stack #4825 October 21, 2026 04:33

@init-nikhil init-nikhil left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

CODEX SELF REVIEW

Reviewed head 10b5752d81c6c5098f1dc48cf35c21b4a81b571e against actual stacked base e3645b69cb70e3ad6781cb9b972ca9771c5a26ce with the official Codex CLI 0.154.0 (gpt-6-astra, fresh read-only review process). No actionable findings were returned.

The engine performed static source inspection; it did not execute tests. Local, live-model, and CI validation are tracked separately. This is not a readiness or correctness guarantee.

@init-nikhil

Copy link
Copy Markdown
Member Author

/ok to test 15e0fb2

@init-nikhil init-nikhil left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

CODEX SELF REVIEW

Reviewed head 15e0fb21f83dfc8879ed1ef74e595f91044d94e4 against actual stacked base 22dedb4ab7477df679e994ed314bd568c2abff2f with official Codex CLI 0.154.0 (gpt-6-astra, fresh read-only review process).

No actionable findings were returned.

The engine performed static source inspection; it did not execute tests. Model, benchmark and CI validation are tracked separately.

@init-nikhil

Copy link
Copy Markdown
Member Author

/ok to test 5f686c3

@init-nikhil init-nikhil left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

CODEX SELF REVIEW

Reviewed head 5f686c347465e2041335ea46153eba463b60bb4f against actual stacked base 125ce2d7d9991f7d585a0ff4d8fd0bd2ddf6935d with official Codex CLI 0.154.0 (gpt-6-astra, fresh read-only review process).

No actionable findings were returned.

The engine performed static source inspection; it did not execute tests. Model, benchmark and CI validation are tracked separately.

@init-nikhil
init-nikhil marked this pull request as ready for review October 21, 2026 20:37
@init-nikhil
init-nikhil requested a review from yaoyu-33 October 21, 2026 20:37
@init-nikhil init-nikhil added the needs-review PR is ready for code review and waiting on a reviewer label Oct 21, 2026
furgalep pushed a commit to furgalep/Gym that referenced this pull request Oct 29, 2026
Propagate existing reviewed parent changes while preserving the authored layer and branch history.

Signed-off-by: Nikhil Deshmudre <[email protected]>
furgalep pushed a commit to furgalep/Gym that referenced this pull request Oct 29, 2026
Integrate the prepared stack parent while preserving this PR's authored changes.

Signed-off-by: Nikhil Deshmudre <[email protected]>
furgalep
furgalep previously approved these changes Oct 29, 2026

@furgalep furgalep left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

furgalep
furgalep previously approved these changes Nov 3, 2026

@furgalep furgalep left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@init-nikhil

Copy link
Copy Markdown
Member Author

/ok to test 8bbc8cd

@init-nikhil
init-nikhil added this pull request to the merge queue Nov 4, 2026
@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

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

Merged via the queue into main with commit c17e9f7 Nov 4, 2026
58 of 62 checks passed
@init-nikhil
init-nikhil deleted the codex/nooa-terminal-bench-recipe branch November 4, 2026 03:37

This branch was previously deployed

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

Labels

area:agent Agent harnesses and Responses API agent behavior area:environment Individual environments, benchmarks, verifiers, and environment-specific resources servers area:evaluation Evaluation, rollout collection, reward profiling, comparison, and exporters benchmark-onboarding Self-contained benchmark onboarding complexity:low Localized change in one scope with a small, straightforward 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.

5 participants