feat(swesmith): add SWE-Smith benchmark evaluation scaffold#428
Draft
mkaramuk wants to merge 3 commits intoOpenHands:mainfrom
Draft
feat(swesmith): add SWE-Smith benchmark evaluation scaffold#428mkaramuk wants to merge 3 commits intoOpenHands:mainfrom
mkaramuk wants to merge 3 commits intoOpenHands:mainfrom
Conversation
Add core inference and evaluation scripts for running OpenHands agents on SWE-Smith task instances. Co-Authored-By: Muhammed Karamuk <mkaramuk@proton.me>
Co-Authored-By: Muhammed Karamuk <mkaramuk@proton.me>
Co-Authored-By: Rb <rubenwolff@gmail.com>
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.
Adds SWE-Smith benchmark support following the existing Evaluation base class pattern. The scaffold handles inference (running agents against SWE-Smith task instances in Docker containers) and evaluation (converting results to SWE-Smith format and invoking the swesmith harness).
Environment variable forwarding into Docker containers uses an OPENHANDS_* prefix convention — any env var with this prefix is forwarded with the prefix stripped (e.g., OPENHANDS_ANTHROPIC_API_KEY becomes ANTHROPIC_API_KEY inside the container).
Blocked on swesmith PyPI release
This PR should not be merged yet. The swesmith package on PyPI (0.0.8) does not include full private repo support, which was recently merged into SWE-smith's main branch but not yet released. Once a new version is published to PyPI, the dependency in pyproject.toml can point to it and this PR is ready to merge. That's why this PR marked as draft but we are open for any reviews, the code is ready.