SWE-Nexus: Automated Composition of Software Engineering Tasks from Test Execution

Songwei Yu, Ziqi Miao, Jingxuan Xu, Junhao Fan, Haoyang Huang +8 more
10/14/2026
cs.SEcs.AI

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yu2026swenexus,
  title  = {SWE-Nexus: Automated Composition of Software Engineering Tasks from Test Execution},
  author = {Songwei Yu and Ziqi Miao and Jingxuan Xu and Junhao Fan and Haoyang Huang and Yuan Xiong and Zihang Xu and Weihao Li and Wenqiang Zhu and Yuechen Luo and Xinshun Feng and Yanan Wu and Ken Deng},
  year   = {2026},
  eprint = {2610.20038},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.20038v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.20038.svg)](https://codeofpaper.com/paper/2610.20038)

Discussion