feat(mini_swe_agent_2): opt-in reuse of the shared verifier (#1249) [3/3] - #1679
Closed
adil-a wants to merge 1 commit into
Closed
feat(mini_swe_agent_2): opt-in reuse of the shared verifier (#1249) [3/3]#1679adil-a wants to merge 1 commit into
adil-a wants to merge 1 commit into
Conversation
…1249) Adds an opt-in path to mini-swe-agent-2 that scores its patch through the shared swe_env verifier over HTTP (the same contract the OpenHands agent uses), proving the verifier is agent-agnostic. Off by default; in-process grading remains the default. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: adil-a <adil.asif2000@hotmail.com>
This was referenced Jun 23, 2026
Closed
adil-a
pushed a commit
to adil-a/Gym
that referenced
this pull request
Jun 26, 2026
…b + verifier + docker provider; drop openclaw) Self-contained anyswe-on-swe_env on top of cmunley1/anyswe (now merged with latest main): - add swe_env library (responses_api_agents/swe_env/) + inline verifier (resources_servers/swe_env/) - add the docker sandbox provider + register it (main has apptainer/opensandbox, not docker) - replace anyswe_agent with the swe_env-based version: docker + apptainer backends, local-.sif support, --writable-tmpfs, claude_code anthropic_base_url=null (real Anthropic by default) - drop openclaw + orphaned dataset setup scripts + unused example_rollouts (out of scope) Supersedes the NVIDIA-NeMo#1677 stack (NVIDIA-NeMo#1677/NVIDIA-NeMo#1678/NVIDIA-NeMo#1679) and the prior NVIDIA-NeMo#1738 base (stack/3). Unit tests: anyswe 16, swe_env lib 134 (+1 skip), verifier 14 (+2 skip) = 164 passed. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
Author
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.
Opt-in verifier reuse for mini-swe-agent-2 (#1249)
Stacked PR 3 of 3 · base:
stack/2-swe-agents-openhandsBuilds on PR 1 (library + verifier) and PR 2 (OpenHands cutover). This PR proves the verifier is genuinely agent-agnostic by wiring a second, independent agent to it.
What changes
mini_swe_agent_2gains an opt-in path that scores its patch through the sharedswe_envverifier over HTTP — the exact same contract the OpenHands agent uses in PR 2. It emits the normalized unified-diff patch field and POSTs a standard verify request.Tests
ruffclean. The full stack (PR1+PR2+PR3) reconstructs the verified tree exactly and all suites pass together (swe_env 168, verifier 14, swe_agents 82, mini 20).Review notes
🤖 Generated with Claude Code
Stack created with GitHub Stacks CLI • Give Feedback 💬