Search papers, labs, and topics across Lattice.
The authors introduce OpenSWE, a large-scale, fully transparent framework for training software engineering agents in Python, comprising 45,320 executable Docker environments derived from over 12.8k repositories. They employ a multi-agent synthesis pipeline across a 64-node distributed cluster to automate environment creation and propose a quality-centric filtering pipeline to retain only challenging and solvable instances. Experiments demonstrate that models trained on OpenSWE achieve state-of-the-art performance on SWE-bench Verified and exhibit significant out-of-domain improvements in mathematical reasoning and science benchmarks.
Forget small-scale SWE datasets: OpenSWE delivers 45K executable environments for training software engineering agents, unlocking SOTA results and surprising out-of-domain gains.
Training capable software engineering (SWE) agents demands large-scale, executable, and verifiable environments that provide dynamic feedback loops for iterative code editing, test execution, and solution refinement. However, existing open-source datasets remain limited in scale and repository diversity, while industrial solutions are opaque with unreleased infrastructure, creating a prohibitive barrier for most academic research groups. We present OpenSWE, the largest fully transparent framework for SWE agent training in Python, comprising 45,320 executable Docker environments spanning over 12.8k repositories, with all Dockerfiles, evaluation scripts, and infrastructure fully open-sourced for reproducibility. OpenSWE is built through a multi-agent synthesis pipeline deployed across a 64-node distributed cluster, automating repository exploration, Dockerfile construction, evaluation script generation, and iterative test analysis. Beyond scale, we propose a quality-centric filtering pipeline that characterizes the inherent difficulty of each environment, filtering out instances that are either unsolvable or insufficiently challenging and retaining only those that maximize learning efficiency. With 891K spent on environment construction and an additional 576K on trajectory sampling and difficulty-aware curation, the entire project represents a total investment of approximately $1.47 million, yielding about 13,000 curated trajectories from roughly 9,000 quality guaranteed environments. Extensive experiments validate OpenSWE's effectiveness: OpenSWE-32B and OpenSWE-72B achieve 62.4% and 66.0% on SWE-bench Verified, establishing SOTA among Qwen2.5 series. Moreover, SWE-focused training yields substantial out-of-domain improvements, including up to 12 points on mathematical reasoning and 5 points on science benchmarks, without degrading factual recall.