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 Sontag

TL;DR

RealHumanEval is an open-source web platform designed to evaluate how code-generating LLMs impact real-world programmer productivity via autocomplete or chat interfaces. Through a user study of 243 programmers across 7 different LLMs, the authors reveal that while higher static benchmark scores do translate to faster coding times, the gains face severe diminishing returns, and surprisingly, subjective programmer preferences do not correlate with objective performance.

What Problem Does This Paper Address?

Evaluating Large Language Models (LLMs) for coding has traditionally relied on static benchmarks like HumanEval or MBPP, which measure a model's ability to generate standalone code blocks from scratch. Alternatively, platforms like Chatbot Arena rely on human preference judgments.

However, in the real world, LLMs act as assistants (via autocomplete or chat) with a human in the loop. We don't actually know if a model that scores 10% higher on a static benchmark makes a human 10% faster, or if a model that humans prefer actually makes them more productive. This paper addresses this gap by building a framework to evaluate LLMs based on true downstream human utility.

Methods

The authors developed RealHumanEval, a web-based, zero-install code editor interface inspired by platforms like LeetCode. It supports two primary modes of LLM assistance:

  1. Autocomplete-based: Inline code suggestions appear in grey text when a user pauses typing for more than 2 seconds or hits a hotkey.
  2. Chat-based: A side panel allows users to converse with the LLM and copy-paste code snippets directly into the editor.

The platform logs rich telemetry data, including code snapshots every 15 seconds, autocomplete acceptance/rejection, and chat copy events.

Using this platform, they conducted a controlled user study with 243 participants randomly assigned to one of seven conditions: a control group (no LLM) or one of six LLM-assisted groups using models of varying capabilities (CodeLlama-7b, CodeLlama-34b, GPT-3.5, and GPT-4o in their base or instruct/chat variants).

The RealHumanEval platform interface showing the task description, code editor with autocomplete, and chat assistant.

Datasets

  • Evaluation Tasks: The study designed 17 coding tasks distributed across 5 sets. These tasks covered three categories: (a) algorithmic problems (sampled from HumanEval), (b) data manipulation problems (inspired by DS-1000 using Pandas), and (c) code editing/augmentation tasks.
  • Released Dataset: The authors open-sourced the interaction datasets collected during the study: $D_{ac}$ (5,204 autocomplete suggestions) and $D_{chat}$ (1,055 chat messages), enabling future research into simulating human-LLM interactions.

Key Insights and Ideas

  • Benchmarks generalize, but with diminishing returns: Higher performance on static benchmarks does predict a reduction in human task completion time. However, the relationship is non-proportional. For instance, GPT-3.5 vastly outperforms CodeLlama-34b on HumanEval, but humans using GPT-3.5 were only marginally faster than those using CodeLlama-34b.
  • The Preference-Productivity Paradox: What programmers say they like doesn't match what makes them fast. For example, CodeLlama-34b was heavily disliked by users due to higher latency (~10s vs ~5s for others) and perceived context blindness, leading to low suggestion acceptance rates. Yet, it provided virtually the same objective productivity boost as the highly-rated GPT-3.5.
  • Task Type Matters Immensely: LLM assistance was highly effective for data manipulation (26.3% time reduction) and code editing (17.1% reduction), but actually slowed down programmers on algorithmic problems by 11.4%, likely due to the cognitive overhead of verifying complex logic.

Key Results

  • Time Savings: Compared to the no-LLM control group (average 400 seconds per task), assistants powered by GPT-3.5, CodeLlama-34b, and GPT-4o reduced completion times by an average of 78, 64, and 60 seconds, respectively.
  • No Change in Task Completion Volume: Interestingly, no form of LLM support statistically increased the total number of tasks completed within the 35-minute study window, only the speed of the tasks that were completed.
  • Chat vs. Autocomplete: Chat support was perceived as significantly more helpful than autocomplete, even when the underlying model performance was identical.

Limitations and Future Work

  • Task Scope and Duration: The study relied on 17 relatively short coding tasks completed within a 35-minute window. Real-world software engineering involves massive codebases and tasks spanning days or months, where the dynamics of LLM assistance might differ.
  • Product Complexity: RealHumanEval is a simplified web editor and does not fully replicate advanced commercial IDE extensions (like GitHub Copilot), which use sophisticated prompt engineering and local codebase context retrieval.
  • Future Directions: The authors suggest using their released interaction dataset to train automated "programmer simulators" to evaluate new models without needing expensive human user studies every time.

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 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