# SWE-bench Pro (2025)

> Multi-file changes from 11 copyleft repositories, graded by hidden tests in a container.

Page: https://mralbu.github.io/ai-datasets/d/swe-bench-pro

## Key facts

- Category: LLMs
- Task: Long-horizon software engineering in real Go, Python, TypeScript and JavaScript repositories
- Creators: Xiang Deng, Jeff Da, Edwin Pan et al. (Scale AI)
- Size: 1,865 tasks in the paper; 642 public (V2), plus held-out and commercial sets
- Splits: test 642
- Input: A PR description, a list of requirements and the new interfaces, plus the repository at the base commit
- Labels: The developers' patch, and tests that must go from failing to passing
- License: MIT for the harness and tooling; the task code comes from GPL and AGPL repositories
- Paper: [SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?](https://arxiv.org/abs/2509.16941)
- Homepage: https://labs.scale.com/papers/swe-bench-pro
- Hugging Face: [ScaleAI/SWE-bench_Pro](https://huggingface.co/datasets/ScaleAI/SWE-bench_Pro)
- Sampled at Hub revision 2d52cb3df914a3fcf80c7f66738b3a88ae37fc50 (2026-11-08)

## Why it matters

By 2025 SWE-bench Verified was close to saturated and suspected of leaking into training data: its 12 Python projects have been public for years. SWE-bench Pro keeps the same recipe (real issue, real repository, hidden tests) but asks for much bigger changes in more languages. At release no model passed 25% of the tasks; GPT-5 led with 23.3%. Frontier models score much closer together on SWE-bench Verified, so labs now report SWE-bench Pro next to it as the harder coding-agent number.

## Worth knowing

- Reference fixes average 107 changed lines across 4.1 files; fixes of 10 lines or fewer were left out. In SWE-bench Verified, 161 of the 500 tasks need only a one- or two-line change.
- The public and held-out repositories were chosen for strong copyleft licenses (GPL), a legal barrier to putting them in commercial training data. The held-out set of 12 repositories stays private.
- A commercial set comes from 18 proprietary startup codebases. Only the scores are published.
- Humans rewrote each issue into a PR-style description with explicit requirements and interfaces, so a task is solvable without guessing names the hidden tests expect.
- V2 (September 2026) dropped 89 of the original 731 public tasks with broken tests and rewrote 529 problem statements so every graded behavior is stated in the text.

## Get the data

```bash
# pip install -U huggingface_hub
hf download ScaleAI/SWE-bench_Pro --repo-type dataset \
  --local-dir swe-bench-pro
```

```python
from datasets import load_dataset   # pip install datasets

ds = load_dataset("ScaleAI/SWE-bench_Pro")
print(ds)
```

```python
import polars as pl

df = pl.read_parquet("hf://datasets/ScaleAI/SWE-bench_Pro@~parquet/default/test/*.parquet")
print(df.shape)
```

## Related datasets

- [SWE-bench](https://huggingface.co/datasets/princeton-nlp/SWE-bench): 2023, 2,294 issues from 12 Python projects (on this site: https://mralbu.github.io/ai-datasets/d/swe-bench)
- [SWE-bench Verified](https://huggingface.co/datasets/princeton-nlp/SWE-bench_Verified): 2024, 500 human-validated SWE-bench tasks
- [Terminal-Bench](https://huggingface.co/datasets/ia03/terminal-bench): 2025, agent tasks in a terminal rather than patches (on this site: https://mralbu.github.io/ai-datasets/d/terminal-bench)
- [DeepSWE](https://deepswe.datacurve.ai/): 2026, 113 original long-horizon tasks in five languages (gated)

## Landmark papers

- [SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering](https://arxiv.org/abs/2405.15793) (2024)

## Papers on this site that use it

- [SWE-bench Pro (2025)](https://mralbu.github.io/ai-datasets/p/swe-bench-pro.md): A harder SWE-bench built from copyleft and private codebases, with multi-file changes that take a professional hours or days.
