BigCodeArena: Unveiling More Reliable Human Preferences in Code Generation via Execution

Terry Yue Zhuo, Xiaolong Jin, Hange Liu, Juyong Jiang, Tianyang Liu, Chen Gong, Bhupesh Bishnoi, Vaisakhi Mishra, Marek Suppa, Noah Ziems, Saiteja Utpala, Ming Xu, Guangyu Song, Kaixin Li, Yuhan Cao, Bo Liu, Zheng Liu, Sabina Abdurakhmanova, Wenhao Yu, Mengzhao Jia, Jihan Yao, Kenneth Hamilton, Kumar Shridhar, Minh Chien Vu, Dingmin Wang, Jiawei Liu, Zijian Wang, Qian Liu, Binyuan Hui, Meg Risdal, Ahsen Khaliq, Atin Sood, Zhenchang Xing, Wasi Uddin Ahmad, John Grundy, David Lo, Banghua Zhu, Xiaoning Du, Torsten Scholak, Leandro von Werra · DOI

Introduction

Evaluating the quality of code generated by Large Language Models (LLMs) remains a significant challenge. Traditional benchmarks often rely on static text comparison or basic unit tests, while crowdsourced platforms like Chatbot Arena typically ask human judges to evaluate code based solely on reading the source. However, "screening" raw code is mentally taxing and prone to error; even experienced developers struggle to mentally simulate complex execution flows or visualize a user interface without seeing it in action. This often results in "noisy" preference data where humans might favor code that appears correct but fails at runtime.

BigCodeArena addresses this fundamental gap by grounding human judgment in observable behavior and functional outcomes. By providing a sandbox environment where users can execute and interact with generated code, the platform enables more reliable and nuanced evaluation of coding capabilities.

Comparing code screening vs. execution-based evaluation. While source code for Model A and B might look similar, live execution reveals that Model B provides a significantly better user experience.

The BigCodeArena Platform

The researchers developed a head-to-head evaluation platform that extends the traditional arena model with a robust execution backend. Key features include:

  • Live Sandboxing: Utilizing the E2B platform, BigCodeArena initializes isolated Docker containers to execute code in real-time. This allows users to view rendered web pages, interactive applications, and console outputs side-by-side.
  • Multi-Environment Support: The system supports eight distinct execution environments, including popular frameworks like React, Vue, Streamlit, PyGame, and Gradio, spanning 10 programming languages.
  • Interactive Debugging: Users are empowered to edit generated code on-the-fly, allowing them to test for robustness or rectify minor issues before casting their final vote.
  • LLM-as-a-Judge with Vision: For automated benchmarking, frontier models like Claude-3.7-Sonnet are used as judges, receiving not just the code but also screenshots and execution logs to make informed decisions.

New Benchmarks and Datasets

The project introduces three major contributions to the field of code evaluation:

  1. BigCodeArena Dataset: A collection of over 14,000 raw code-centric conversation sessions, including a high-quality subset of 4,700 multi-turn samples with pairwise human preferences.
  2. BIGCODEREWARD: A benchmark designed to evaluate how well reward models align with human preferences, specifically testing if models improve as judges when provided with execution feedback.
  3. AUTOCODEARENA: An automated Elo rating benchmark consisting of 600 representative prompts designed to track model progress without continuous human intervention.

Key Insights and Results

The study reveals that human preference shifts significantly when code is executed. Elegant-looking code may be functionally broken, while "messier" code might produce a superior user interface. Furthermore, the "Vision Advantage" is substantial: reward models and LLM judges see a massive boost in reliability when they have access to execution signals, such as screenshots of a generated website.

In the automated AUTOCODEARENA benchmark, top-tier models like GPT-5 and the Claude-4 series established new state-of-the-art performance. Notably, open-source models such as Qwen3-Coder and Kimi-K2 are narrowing the gap, forming a competitive "leading cluster" just behind proprietary systems. The data also highlights task-specific expertise, with different models excelling in niches like creative coding, UI design, or algorithmic problem-solving.

Conclusion and Future Directions

BigCodeArena demonstrates that execution is essential for reliable code evaluation. While the platform currently supports a wide range of frameworks, future work will focus on expanding this scope and moving toward more dynamic judging. This includes using LLM agents to actively interact with generated applications—clicking buttons and filling forms—to perform deeper functional testing. The recorded user interaction trajectories also offer a path toward training models to autonomously test web applications in a human-like manner.

Summary updated

BibTeX
@misc{zhuo2025bigcodearena,
  author = {Terry Yue Zhuo and Xiaolong Jin and Hange Liu and Juyong Jiang and Tianyang Liu and Chen Gong and Bhupesh Bishnoi and Vaisakhi Mishra and Marek Suppa and Noah Ziems and Saiteja Utpala and Ming Xu and Guangyu Song and Kaixin Li and Yuhan Cao and Bo Liu and Zheng Liu and Sabina Abdurakhmanova and Wenhao Yu and Mengzhao Jia and Jihan Yao and Kenneth Hamilton and Kumar Shridhar and Minh Chien Vu and Dingmin Wang and Jiawei Liu and Zijian Wang and Qian Liu and Binyuan Hui and Meg Risdal and Ahsen Khaliq and Atin Sood and Zhenchang Xing and Wasi Uddin Ahmad and John Grundy and David Lo and Banghua Zhu and Xiaoning Du and Torsten Scholak and Leandro von Werra},
  title = {{BigCodeArena: Unveiling More Reliable Human Preferences in Code Generation via Execution}},
  year = {2025},
  eprint = {2510.08697},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.08697},
}
Figure