NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

ProjectEval: A Benchmark for Programming Agents Automated Evaluation on Project-Level Code Generation

Kaiyuan Liu, Youcheng Pan, Yang Xiang, Daojing He, Jing Li, Yexing Du, Tianrun Gao

Abstract

As Large Language Models (LLMs) evolve into autonomous programming agents, evaluating their ability to generate functional, multi-file software projects becomes critical. ProjectEval is a novel benchmark designed to address the limitations of current function-level and manually-evaluated project-level benchmarks. By simulating real-world user interactions and employing a dynamic "parameter alignment" method, ProjectEval provides a fully automated and explainable evaluation of an agent's ability to ship functional code.

1. Introduction

The landscape of AI-assisted coding has largely been defined by benchmarks like HumanEval and MBPP, which focus on "function-level" generation—solving isolated algorithmic problems. However, professional software engineering involves managing complex project structures, handling dependencies, and ensuring user-facing functionality. Existing project-level benchmarks, such as DevBench or SoftwareDev, often rely on manual human review or internal unit tests that fail to capture the end-user experience.

ProjectEval bridges this gap by introducing a user-centric, automated evaluation framework. It shifts the focus from "does the code pass a unit test?" to "does the software work for a user?".

Comparison of ProjectEval with existing code generation benchmarks across metrics such as evaluation type and input granularity.

2. Methodology

ProjectEval utilizes several innovative components to ensure robust and automated evaluation:

2.1 User Interaction Simulation

Instead of relying solely on static analysis or internal unit tests, ProjectEval employs tools like Selenium for web-based projects and subprocesses for console applications. This allows the benchmark to simulate actual user behavior, such as clicking buttons or navigating URLs, to verify that the generated software behaves as intended from an external perspective.

2.2 Multi-Level Input Hierarchy

To diagnose where agents fail, ProjectEval provides three levels of prompts:

  • Level 1 (NL Prompt): A high-level natural language description of the project.
  • Level 2 (NL Checklist): A detailed feature list generated by an LLM and reviewed by humans.
  • Level 3 (Skeleton): A code framework providing the project structure and docstrings.

2.3 Parameter Description and Alignment

A significant hurdle in automated project testing is the naming of external-facing parameters (e.g., a login URL might be /login or /signin). ProjectEval solves this by requiring agents to provide a "Parameter Description." These values are then dynamically aligned and injected into the test suite, ensuring that agents aren't penalized for valid but unconventional naming choices.

Overview of the ProjectEval mission structure, illustrating the relationship between multi-level inputs, the test suite, and the canonical solution.

3. The ProjectEval Benchmark

The benchmark consists of 20 diverse, real-world tasks, such as building a Todo application with data visualization or a complex password generator. These tasks encompass 284 total test cases (averaging 14.2 tests per task). The dataset focuses on Python and the Django framework for web projects, alongside various console-based programs. The construction followed a semi-automated pipeline where initial content generated by GPT-4o was rigorously reviewed and refined by professional human editors to establish a high-quality "canonical" solution for each task.

4. Experimental Results and Insights

Evaluation of leading LLMs on ProjectEval reveals several key findings:

  • The "Project Wall": There is a stark performance drop-off when moving from function-level to project-level tasks. GPT-4o, the current state-of-the-art, achieved a Pass@5 score of only 12.49%, while Gemini 1.5 Pro reached 6.65%.
  • Open-Source Struggles: Most open-source models, including Llama-3 and Phi-3, failed to produce executable projects, often due to an inability to follow complex multi-file output formats or missing critical project files.
  • Planning vs. Implementation: Agents generally perform better at high-level planning (Level 2 checklists) than at implementing the actual logic or even the code skeletons.
  • Generation Strategies: While "cascade" generation (step-by-step) improves logical consistency, "direct" generation can sometimes be more effective at ensuring all required files are present.

5. Conclusion

ProjectEval establishes a new standard for the automated evaluation of programming agents. By prioritizing user-centric functionality and providing a multi-level diagnostic framework, it highlights the significant challenges remaining in autonomous software development. Future iterations of the benchmark aim to expand beyond Python and Django to include a broader range of programming languages and frameworks.

Summary updated

BibTeX
@inproceedings{liu2025projecteval,
  author = {Kaiyuan Liu and Youcheng Pan and Yang Xiang and Daojing He and Jing Li and Yexing Du and Tianrun Gao},
  title = {{ProjectEval: A Benchmark for Programming Agents Automated Evaluation on Project-Level Code Generation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure