arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.07010cs.SEcs.CL
收藏

ProjectEval:一个面向编程智能体的项目级代码生成自动化评估基准

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

Harbin Institute of Technology(哈尔滨工业大学);Pengcheng Laboratory(鹏城实验室)

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

AI总结:

本文提出ProjectEval基准,通过模拟用户交互和代码相似度指标自动评估LLM智能体的项目级代码生成能力,并揭示系统性工程代码、整体理解与综合分析能力是实现实际项目的关键。

摘要:

近年来,大语言模型(LLM)智能体在提升编程能力方面取得了快速进展。然而,现有基准缺乏从用户视角进行自动评估的能力,也缺乏对LLM智能体代码生成能力结果的可解释性。因此,我们提出了ProjectEval,这是一个通过模拟用户交互对LLM智能体项目级代码生成进行自动化评估的新基准。ProjectEval由LLM构建并经过人工审核。它包含自然语言或代码骨架的三种不同层次的输入。ProjectEval能够通过用户交互模拟来评估生成项目的执行情况,并通过现有客观指标进行代码相似度评估。通过ProjectEval,我们发现系统性工程项目代码、对项目的整体理解以及综合分析能力是LLM智能体实现实际项目的关键。我们的发现和基准为开发更有效的、能够部署在未来真实生产环境中的编程智能体提供了有价值的见解。

英文摘要:

Recently, LLM agents have made rapid progress in improving their programming capabilities. However, existing benchmarks lack the ability to automatically evaluate from users' perspective, and also lack the explainability of the results of LLM agents' code generation capabilities. Thus, we introduce ProjectEval, a new benchmark for LLM agents project-level code generation's automated evaluation by simulating user interaction. ProjectEval is constructed by LLM with human reviewing. It has three different level inputs of natural languages or code skeletons. ProjectEval can evaluate the generated projects by user interaction simulation for execution, and by code similarity through existing objective indicators. Through ProjectEval, we find that systematic engineering project code, overall understanding of the project and comprehensive analysis capability are the keys for LLM agents to achieve practical projects. Our findings and benchmark provide valuable insights for developing more effective programming agents that can be deployed in future real-world production.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑