Metraipolis › archive › dc_7a2e3279421c

Enhancing Repository-Level Code Completion with Reinforcement Learning in Real-World Scenarios — arXiv:2611.07510

Source
arXiv (en)
Original
https://arxiv.org/abs/2611.07510
License (as archived)
CC0-1.0
Archived
2026-11-06T14:43:06.744Z
SHA-256 of the archived text
57f8073c503846a57f88a827a094f5705cf6aec3d836559f8a0d57713a671373
Stable URL of this page
https://metraipolis.com/documento/dc_7a2e3279421c

How to cite

Enhancing Repository-Level Code Completion with Reinforcement Learning in Real-World Scenarios — arXiv:2611.07510 — arXiv (en), https://arxiv.org/abs/2611.07510 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_7a2e3279421c (Metraipolis archive dc_7a2e3279421c, sha256 57f8073c503846a57f88a827a094f5705cf6aec3d836559f8a0d57713a671373)
BibTeX
@misc{dc7a2e3279421c,
  title = {Enhancing Repository-Level Code Completion with Reinforcement Learning in Real-World Scenarios — arXiv:2611.07510},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2611.07510},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_7a2e3279421c; sha256 57f8073c503846a57f88a827a094f5705cf6aec3d836559f8a0d57713a671373},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.07510. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

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. Experimental results show that our approach significantly improves the performance of Code LLMs. The code and the dataset are available at this https URL .

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.CL, nuovi lavori del giorno).
Categorie arXiv: Computation and Language (cs.CL).
Pagina del lavoro: https://arxiv.org/abs/2611.07510 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-11-06T14:18:57.585Z dalla pagina https://arxiv.org/list/cs.CL/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).