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

Copilot Arena: A Platform for Code LLM Evaluation in the Wild

Wayne Chi, Valerie Chen, Anastasios Nikolas Angelopoulos, Wei-Lin Chiang, Aditya Mittal, Naman Jain, Tianjun Zhang, Ion Stoica, Chris Donahue, Ameet Talwalkar

Abstract

Evaluating the true utility of AI coding assistants requires moving beyond isolated puzzles to real-world development environments. We present Copilot Arena, a VS Code extension that facilitates side-by-side Large Language Model (LLM) evaluation during active programming. Based on over 11,000 "in-the-wild" judgments, our findings indicate that static benchmarks correlate poorly with real-world performance. Factors such as task category and system latency emerge as primary drivers of user preference, highlighting the need for ecologically valid evaluation frameworks.

Introduction: The Evaluation Gap

Traditional methods for assessing code LLMs often fail to capture their actual value to developers. Static benchmarks like HumanEval focus on self-contained, interview-style problems that lack the rich context of a production codebase. User studies provide deeper insights but are typically small-scale and constrained to artificial tasks. Furthermore, chat-based interfaces do not reflect the "inline" completion workflow that characterizes modern AI-assisted development.

Copilot Arena addresses the limitations of static benchmarks by evaluating real users on real tasks in a real environment.

To bridge this gap, Copilot Arena integrates evaluation directly into the IDE, enabling the study of real users performing real tasks in a real environment.

The Copilot Arena Platform

The platform operates as a VS Code extension that presents users with two candidate completions simultaneously. To maintain a clean workspace, completions are displayed in a vertical "git diff" style. Users can accept the top suggestion with Tab or the bottom one with Shift+Tab, providing a direct signal of preference.

The Copilot Arena system architecture, showing the side-by-side completion UI in the IDE and the backend sampling/prompting logic.

Technical Innovations

  • Latency-Optimized Sampling: To minimize user friction, the backend employs a sampling strategy that balances model comparison fairness with the need for speed. This approach reduced median wait times by 33%, crucial given the high sensitivity of developers to latency.
  • "Snip-It" Prompting Scheme: Many instruction-tuned models struggle with Fill-in-the-Middle (FiM) tasks. We developed a scheme where models generate code that includes surrounding context, which is then post-processed to ensure seamless integration. This method improved infilling performance in 93% of tested conditions; for example, Llama-3.1-70B’s pass rate rose from 7.4% to 49%.

Key Insights and Results

Analysis of 11,604 pairwise judgments from 1,642 users across 103 programming languages yielded several critical insights:

  • Benchmark Divergence: We found a remarkably low correlation (Spearman’s $r_s \le 0.1$) between Copilot Arena rankings and popular static benchmarks. Models that excel at competitive programming puzzles often underperform in the complex, high-context environment of a real IDE.
  • Top Performers: DeepSeek Coder and Claude 3.5 Sonnet emerged as the leading models for in-editor assistance based on user preference.
  • The Primacy of Task Type: While performance is relatively consistent across programming languages, it varies significantly by task category (e.g., frontend UI vs. backend API logic).
  • The Latency Tax: There is a strong inverse relationship between response time and user engagement. Increased latency significantly reduces the likelihood of a user accepting a suggestion, proving that speed is a core feature of model utility.
  • Contextual Depth: Real-world coding involves significantly longer contexts than benchmarks. The median context length in our dataset was 1.6k characters, with some instances exceeding 18k.

Conclusion

Copilot Arena demonstrates that the "best" model in a benchmark is not necessarily the most useful in a developer's daily workflow. By evaluating models in the wild, we can better understand the nuances of AI-human collaboration in software engineering. Future work will focus on long-term metrics like "code persistence" and deeper integration of interactive feedback loops.

Summary updated

BibTeX
@inproceedings{chi2025copilot,
  author = {Wayne Chi and Valerie Chen and Anastasios Nikolas Angelopoulos and Wei-Lin Chiang and Aditya Mittal and Naman Jain and Tianjun Zhang and Ion Stoica and Chris Donahue and Ameet Talwalkar},
  title = {{Copilot Arena: A Platform for Code LLM Evaluation in the Wild}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=9bYOqwtAud},
}
Figure