SWE-Nexus: Automated Composition of Software Engineering Tasks from Test Execution
Songwei Yu, Ziqi Miao, Jingxuan Xu, Junhao Fan, Haoyang Huang, Yuan Xiong, Zihang Xu, Weihao Li,
Key points
From the paper's conclusion- We present SWE-Nexus, a fully automated pipeline that constructs repository-level implementation tasks from test execution.
Abstract
Historical code changes provide convenient task boundaries, but do not identify which production functions selected tests exercise or support composing validated behaviors beyond a single change. We present SWE-Nexus, a fully automated pipeline that constructs repository-level implementation tasks from test execution. Four construction agents select tests, adapt tracing and evaluation protocols to each repository, and generate behavioral specifications. For each selected test file, tracing records an observed execution footprint of production function bodies. A scope is retained only if all expected scoring points pass in the original repository and masking the traced bodies causes at least one failure or error. Compatible scopes are composed deterministically, with shared functions counted once and every constituent test file revalidated under the complete combined mask. The benchmark contains 600 tasks from 105 repositories across six programming languages, including 116 atomic and 484 composite tasks. We evaluate 12 models under three agent scaffolds. The best configuration resolves 37.8% of tasks in one attempt, and scope-weighted scoring measures partial recovery. SWE-Nexus enables task construction from validated behavior beyond individual historical changes.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Multi-step SWE: Can Coding Agents Keep Building on Their Own Code Over Long Horizons?arXiv · 2026
- RepoEviAgent: Scalable Synthesis of Evidence-Grounded Repository-Level Question Answering TasksarXiv · 2026
- SWE-Bench Pro V2: A Cleaner, Harder-to-Game Coding BenchmarkarXiv · 2026
- What the Specification Did Not Say: Specification-Oracle Gaps in Test-Graded Coding-Agent BenchmarksarXiv · 2026
- Harvesting SWE Benchmarks from Wild Vibe Coding SessionsarXiv · 2026
- SWE-Stream: Scaling Executable Training Data for SWE Agents via Progressive Construction and Elastic StreamingarXiv · 2026