SWE-bench provides datasets and a Docker-based harness to evaluate language models on fixing real open-source GitHub issues from curated repositories.
Overview
SWE-bench measures how well large language models resolve practical software engineering tasks drawn from GitHub issues. Each task pairs a codebase snapshot with a problem statement and expects a patch that fixes the described bug.
A command-line harness builds task images with Docker and scores model-generated patches against reference solutions. Dataset aliases cover full, verified, multimodal, and multilingual splits, or teams can point evaluations at Hugging Face ids and local checkouts.
Setup documentation covers Docker installation, ARM build options, and logging of build and evaluation runs. Result caching reuses prior instance runs when identifiers repeat.
Key features
- Real GitHub issue tasks
- Docker evaluation harness
- Multiple dataset splits
- CLI patch scoring
- Reproducible container builds
- Hugging Face dataset ids
- Evaluation log output
- ARM build guidance
Use cases
- Benchmarking coding models
- Comparing issue-fixing agents
- Reproducible LLM research
- Regression testing model patches