Large Language Model Critics for Execution-Free Evaluation of Code Changes
Aashish Yadavally, Hoan Nguyen, Laurent Callot, Gauthier Guinet

TL;DR
This paper introduces LLM-based critics that provide execution-free, step-level evaluation of code changes using a reference patch, significantly improving assessment accuracy over existing metrics and aiding in comparing different code generation workflows.
Contribution
The paper presents a novel reference-aware LLM critic framework for evaluating code changes without execution, outperforming existing critics and enabling better comparison of agentic workflows.
Findings
Achieved 91.6% F1 score in predicting executability.
Predicted build status with 84.8% accuracy.
Outperformed other critics by 38.9% to 72.5%.
Abstract
Large language models (LLMs) offer a promising way forward for automating software engineering tasks, such as bug fixes, feature additions, etc., via multi-step LLM-based agentic workflows. However, existing metrics for evaluating such workflows, mainly build status and occasionally log analysis, are too sparse and limited in providing the information needed to assess the quality of changes made. In this work, we designed LLM-based critics to derive well-structured and rigorous intermediate/step-level, execution-free evaluation proxies for repo-level code changes. Importantly, we assume access to the gold test patch for the problem (i.e., reference-aware) to assess both semantics and executability of generated patches. With the gold test patch as a reference, we predict executability of all editing locations with an F1 score of 91.6%, aggregating which, we can predict the build status…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software Testing and Debugging Techniques · Advanced Malware Detection Techniques
MethodsLib
