TL;DR
BigCodeArena is an open-source human evaluation platform that moves beyond static text comparisons by providing an on-the-fly execution backend for LLM-generated code. By allowing users to interact with live applications and execution logs, the platform significantly improves the reliability of human preference data, leading to more robust benchmarks for the next generation of coding models.
What Problem Does This Paper Address?
Evaluating how well a Large Language Model (LLM) generates code is notoriously difficult. Unlike natural language, where a human can quickly judge fluency and helpfulness, code requires reasoning about runtime behavior, edge cases, and non-functional properties.
The authors point out a "mental exhaustion" gap: reading long snippets of code is taxing, and empirical studies show that humans often misjudge code correctness when they can’t run it. Existing crowdsourced platforms like Chatbot Arena are excellent for dialogue but lack the infrastructure to handle the complexities of executable code. As shown in the motivating example below, it is often impossible to tell which model is superior until you see the rendered output.
Methods
BigCodeArena adopts a head-to-head evaluation setup where a user provides a prompt and receives two anonymized responses from different LLMs. The core innovation is the execution backend, built on Gradio and E2B (or local Docker for automated runs).
The system supports:
- 10 Programming Languages: Including Python, JavaScript, Rust, and Go.
- 8 Execution Environments: Ranging from web frameworks like React and Vue to game engines like PyGame and visualization tools like Mermaid.
- Interactive Artifacts: Users don't just see text; they interact with live web pages, games, and diagrams.
- In-place Editing: Users can tweak the generated code to test its robustness or fix minor bugs before voting.
To ensure fair comparisons, the platform uses a weighted sampling strategy to select model pairs and enforces "strict synchronization"—responses are only shown once both models have finished both generation and execution, preventing users from being biased by faster response times.
Datasets
The researchers collected a massive dataset of 14K code-centric conversations across 10 frontier LLMs. From this, they derived a high-quality subset of 4.7K multi-turn samples with pairwise human preferences.
Using this data, they introduced two new benchmarks:
- BigCodeReward: A benchmark to measure how well reward models align with human preferences in coding tasks.
- AutoCodeArena: An automated, Elo-style benchmark that uses an "LLM-as-a-Judge" (specifically Claude-3.7-Sonnet) to evaluate models based on 600 representative prompts and their execution results.
Key Insights and Ideas
- The Execution Advantage: The most striking finding is that access to execution feedback raises inter-expert agreement from 64.7% to 84.3%. This confirms that "running the code" isn't just a luxury—it's a requirement for reliable evaluation.
- Multimodal Feedback Matters: Most LLM judges become substantially more accurate when execution results (like UI screenshots) are available. This is especially true for visually grounded topics like Web Design or Game Development.
- Niche Expertise: While top-tier models like o3-mini dominate common languages, others show specific strengths. For instance, Gemini-2.0-Pro exhibited strong performance in lower-resource languages like Rust.
- Open-Source Gap: Despite rapid progress, a significant gap remains between proprietary models (GPT-5, Claude-4) and open-source alternatives (Llama-3.3, Qwen2.5) in complex, interactive, and visualization-oriented tasks.
Key Results
The platform's leaderboard reveals a clear stratification of model capabilities. GPT-5 currently leads the frontier, followed by a second tier consisting of Claude-4 and Claude-3.7 variants.
As seen in the win-rate heatmaps, models like o3-mini and o1-mini maintain dominant win rates across widely used languages like Python and Java. However, the performance of bottom-tier models becomes brittle when faced with interactive environments like PyGame or Mermaid, which demand careful handling of control flow and dependencies.
Limitations and Future Work
The authors acknowledge several limitations:
- Scope: The platform currently focuses on self-contained programs (single files or blocks) and does not yet support repository-level tasks involving multi-file refactoring or cross-module edits.
- Language/Framework Diversity: While 10 languages are supported, the ecosystem is vast, and more community-contributed environments are needed.
- Static Screenshots for Judges: The current automated benchmarks rely on initial screenshots. Future work could involve LLM agents that actively interact with web applications for a deeper assessment.
BigCodeArena is maintained as a long-term, open-source project, providing a transparent foundation for the evolving landscape of AI-assisted coding.
Summary updated