arXiv:2610.37283cs.SEOct 2026

Manuscript Offprint

arXiv:2610.37283

BenchMeUp: Building Software Engineering Benchmarks from Natural-Language Specifications

Islem Bouzenia, Michael Pradel

Islem Bouzenia

CISPA Helmholtz Center for Information Security

Germany

bouzenia.islem@pm.me

Michael Pradel

CISPA Helmholtz Center for Information Security

Germany

michael@binaervarianz.de

Abstract—Software-engineering research relies on benchmarks that evaluate new techniques on a set of problem instances. Unfortunately, manually constructing benchmarks is labor-intensive, as researchers must find suitable instances, prepare execution environments, establish expected outcomes, and validate correctness.

This paper presents BenchMeUp, an approach for automatically creating software-engineering benchmarks from natural-language specifications. Given a specification defining the desired instances, data sources, and evaluation procedures, BenchMeUp generates search rules and a construction plan, invokes parallel LLM agents that identify candidate instances and construct executable instances, validates the results in fresh execution environments, and packages the instances behind a unified command-line interface. We evaluate the approach on four tasks: program repair, issue reproduction, compiler autotuning, and fixing static-analysis warnings. Targeting 50 instances per task (200 in total), BenchMeUp constructs 198 instances, of which 196 (99%) are successfully packaged. Search and construction take 36 minutes and $0.79 per instance, on average. Evaluating eight existing techniques on the generated benchmarks, we find that 189 of 196 packaged instances (96%) support end-to-end evaluation, allowing users to study the effectiveness of the techniques. Checking every constructed instance against its source, the specification, and its expected outcome, we find that 180 of 198 (91%) meet all criteria, compared with 10 of 200 instances delivered by Codex (general-purpose coding agent).

Overall, we show that LLM-based agents can automate benchmark construction across diverse software-engineering tasks and produce executable instances that existing techniques can use, while validity beyond execution still needs to be checked.

Index Terms—software engineering benchmarks, automated benchmark construction, large language model agents

I. INTRODUCTION

Benchmarks are central to software-engineering research [1], enabling researchers to evaluate techniques on common problem instances, compare results, reproduce previous findings, and measure progress. Some benchmarks have shaped entire research areas, such as Defects4J [2] for automated program repair [3] and SWE-bench [4] for evaluating LLM-based issue-resolution agents.

Unfortunately, manually constructing benchmarks is labor-intensive. Researchers must first define suitable benchmark instances and identify their data sources. They must then collect and prepare instance artifacts, such as source code and tests, set up dependencies, determine expected outcomes, and verify that each instance meets the benchmark requirements. For benchmarks involving executable software, this process often requires writing task-specific scripts, building and configuring projects, and manually inspecting the results. This effort leads researchers to reuse benchmarks for long periods, raising concerns about overfitting and representativeness [1]. Exploring new tasks or programming languages also requires substantial effort to construct suitable benchmarks.

Several approaches automate parts of benchmark construction. BugSwarm [5] mines continuous-integration histories to collect reproducible failing and passing program versions. SetUpAgent [6], ExecutionAgent [7], and RepoLaunch [8] automate building and testing repositories. SWE-smith [9], SWE-rebench [10], SWE-Factory [11], SWE-Bench++ [12], and SEC-bench [13] generate or collect issue-resolution and vulnerability tasks with executable environments. Each of these approaches targets one task or automates one construction step. Beyond software engineering, AutoBencher [14] and BenchAgents [15] construct benchmarks from natural-language descriptions, but focus on synthetic questions for evaluating language models. To our knowledge, no existing approach creates real-world, executable benchmarks from natural-language specifications.

Recent advances in LLM-based agents [16], [7], [8] raise the question of whether they can construct software-engineering benchmarks. However, our evaluation shows that simply asking a general-purpose agent to do so introduces several challenges. First, agents may interpret an ambiguous benchmark description inconsistently, selecting instances by different criteria and producing an incoherent benchmark. For example, when collecting repair instances, one agent session includes style changes or feature implementations as “bugs”, while another accepts only changes that correct behavioral faults revealed by tests. Second, agents may construct instances that are difficult to reproduce. For example, an agent setting up an open-source project relies on preinstalled dependencies, producing an instance that works in its environment but fails on another machine. Finally, agents may expose different instances via different interfaces, even when instructed to use a common interface. For example, an agent’s run_tests.sh executes all tests for one instance but only the bug-exposing test for another. Hence, researchers cannot evaluate a technique reliably and uniformly across such instances.

This paper presents BenchMeUp, an approach for constructing software-engineering benchmarks from a researcher-written benchmark specification. The specification describes the task, desired instances, their sources, and how to use them to evaluate a technique. For example, a program-repair specification may request real-world bugs from open-source projects, each with a buggy program and a test exposing the bug. Researchers can specify project properties, such as language, development activity, and popularity, without knowing which repositories contain suitable instances.

BenchMeUp constructs a benchmark from the specification in four phases. First, an LLM generates explicit search rules for finding and selecting candidates, followed by a shared construction plan defining the construction steps and expected artifacts. Second, LLM-based search agents autonomously find and record candidates satisfying the rules. Third, construction agents follow the plan to build instances from the recorded candidates; BenchMeUp validates the instances by replaying the generated scripts in a fresh environment. Finally, BenchMeUp packages completed instances behind a unified command-line interface. This design aims for consistent instance selection, reproducible outcomes in fresh environments, and a unified interface for evaluating techniques.

We evaluate our approach on four software-engineering tasks: program repair, issue reproduction, compiler autotuning, and fixing static-analysis warnings. Requesting 50 instances per task, we obtain 198 constructed instances, of which 196 are successfully packaged. Search and construction average 36 minutes and $0.79 in LLM costs per instance. We evaluate eight existing techniques across the four tasks using the constructed benchmarks. The techniques can set up and run 189 of the 196 packaged instances (96%), enabling comparisons on common instances. Successful execution, however, does not establish validity. Checking every constructed instance against its source, the specification, and its expected outcome, we find that 180 of 198 (91%) meet all criteria. Most remaining instances concern issue reproduction and fail the specification's filters or expected outcome. Manual inspection of 40 instances also reveals six with defective check scripts. By comparison, only 10 of the 200 instances delivered for the same specifications by Codex [17], a general-purpose coding agent, meet all criteria.

In summary, this paper makes the following contributions:

• Idea. We propose creating arbitrary software-engineering benchmarks from natural-language specifications.

• Technique. We present BenchMeUp, an automated, LLM-based, multi-agent approach that translates a natural-language specification into search rules and a construction plan. Agents follow these to construct benchmark instances, which are validated in fresh execution environments and packaged behind a common interface.

• Empirical evidence. We evaluate the approach on four software-engineering tasks, compare BenchMeUp with a general-purpose agent, and apply eight existing techniques to the automatically constructed benchmarks.

• Open science. https://github.com/sola-st/BenchMeUp

Figure

Fig. 1. Overview of the approach.

References (55)