Evaluating and Achieving Controllable Code Completion in Code LLM
Not on the map. Why?
Abstract (arXiv)
Code completion has become a central task, gaining significant attention with the rise of large language model (LLM)-based tools in software engineering. Although recent advances have greatly improved LLMs' code completion abilities, evaluation methods have not advanced equally. Most current benchmarks focus solely on functional correctness of code completions based on given context, overlooking models' ability to follow user instructions during completion-a common scenario in LLM-assisted programming. To address this limitation, we present the first instruction-guided code completion benchmark, Controllable Code Completion Benchmark (C3-Bench), comprising 2,195 carefully designed completion tasks. Through comprehensive evaluation of over 40 mainstream LLMs across C3-Bench and conventional benchmarks, we reveal substantial gaps in instruction-following capabilities between open-source and advanced proprietary models during code completion tasks. Moreover, we develop a straightforward data synthesis pipeline that leverages Qwen2.5-Coder to generate high-quality instruction-completion pairs for supervised fine-tuning (SFT). The resulting model, Qwen2.5-Coder-C3, achieves state-of-the-art performance on C3-Bench. Our findings provide valuable insights for enhancing LLMs' code completion and instruction-following capabilities, establishing new directions for future research in code LLMs. To facilitate reproducibility and foster further research in code LLMs, we open-source all code, datasets, and models.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 33 of its 44 references that are in the map. First posted on arXiv 22 Jan 2026.
Builds on
33 of 44 references.
References · 33
- 2023GPT-4 Technical Reportcited by 18,132
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
- 2022Competition-Level Code Generation with AlphaCodecited by 1,427
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
- 2024Chatbot Arena: An Open Platform for Evaluating LLMs by Human Preferencecited by 1,151
- 2024Qwen2.5-Coder Technical Reportcited by 1,151
- 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 527
21 more
- 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
- 2024StarCoder 2 and The Stack v2: The Next Generationcited by 484
- 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 442
- 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 357
- 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learningcited by 342
- 2022Efficient Training of Language Models to Fill in the Middlecited by 248
- 2023CrossCodeEval: A Diverse and Multilingual Benchmark for Cross-File Code Completioncited by 181
- 2023SantaCoder: don't reach for the stars!cited by 169
- 2024CodeGemma: Open Code Models Based on Gemmacited by 145
- 2024OpenCoder: The Open Cookbook for Top-Tier Code Large Language Modelscited by 127
- 2023CodeGen2: Lessons for Training LLMs on Programming and Natural Languagescited by 124
- 2023Execution-based Code Generation using Deep Reinforcement Learningcited by 95
- 2024Repoformer: Selective Retrieval for Repository-Level Code Completioncited by 55
- 2024McEval: Massively Multilingual Code Evaluationcited by 42
- 2024LLMArena: Assessing Capabilities of Large Language Models in Dynamic Multi-Agent Environmentscited by 35
- 2025Copilot Arena: A Platform for Code LLM Evaluation in the Wildcited by 25
- 2024Evaluation of LLMs on Syntax-Aware Code Fill-in-the-Middle Taskscited by 24
- 2023On the Evaluation of Neural Code Translation: Taxonomy and Benchmarkcited by 23
- 2025CodeIF: Benchmarking the Instruction-Following Capabilities of Large Language Models for Code Generationcited by 18
- 2024MdEval: Massively Multilingual Code Debuggingcited by 16
- 2020Review4Repair: Code Review Aided Automatic Program Repairingcited by 13
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026Qwen3-Coder-Next Technical Reportcited by 60
- 2026Qwen3-Coder-Next Technical Report28 Feb 2026
Similar, not cited
Close in wording, no citation either way
- 2025Beyond Synthetic Benchmarks: Evaluating LLM Performance on Real-World Class-Level Code Generation
- 2025Structure-Aware Corpus Construction and User-Perception-Aligned Metrics for Large-Language-Model Code Completion
- 2025PACIFIC: a framework for generating benchmarks to check Precise Automatically Checked Instruction Following In Code
- 2026From Completion to Editing: Unlocking Context-Aware Code Infilling via Search-and-Replace Instruction Tuning
- 2026CoRE: A Fine-Grained Code Reasoning Benchmark Beyond Output Prediction
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code
- 2025From Context to Intent: Reasoning-Guided Function-Level Code Completion
- 2025CodeJudgeBench: Benchmarking LLM-as-a-Judge for Coding Tasks