paper-with-me

Papers

RepoBench: Benchmarking Repository-Level Code Auto-Completion Systems

2023-06-05 · Tianyang Liu, Canwen Xu, Julian McAuley

Large Language Models (LLMs) have greatly advanced code auto-completion systems, with a potential for substantial productivity enhancements for developers. However, current benchmarks mainly focus on single-file tasks, leaving an assessment gap for more complex, real-world, multi-file programming scenarios. To fill this gap, we introduce RepoBench, a new benchmark specifically designed for evaluating repository-level code auto-completion systems. RepoBench supports both Python and Java and consists of three interconnected evaluation tasks: RepoBench-R (Retrieval), RepoBench-C (Code Completion), and RepoBench-P (Pipeline). Each task respectively measures the system's ability to retrieve the most relevant code snippets from other files as cross-file context, predict the next line of code with cross-file and in-file context, and handle complex tasks that require a combination of both retrieval and next-line prediction. RepoBench aims to facilitate a more complete comparison of performance and encouraging continuous improvement in auto-completion systems. RepoBench is publicly available at https://github.com/Leolty/repobench.

📄 PDF Abstract BibTeX arXiv:2306.03091

Code (1)

Leolty/repobench 공식 구현 pytorch

Tasks

BenchmarkingC++ codeCode CompletionRetrieval

Methods 이 논문이 사용한 방법론

Focus 설명 없음

Similar Papers 제목 키워드 기반

SecRepoBench: Benchmarking LLMs for Secure Code Generation in Real-World Repositories

2025-04-29 · Connor Dilgren, Purva Chiniya, Luke Griffith, Yu Ding 외

This paper introduces SecRepoBench, a benchmark to evaluate LLMs on secure code generation in real-world repositories. SecRepoBench has 318 code generation tasks in 27 C/C++ repositories, covering 15 CWEs. We evaluate 19…

BenchmarkingCode GenerationPrompt Engineering

ExecRepoBench: Multi-level Executable Code Completion Evaluation

2024-12-16 · Jian Yang, Jiajun Zhang, Jiaxi Yang, Ke Jin 외

Code completion has become an essential tool for daily software development. Existing evaluation benchmarks often employ static methods that do not fully capture the dynamic nature of real-world coding environments and f…

Code Completion

RANGER -- Repository-Level Agent for Graph-Enhanced Retrieval

2025-09-27 · Pratik Shah, Rajat Ghosh, Aryan Singhal, Debojyoti Dutta arxiv

General-purpose automated software engineering (ASE) includes tasks such as code completion, retrieval, repair, QA, and summarization. These tasks require a code retrieval system that can handle specific queries about co…

Natural Language QueriesQuestion AnsweringCode CompletionCode Search

Hierarchical Embedding Fusion for Retrieval-Augmented Code Generation

2026-02-04 · Nikita Sorokin, Ivan Sedykh, Valentin Malykh arxiv

Retrieval-augmented code generation often conditions the decoder on large retrieved code snippets. This ties online inference cost to repository size and introduces noise from long contexts. We present Hierarchical Embed…

Code GenerationCode Completion

Can Language Models Replace Programmers for Coding? REPOCOD Says 'Not Yet'

2024-10-29 · Shanchao Liang, Yiran Hu, Nan Jiang, Lin Tan

Recently, a number of repository-level code generation benchmarks-such as CoderEval, DevEval, RepoEval, RepoBench, and LongCodeArena-have emerged to evaluate the capabilities of large language models (LLMs) beyond standa…

Code CompletionCode GenerationHumanEvalmbpp+1