Repository navigation
cp: [mini-swe-agent 2] Quickstart fix + gradeable example data & rollouts (1896) into r0.4.0 - #1898
Merged
Merged
Conversation
…#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]>
Contributor
Author
|
/ok to test 9eb014a |
ananthsub
approved these changes
Jul 2, 2026
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
beep boop [🤖]: Hi @ananthsub 👋,