Assessing and Advancing Benchmarks for Evaluating Large Language Models in Software Engineering Tasks

Xing Hu, Feifei Niu, Junkai Chen, Xin Zhou, Junwei Zhang, Junda He, Xin Xia, David Lo

Introduction

As Large Language Models (LLMs) like GPT-4 and Claude increasingly serve as "co-pilots" for developers, the research community has produced a vast array of benchmarks to measure their efficacy. From writing simple functions to fixing complex bugs, these tools are essential for tracking progress. However, the rapid proliferation of datasets has left researchers struggling to navigate the landscape, often choosing tools without a full understanding of their limitations or the broader context of software engineering (SE) tasks.

This paper presents a comprehensive systematic literature review (SLR) of 291 benchmarks released before June 2025. It aims to provide a unified map of the territory, examining how these benchmarks are constructed, what tasks they cover, and the looming challenges—such as data contamination—that threaten the validity of current evaluations.

Methodology

The authors followed the formal SLR guidelines established by Kitchenham to ensure a rigorous and reproducible study. The process involved a multi-stage search strategy combining database queries with "snowballing" (tracing references both backward and forward) to capture a complete picture of the field.

The systematic review methodology and the resulting taxonomy of the software development process.

To maintain high standards, the benchmarks were filtered through specific quality assessment criteria, focusing on clarity, relevance to software engineering, and reproducibility. The inclusion and exclusion criteria were strictly defined to ensure the review focused on benchmarks specifically intended for evaluating LLMs in SE contexts.

Detailed inclusion and exclusion criteria used to filter the 291 benchmarks.

The Benchmark Landscape

The study categorizes the benchmark ecosystem into six primary domains of the software development lifecycle:

  • Coding Assistants (124 benchmarks): The most mature area, featuring industry standards like HumanEval and MBPP for function-level generation, and newer entries like BigCodeBench for complex instructions.
  • Quality Management (111 benchmarks): A significant focus area involving bug localization, repair, and vulnerability detection (e.g., Defects4J and Devign).
  • Software Testing: Includes benchmarks for test generation and automation.
  • Requirements & Design: A critical but challenging area, often hampered by a lack of high-quality, non-proprietary industrial documents.
  • Maintenance and AIOps: These represent the "neglected" frontiers, with only 13 and 6 benchmarks respectively, offering substantial opportunities for future research.

Key Insights and Challenges

The Shift to Agentic Tasks

Evaluation is moving away from simple code snippets toward "agentic" benchmarks. Tools like SWE-bench require LLMs to navigate 10,000-line repositories and resolve real GitHub issues autonomously. This shift is necessary to reflect the actual workflow of professional developers.

The Contamination Crisis

Perhaps the most alarming finding is the risk of data contamination. Many classic benchmarks (e.g., BigCloneBench) have been public for so long that they are likely included in the training sets of modern LLMs. In these cases, a model may simply be "reciting" a solution from memory rather than reasoning through the problem.

Language and Metric Bias

Python remains the dominant language in LLM benchmarking, creating a significant "language gap" for newer or niche languages like Rust and Solidity. Furthermore, an over-reliance on the Pass@k metric—which only checks if code runs—often ignores vital aspects like maintainability, security, and human readability.

Future Directions

The authors suggest several paths forward to strengthen the foundation of SE benchmarking:

  1. Dynamic Benchmarking: Moving away from static snapshots to evolving datasets that resist training data contamination.
  2. Human-Centric Metrics: Incorporating evaluations that measure how useful and readable the generated code is for human developers.
  3. Scalability Solutions: Addressing the rising computational and API costs associated with repository-scale evaluations to ensure research remains accessible to smaller labs.

Summary updated

BibTeX
@misc{hu2025assessing,
  author = {Xing Hu and Feifei Niu and Junkai Chen and Xin Zhou and Junwei Zhang and Junda He and Xin Xia and David Lo},
  title = {{Assessing and Advancing Benchmarks for Evaluating Large Language Models in Software Engineering Tasks}},
  year = {2025},
  eprint = {2505.08903},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.08903},
}
Figure