# OpenSWE

- **ID:** 259
- **Kind:** dataset
- **URL:** https://huggingface.co/datasets/GAIR/OpenSWE
- **Authors:** GAIR (Global AI Research Lab, SII)
- **Venue:** GAIR / SII-GAIR-NLP (HuggingFace)
- **Published:** 2026
- **Source:** huggingface
- **Language:** English, Python
- **Access:** restricted
- **License:** mixed-permissive-and-cc-by-4.0
- **License family:** Permissive (auto-classified)
- **Topics:** Code / Software Engineering
- **Added:** 2026-07-17
- **Verified:** 2026-07-17
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/259

## Summary

OpenSWE is the largest fully transparent framework for training software engineering (SWE) agents, comprising 45,320 executable Docker environments across 12.8k repositories with all Dockerfiles, evaluation scripts, and infrastructure open-sourced for reproducibility. Built via a multi-agent synthesis pipeline on a 64-node distributed cluster, it yields ~13,000 curated trajectories from ~9,000 quality-guaranteed environments and produces models (OpenSWE-32B/72B) achieving SOTA among SFT-based methods on SWE-bench Verified (62.4%/66.0%).

## Attributes

- **Purpose:** Training and evaluating SWE (software engineering) agents on real-world pull-request resolution tasks in executable Docker environments
- **Scale:** 45,320 environments, 12.8k repositories, ~13k curated trajectories, 10K-100K rows
- **Used for:** Training OpenSWE-32B and OpenSWE-72B models (Qwen2.5-based), SWE-bench Verified evaluation
- **Time period:** 2025
- **Author type:** mixed

## From the source (fetched 2026-10-03)

- **Repository:** GAIR/OpenSWE (Hugging Face)
- **Created:** Mar 15, 2026 (Hugging Face)
- **Last updated:** Mar 17, 2026 (Hugging Face)
- **Downloads (last month):** 1,715 (Hugging Face)
- **Likes:** 27 (Hugging Face)
- **Size:** 10K to 100K rows (Hugging Face)
- **Modalities:** code, text (Hugging Face)
- **Formats:** json (Hugging Face)
- **Gated:** yes (Hugging Face)

## Dataset profile

- **Scale:** 45,320 Docker environments over 12.8k repos; ~13k curated trajectories from ~9k filtered envs; Hub used_storage ~18.1 GB (jsonl + assets)
- **Format:** jsonl (openswe_oss.jsonl, openswe_other.jsonl, openswe_traj.jsonl) + filtered_ids.csv + Dockerfiles/eval scripts via GitHub
- **Type:** Executable SWE environments + curated agent trajectories (real GitHub-derived)
- **License:** AGPL-3.0 (project LICENSE; Hub tag other)
- **Cost:** Free download after gate; heavy compute to rebuild/run environments
- **Languages:** en (issue/PR text); code primarily Python repositories
- **Modality:** Text + code + executable Docker environments
- **Domain:** Software engineering agents; executable Python SWE environments; trajectories
- **Time period:** Hub 2026-03-15 to 2026-03-17; paper Mar 2026; Discord 2026-03-20
- **Purpose:** Transparent large-scale SWE environment synthesis + difficulty-filtered trajectories for agent training
- **Used for:** SWE agent SFT; OpenSWE-32B/72B training; SWE-bench Verified evals (62.4%/66.0%). Hub ~835 downloads / 24 likes.
- **Authors:** GAIR-NLP / Dayuan Fu et al. (academic lab)
- **Bias:** Real GitHub PRs filtered for solvability/non-triviality; Python-heavy; OSS-redistributable subset vs Dockerfile-only for non-redistributable repos; construction cost ~$891k + $576k traj curation
- **Text quality:** Structured env/task records + agent trajectories; quality-centric filter removes unsolvable/trivial instances (PR–issue misalignment etc.). Strong empirical validation vs SWE-rebench.
- **Sample size:** Full 45.3k envs; filtered subset via filtered_ids.csv (~9k quality envs / ~13k traj)
- **Long context:** Yes (repo context, patches, trajectories)
- **Intermediate steps:** Multi-agent synthesis on 64-node cluster: repo exploration → Dockerfile → eval scripts → iterative test analysis → difficulty-aware traj sampling
- **Idea quality:** High
- **Novelty:** High (largest fully transparent open SWE env framework at this scale with open infra)
- **Text conversion:** Partial — jsonl loadable; full use needs Docker build/eval stack from GitHub; Hub gated=auto
- **Collection method:** Download + Docker; accept Hub gate
- **Static:** Unknown (Mar 2026 release; may extend)
- **Processed:** Yes (synthesized envs + curated traj; raw GitHub not shipped wholesale)

## Links

- Dataset: https://huggingface.co/datasets/GAIR/OpenSWE
- Related: https://arxiv.org/abs/2603.13023
- Related: https://huggingface.co/datasets/GAIR/OpenSWE
- Related: https://github.com/GAIR-NLP/OpenSWE
- Related: https://huggingface.co/GAIR/OpenSWE-72B

## Research notes

- Requires accepting conditions and sharing contact info to access. Construction cost ~$891K (environments) + $576K (trajectory sampling/curation). Associated arXiv papers: 2603.13023, 2505.20411, 2506.10954.
- Distinct from nvidia/Open-SWE-Traces. Paper title daVinci-Env. Discord mid=1484616179858280601. Verified via arXiv abs + HF card/info.

## Related entries

- Related: [daVinci-Env: Open SWE Environment Synthesis at Scale](https://papers.projxon.ai/entries/1126) (paper, #1126)

## Similar entries

- [UltraData-Code (OpenBMB L0–L3 tiered code pretrain: L2 algorithmic + L3 synthesis)](https://papers.projxon.ai/entries/1035) (dataset, #1035)
- [BigO(Bench): Can LLMs Generate Code with Controlled Time and Space Complexity?](https://papers.projxon.ai/entries/777) (paper, #777)
- [Effective Strategies for Asynchronous Software Engineering Agents](https://papers.projxon.ai/entries/1238) (paper, #1238)
- [Cross-Benchmark Transfer from RL on Agentic Coding Tasks](https://papers.projxon.ai/entries/1245) (paper, #1245)
- [Nemotron-Pretraining-Code-v1](https://papers.projxon.ai/entries/87) (dataset, #87)
- [CodeGenLink: A Tool to Find the Likely Origin and License of Automatically Generated Code](https://papers.projxon.ai/entries/966) (paper, #966)
