DUPLEX: A Dual-Plane Architecture for Monitored and Staged Repo-Level Code Repair
Yinuo Deng, Kaiyu Deng, Hanchen Wang, Longbin Lai, Shiqi Yang, Ying Zhang
Abstract
Recent advances in large language model (LLM)-driven agents have significantly improved software repair automation. While state-of-the-art LLMs achieve strong results, mainstream LLMs are more affordable but often struggle with repo-level repair due to limited controllability and weak long-horizon progress management. We introduce DUPLEX, an end-to-end repo-level repair agent with a two-plane architecture: a Monitor Plane for stagnation detection and context backoff, and a Worker Plane for staged repair under independent contexts with controlled communication. On SWE-bench Verified, DUPLEX improves repair accuracy by 10.0\% over baseline methods with open-source models. These results demonstrate that agent architecture can substantially improve repo-level repair performance across open-source models of different scales.
Create a lesson
Related papers
When Diagnostics Mislead in Verified Code Repair
Shared title terminologycs.SEJunyi Yang
From Code to Architecture: Responsibility Analysis and Dependency Graphs in the Inference of Architectural Patterns in Kotlin
Shared title terminologycs.SEJoão Pedro Moura, Breno Miranda
What File-Level Hits Hide in Bug Localization: Paths, Functions, and Repair
Shared title terminologycs.SELibin Chen, Quanyou Lao, Luyao Wang et al.
How Much Do Coding Agents Over-Edit, and Why? An Empirical Study of Unneeded Edits in Repository-Level Agent Patches
Shared title terminologycs.SEAakash Goel, Benjamin Steenhoek, Yu Hu
RepoClean: Evaluating Coding Agents on Repository-Level Obsolete Code Cleanup
Shared title terminologycs.SEHongyixuan Yuan, Qixing Zhou, Pengcheng Huang et al.
Does the Agent's Map Match the Territory? Architectural Claims in AI Agent Context Files and Their Fit with the Code
Shared title terminologycs.SEBachan Ghimire, Daniela Damian