Skip to content

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

cs.SE

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