Manuscript Offprint

arXiv:2611.01484

CrossSWE: Benchmarking Cross-Repository Joint Development for Coding Agents

Silin Chen, Yuling Shi, Heng Lian, Zihan Zhang, Xiaodong Gu, Haotian Lin, Zhensu Sun

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

As coding agents achieve increasingly high success rates on software engineering benchmarks, recent efforts have sought to increase task complexity through longer horizons and more extensive code modifications. However, real-world software development often spans multiple interdependent repositories, introducing additional challenges in dependency reasoning, change propagation, and interface consistency. Rather than further increasing complexity within individual repositories, we introduce CrossSWE, a benchmark for cross-repository joint development comprising 171 real-world instances spanning 165 repositories, 20 technical domains, and 13 programming languages. CrossSWE verifies the necessity of coordinated changes by testing whether partial repository modifications are insufficient to achieve the intended behavior. Our evaluation of five LLMs reveals substantial challenges, with the strongest model, GPT-6.1 Sol, achieving only 58.48% Pass@1. Furthermore, cross-repository inconsistencies emerge as the most prevalent failure mode (44.2%), highlighting the difficulty of maintaining consistency across interdependent repositories.

1 Introduction

Large language models (LLMs) and coding agents (Lin et al., 2024, 2026; Ma et al., 2026; Chen et al., 2026b,c,d; Pan et al., 2026; Lyu et al., 2026; Chen et al., 2026f) have made rapid progress on repository-level software engineering. Benchmarks such as SWE-BENCH (Jimenez et al., 2024) have established issue resolution in real-world repositories as a standard evaluation setting, while subsequent work has expanded this paradigm toward

Figure

Figure 1: Comparison of single-repository SWE tasks and cross-repository SWE tasks.

broader language coverage (Zan et al., 2025), larger codebases (Zhang et al., 2026a), longer-horizon tasks (Deng et al., 2025), and more complex software changes (Shi et al., 2026b). As coding agents achieve increasingly high success rates on established issue-resolution benchmarks, increasing task complexity has become an important direction for evaluating their capabilities.

However, existing efforts primarily pursue this direction within individual repositories. No matter how large the codebase or how long the task, the context an agent needs to understand and the scope of changes it needs to consider are still bounded by a single repository, which limits how much further such tasks can grow in complexity. Some recent benchmarks, such as BEYONDSWE (Chen et al., 2026a) and DEPBENCH (Yang et al., 2026), have started to bring multiple repositories into the

∗^{*}Equal contribution.

†^{†}Corresponding author.

Figure

Figure 2: Real-world example of cross-repository joint development involving oath2-proxy and Higress.

picture. However, the other repositories in these settings merely serve as context. The agent reads them to understand an API, a dependency, or a change history, but the patch it writes and the tests that check it still stay within one repository.

To introduce greater complexity, we propose cross-repository SWE tasks for agent evaluation, which requires an agent to change multiple repositories together to complete a single task (Figure 1). It is a common real-world practice, as changes to APIs, libraries, or protocols in one repository can propagate to other dependent repositories, requiring corresponding modifications across repository boundaries. Such dependencies arise in API evolution, dependency migration (Yang et al., 2026), compatibility fixes, and feature rollouts, where modifying only one repository may be insufficient to achieve the intended behavior. Figure 2 illustrates a real-world example involving two repositories: oath2-proxy and Higress. During session refresh, multiple cookies are incorrectly merged into a single HTTP header, causing authentication failures. Resolving this issue requires changes to both repositories: oath2-proxy must preserve cookies as a list, while Higress must process and emit each cookie separately. Modifying only one repository leaves the shared interface inconsistent or the cookies improperly handled. Only the coordinated changes restore the intended behavior, illustrating the cross-repository joint necessity.

Unlike conventional repository-level repair, cross-repository joint development requires agents to reason about dependencies and implementation constraints across multiple codebases (Chen et al., 2026a). Beyond understanding the implementa-

tion within each repository, agents must identify the relevant cross-repository interfaces, determine how changes affect dependent components, and produce mutually compatible modifications. Even when individual repository patches appear correct, inconsistencies between them can prevent the overall task from being resolved. These requirements introduce additional challenges in dependency reasoning, change propagation, and cross-repository consistency that cannot be fully captured by single-repository evaluation.

To address this gap, we introduce CrossSWE, a benchmark for cross-repository joint development comprising 171 real-world instances spanning 165 distinct repositories, 20 technical domains, and 13 programming languages. Among these instances, 165 involve two repositories, five involve three repositories, and one involves five repositories. As shown in Figure 3, CrossSWE exhibits a broader reference-patch scope than SWE-bench Pro and SWE-Bench ProMax, with 56.1% of instances modifying more than ten files and 66.7% changing over 200 lines of code.

Our contributions are summarized as follows: (1) We introduce CrossSWE, a benchmark comprising 171 real-world cross-repository joint-development tasks spanning 165 repositories, 20 technical domains, and 13 programming languages. (2) We evaluate five frontier LLMs, revealing substantial challenges in cross-repository joint development, with the strongest model achieving only 58.48% Pass@1. (3) We identify cross-repository inconsistencies as the most prevalent failure mode, highlighting the difficulty of maintaining consistency across interdependent repositories.

Figure

Figure

Figure 3: Distribution of reference-patch sizes across CrossSWE, SWE-bench Pro, and SWE-Bench ProMax.

References (22)