Skip to content

cp: [mini-swe-agent 2] Quickstart fix + gradeable example data & rollouts (1896) into r0.4.0 - #1898

Merged
ananthsub merged 1 commit into
r0.4.0from
cherry-pick-1896-r0.4.0
Jul 2, 2026
Merged

ananthsub merged 1 commit into
r0.4.0from
cherry-pick-1896-r0.4.0

Conversation

@svcnvidia-nemo-ci

Copy link
Copy Markdown
Contributor

beep boop [🤖]: Hi @ananthsub 👋,

we've cherry picked #1896 into  for you! 🚀

Please review and approve this cherry pick by your convenience!

…#1896)

## Summary

Supersedes #1782 (carries @hemildesai's quickstart README/test changes)
and addresses the review feedback that the environment needs **5 example
rows + example rollouts**, plus a QA-reported Quick Start install
failure.

- **Gradeable example data**: replaces the single `subset: gym` row with
**5 SWE-bench Verified rows** (`data/example.jsonl`). SWE-Gym repos
(e.g. `getmoto/moto`) are absent from the pinned `swebench==4.1.0`
`MAP_REPO_VERSION_TO_SPECS`, so gym-subset rows raise `KeyError` during
grading and never yield a reward. Verified repos are in the map and
match the README's stated primary validation target.
- **Pre-generated rollouts**: adds `data/example_rollouts.jsonl` (+
`example_rollouts_aggregate_metrics.json`) generated end-to-end with
**Qwen3-30B-A3B** via OpenSandbox. Results: `pass@1 = 20%` (1/5
resolved), `eval_error_rate = 0`, `patch_applied_rate = 100%` — a real
reward signal.
- **Unit test**: updates the committed-data test to validate all 5 rows.
- **Quick Start install fix**: `requirements.txt` pins `nemo-gym` via a
`../../` editable path that pip/uv resolve relative to the **current
working directory**, so running `uv pip install -r
responses_api_agents/mini_swe_agent_2/requirements.txt` from the repo
root points one level above the repo and fails with `... does not appear
to be a Python project`. The README now installs the agent's extra deps
directly (`nemo-gym[sandbox]` already comes from `uv sync --extra
sandbox`), and documents the pitfall.

## Test plan

- [x] `uv run pytest
responses_api_agents/mini_swe_agent_2/tests/test_app.py -q`
- [x] `python -m json.tool` over each row of `data/example.jsonl` (5
valid SWE-bench Verified rows)
- [x] End-to-end `gym env start` + `gym eval run --no-serve` against
OpenSandbox + a local vLLM Qwen3-30B-A3B endpoint, producing
`data/example_rollouts.jsonl`
- [x] Verified sandbox image
(`docker.io/swebench/sweb.eval.x86_64.<id>`) pulls and runs in
OpenSandbox

---------

Signed-off-by: Hemil Desai <[email protected]>
Signed-off-by: Ananth Subramaniam <[email protected]>
Co-authored-by: Hemil Desai <[email protected]>
Signed-off-by: NeMo Bot <[email protected]>
@svcnvidia-nemo-ci

Copy link
Copy Markdown
Contributor Author

/ok to test 9eb014a

@copy-pr-bot

copy-pr-bot Bot commented Jul 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.

@ananthsub
ananthsub enabled auto-merge (squash) July 2, 2026 05:12
@ananthsub
ananthsub merged commit 2ce38d8 into r0.4.0 Jul 2, 2026
28 of 31 checks passed
@ananthsub
ananthsub deleted the cherry-pick-1896-r0.4.0 branch July 2, 2026 05:13

This branch was previously deployed

1 inactive deployment
public — 9eb014ab Deployed Jul 2, 2026 by copy-pr-bot[bot] via release / finalize / notify #642
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants