The RealHumanEval: Evaluating Large Language Models' Abilities to Support Programmers

Hussein Mozannar, Valerie Chen, Mohammed Alsobay, Subhro Das, Sebastian Zhao, Dennis Wei, Manish Nagireddy, Prasanna Sattigeri, Ameet Talwalkar, David A. Sontag

Abstract

Traditional evaluations of Large Language Models (LLMs) for coding rely on static benchmarks and human preference ratings. However, these metrics often fail to capture the nuances of real-world developer productivity. This paper introduces RealHumanEval, an open-source platform designed to measure how LLMs impact programmers in a live coding environment. Through a controlled study of 243 participants, we demonstrate that while benchmark scores are indicative of performance, they do not tell the full story. Notably, we identify a "preference paradox" where user-reported helpfulness does not necessarily correlate with actual time saved, and find that underperforming models can act as a "speed bump" to development.

Introduction

In the competitive landscape of coding LLMs, models are typically ranked by functional correctness on puzzles (e.g., HumanEval's pass@1) or by user "vibes" on leaderboards like Chatbot Arena. Yet, professional development involves a complex interplay between the human and the AI, primarily through autocomplete suggestions and chat interfaces. A model that solves a puzzle in isolation may not effectively assist a human navigating a real-world codebase.

This research addresses the gap between static evaluation and human-in-the-loop reality. By logging granular interactions, the authors investigate whether a model that "feels" better actually makes a developer more productive.

The RealHumanEval Platform

To facilitate this study, the researchers developed RealHumanEval, a web-based integrated development environment (IDE) simulation. The platform provides two primary modes of AI assistance:

  1. Autocomplete: Inline code suggestions triggered by pauses or hotkeys.
  2. Chat: A conversational sidebar for querying the model and retrieving code snippets.
Overview of the RealHumanEval platform, showing the researcher setup, the user interface, telemetry logging, and the resulting metrics.

The system captures comprehensive telemetry, including every keystroke, the acceptance rate of suggestions, and chat history. This allows for the calculation of "time-to-success," a direct measure of productivity.

Experimental Design

The study involved 243 participants, ranging from computer science students to industry professionals. They were tasked with completing 17 coding challenges across three domains: algorithmic logic, data manipulation (e.g., pandas/dataframes), and class-level editing/augmentation. Participants were randomly assigned to a control group (no AI) or one of six experimental groups using models from the CodeLlama and GPT families.

Key Insights: The Preference Paradox and Diminishing Returns

The most significant finding is the Preference Paradox. Participants' subjective ratings of a model's helpfulness often diverged from their objective performance. For instance, while users might prefer a model for its perceived intelligence or conversational style, those preferences did not always translate into faster task completion.

Comparison of model performance across static benchmarks, human preferences, and actual productivity metrics. Note the discrepancies between what benchmarks predict, what users prefer, and actual productivity gains.

Furthermore, the study highlights diminishing returns on benchmark improvements. While upgrading from a basic model like CodeLlama-7b to GPT-3.5 yielded substantial productivity gains, the jump to state-of-the-art models like GPT-4o showed a much smaller practical benefit than static leaderboards would suggest.

  • Productivity Gains: High-performing models (GPT-3.5, CodeLlama-34b, GPT-4o) reduced average task time by 60 to 78 seconds compared to the control group's 400-second average.
  • The "Speed Bump" Effect: The smallest model tested, CodeLlama-7b, actually increased task duration by an average of 10 seconds. Its suggestions were frequently "just good enough" to be distracting but not correct enough to be useful.
  • Task Sensitivity: AI assistance was most effective for data manipulation tasks, providing a 26.3% reduction in completion time. Conversely, for purely algorithmic tasks, AI assistance increased coding time by 11.4%, likely due to the cognitive overhead of verifying complex logic.
  • Interface Preference: Users consistently rated the chat interface as more helpful than autocomplete, even when the underlying model was the same.

Conclusion and Future Directions

RealHumanEval demonstrates that evaluating LLMs requires a human-centric approach. The discrepancy between preference and productivity suggests that "vibe-based" leaderboards may be misleading for tools intended to enhance professional workflows.

Future work aims to expand the task scope and incorporate more sophisticated IDE features like multi-file context. Additionally, the researchers propose using the interaction data collected via RealHumanEval to build human-AI interaction simulators, potentially automating human-centric evaluation for future model releases.

Summary updated

BibTeX
@article{mozannar2025realhumaneval,
  author = {Hussein Mozannar and Valerie Chen and Mohammed Alsobay and Subhro Das and Sebastian Zhao and Dennis Wei and Manish Nagireddy and Prasanna Sattigeri and Ameet Talwalkar and David A. Sontag},
  title = {{The RealHumanEval: Evaluating Large Language Models' Abilities to Support Programmers}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2025},
  url = {https://openreview.net/forum?id=ztGTdYAIR7},
}
Figure