← Back to Model Beat
Open Source·Nov 6·all news from November 6, 2026

Enhancing Repository-Level Code Completion with Reinforcement Learning in Real-World Scenarios

arXiv:2611.07510v1 Announce Type: new Abstract: The rapid development of large language models (LLMs) for code, which closely aligns with the practical needs of real-world software development, has sparked growing attention in repository-level code completion. However, existing Code LLMs present challenges in focusing on suitable contexts from the repository and in deeply reasoning about cross-file dependencies. To address these challenges, we propose a novel reinforcement learning framework for repository-level code completion. To better understand both in-file and cross-file contexts, we employ identifier-driven intent recognition to capture completion intent, thereby improving the model's performance in real-world scenarios. To enhance cross-file reasoning, we propose a reward-driven completion learning to effectively reward in complex repository completion scenarios. To guide LLMs in completing code that aligns with intended functionality and repository context, we introduce a selective-exploration strategy that directs the model to focus on low-confidence, high-reward tokens, promoting the exploration of valuable, underexplored completion patterns.…

Covered by 1 source

  • AarXiv CS.AI↗Zhenlong Dai, Zhuoluo Zhao, Xiu Tang, Sai Wu, Chang Yao, Zhipeng Gao, Jingyuan ChenNov 6

Related stories

Open SourceCoreWeave Boosts Forecast, Easing Concerns About SlowdownNov 10 · 5 sourcesOpen SourcePathXAI: Evidence-guided structured pathology reporting by transferable tissue segmentationNov 9Open SourceOpen Source pg_vectorsearch Brings More Scalable Vector Search to PostgreSQLNov 7Open SourceZ.ai’s Jie Tang Shows GLM Data Recipe: 1T Pages, 500M ReposNov 5 · 2 sources