NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

DevBench: An Interaction-Grounded Benchmark for Code Completion Models

Adarsh Kumarappan, Pareesa Ameneh Golnari, Wen Wen, Xiaoyu Liu, Gabriel Ryan, Yuting Sun, Shengyu Fu, Elsie NallipoguDL4C @ ICML 2026

TL;DR

This paper introduces DevBench, a novel benchmark for evaluating code completion models that is grounded in real-world developer interactions. By analyzing over a billion code completion events, DevBench captures realistic scenarios and difficulty patterns, revealing a critical tension between functional correctness and perceived helpfulness in current models.

What Problem Does This Paper Address?

Code completion is a cornerstone of modern software development, representing the most frequent form of human-AI interaction. However, existing benchmarks for evaluating these tools often fall short because they are not derived from how developers actually use them. These benchmarks tend to rely on synthetic tasks or static rules, failing to capture the nuances of real-world developer workflows, common failure modes, and the critical distinction between code that works and code that is useful and trusted by developers. This gap hinders the development of truly helpful and reliable AI coding assistants.

Methods

DevBench was constructed through a multi-stage process:

  1. Telemetry Analysis: Over a billion anonymized code completion interactions were analyzed to identify common, challenging scenarios and failure patterns. This telemetry data included cursor positions, generated completions, and user actions (accept, reject, edit).
  2. Category Derivation: Based on the telemetry analysis, six distinct task categories were defined, each representing a specific type of developer intent or coding challenge (e.g., API Usage, Code Purpose Understanding, Low Context). These categories were selected based on their prevalence and actionability as isolated completion tasks.
  3. Synthetic Instance Generation: To ensure contamination resistance and control over difficulty, 1,800 evaluation instances were synthesized using three different large language model families (GPT-40, Claude 3.5 Sonnet, and DeepSeek-V3). This multi-generator approach helps mitigate bias from any single model.
  4. Rigorous Validation: A three-stage validation funnel was employed: automatic syntax/execution checks, near-duplicate filtering against existing benchmarks, and blinded human review by senior researchers. This process ensured realism, quality, and contamination resistance.
  5. Multi-Metric Evaluation: Models are evaluated using a combination of:
  6. Functional Correctness (Pass@1): Standard execution-based testing to verify if generated code works.
  7. Similarity-Based Metrics: Average Cosine Similarity and Line 0 Exact Match Rate to assess syntactic closeness to golden completions.
  8. LLM-Judge Evaluation: Using a powerful LLM (Gemini 2.5 Flash) to approximate developer perception of contextual relevance and helpfulness.

Datasets

  • Training Data: Not explicitly detailed for model training, but the benchmark is derived from over one billion real developer code completion interactions (telemetry data).
  • Evaluation Benchmark: DevBench itself is a newly introduced benchmark comprising 1,800 synthesized evaluation instances across six programming languages (Python, JavaScript, TypeScript, Java, C++, C#) and six empirically derived task categories.

Key Insights and Ideas

  • The Helpfulness-Correctness Trade-off: The most striking insight is the persistent tension between code that is functionally correct (passes tests) and code that developers perceive as helpful and relevant. Models excelling in one often falter in the other, highlighting a critical challenge for developer trust.
  • Interaction-Grounded Evaluation is Crucial: Benchmarks derived from real developer interactions are essential for understanding how AI assistants perform in practice, rather than relying on synthetic or idealized scenarios.
  • Cross-Language and Cross-Category Diagnostics: DevBench's fine-grained analysis reveals significant capability gaps across different programming languages and task categories, offering actionable insights for model improvement.
  • Developer Trust is Key: The divergence between perceived helpfulness and actual correctness directly impacts developer trust. A model might produce plausible-looking code that contains subtle bugs, or correct code that doesn't align with the developer's intent.

Key Results

  • Challenging Benchmark: Even state-of-the-art models struggle with DevBench. The top performer achieved only 43.5% Pass@1, indicating the benchmark's difficulty and realism.
  • Helpfulness vs. Correctness: Models scoring highest on LLM-judge (perceived helpfulness) often failed hidden functional assertions. For example, Llama 4 Maverick and Mistral Medium 3.5 received high helpfulness scores but lower Pass@1 compared to GPT-5.5.
  • Category Performance Varies: "Low Context" was the strongest category across models, while "Code2NL/NL2Code" was the most challenging.
  • Language-Specific Gaps: Significant performance drops were observed in certain languages for specific models (e.g., Claude Opus 4.7's C# Pass@1 was only 9.9%).
  • Open Models Competitive: Large open-weight models like Llama 4 Maverick and Mistral Medium 3.5 showed competitive performance, slotting between frontier and compact tiers.

Limitations and Future Work

  • Language Coverage: DevBench currently covers six languages, representing a subset of the programming ecosystem. Future work could extend coverage to other languages like Rust, Go, and Swift.
  • Evaluation Frameworks: While DevBench uses multiple metrics, there's an opportunity to develop more sophisticated composite metrics that better capture the full spectrum of code quality. Ensemble judging and contrastive evaluation are also suggested.
  • Beyond Single-Turn: DevBench focuses on single-turn code completion. Future work could extend to multi-turn interactions and developer feedback loops.
  • Potential Misuse: Advances in code synthesis could be misused for generating malicious code. The authors emphasize the importance of focusing on security patterns and code quality metrics.
  • Job Market Implications: The increasing capability of code completion systems might impact software development roles.

Summary updated

BibTeX
@inproceedings{kumarappan2026devbench,
  author = {Adarsh Kumarappan and Pareesa Ameneh Golnari and Wen Wen and Xiaoyu Liu and Gabriel Ryan and Yuting Sun and Shengyu Fu and Elsie Nallipogu},
  title = {{DevBench: An Interaction-Grounded Benchmark for Code Completion Models}},
  booktitle = {DL4C @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=8ZROguA070},
}
Figure