Beyond Functional Correctness: Design Issues in AI IDE-Generated Large-Scale Projects
School of Computer Science, Wuhan University(武汉大学计算机学院);School of Mathematical and Computational Sciences, Massey University(梅西大学数学与计算科学学院);School of Computer Science, Nanjing University of Science and Technology(南京理工大学计算机科学与工程学院);School of Computer Science, Central China Normal University(华中师范大学计算机学院);School of Computing Technologies, RMIT University(RMIT大学计算技术学院)
New generation of AI coding tools, including AI-powered IDEs equipped with agentic capabilities, can generate code within the context of the project. These AI IDEs are increasingly perceived as capable of producing project-level code at scale. However, there is limited empirical evidence on the extent to which they can generate large-scale software systems and what design issues such systems may exhibit. To address this gap, we conducted a study to explore the capability of Cursor in generating large-scale projects and to evaluate the design quality of projects generated by Cursor. First, we propose a Feature-Driven Human-In-The-Loop (FD-HITL) framework that systematically guides project generation from curated project descriptions. We generated 10 projects using Cursor with the FD-HITL framework across three application domains and multiple technologies. We assessed the functional correctness of these projects through manual evaluation, obtaining an average functional correctness score of 91%. Next, we analyzed the generated projects using two static analysis tools, CodeScene and SonarQube, to detect design issues. We identified 1,305 design issues categorized into 9 categories by CodeScene and 3,193 issues in 11 categories by SonarQube. Our findings show that (1) when used with the FD-HITL framework, Cursor can generate functional large-scale projects averaging 16,965 LoC and 114 files; (2) the generated projects nevertheless contain design issues that may pose long-term maintainability and evolvability risks, requiring careful review by experienced developers; (3) the most prevalent issues include Code Duplication, high Code Complexity, Large Methods, Framework Best-Practice Violations, Exception-Handling Issues and Accessibility Issues; (4) these design issues violate design principles such as SRP, SoC, and DRY. The replication package is at https://github.com/Kashifraz/DIinAGP
CodeCircuit: Toward Inferring LLM-Generated Code Correctness via Attribution Graphs
University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);University of Edinburgh(爱丁堡大学);Nanyang Technological University(南洋理工大学);National University of Singapore(新加坡国立大学);IQuest Research(IQuest研究)
PEACE: Towards Efficient Project-Level Efficiency Optimization via Hybrid Code Editing
Hangzhou High-Tech Zone (Binjiang) Institute of Blockchain and Data Security, Zhejiang University(浙江大学杭州高技区(滨江)区块链与数据安全研究院);The Chinese University of Hong Kong(香港中文大学)
ProjDevBench: Benchmarking AI Coding Agents on End-to-End Project Development
Shanghai Jiao Tong University, Shanghai, China(上海交通大学);Beijing Institute of Technology, Beijing, China(北京理工大学);University of California, Merced, CA, USA(加州大学默塞德分校);Shanghai Innovation Institute, Shanghai, China(上海创新研究院)
Beyond Correctness: Exposing LLM-generated Logical Flaws in Reasoning via Multi-step Automated Theorem Proving
Huazhong University of Science and Technology(华中科技大学);National University of Singapore(新加坡国立大学);Peking University(北京大学);Nanyang Technological University(南洋理工大学)