paper-with-me

홈 › Papers

Evaluating Large Language Models for Code Review

2025-05-26 · Umut Cihan, Arda İçöz, Vahid Haratian, Eray Tüzün

Context: Code reviews are crucial for software quality. Recent AI advances have allowed large language models (LLMs) to review and fix code; now, there are tools that perform these reviews. However, their reliability and accuracy have not yet been systematically evaluated. Objective: This study compares different LLMs' performance in detecting code correctness and suggesting improvements. Method: We tested GPT4o and Gemini 2.0 Flash on 492 AI generated code blocks of varying correctness, along with 164 canonical code blocks from the HumanEval benchmark. To simulate the code review task objectively, we expected LLMs to assess code correctness and improve the code if needed. We ran experiments with different configurations and reported on the results. Results: With problem descriptions, GPT4o and Gemini 2.0 Flash correctly classified code correctness 68.50% and 63.89% of the time, respectively, and corrected the code 67.83% and 54.26% of the time for the 492 code blocks of varying correctness. Without problem descriptions, performance declined. The results for the 164 canonical code blocks differed, suggesting that performance depends on the type of code. Conclusion: LLM code reviews can help suggest improvements and assess correctness, but there is a risk of faulty outputs. We propose a process that involves humans, called the "Human in the loop LLM Code Review" to promote knowledge sharing while mitigating the risk of faulty outputs.

📄 PDF Abstract BibTeX arXiv:2505.20206

Code (0)

등록된 구현이 없습니다.

Tasks

HumanEval

Similar Papers 제목 키워드 기반

Automated Code Review Using Large Language Models at Ericsson: An Experience Report

2025-07-25 · Shweta Ramesh, Joy Bose, Hamender Singh, A K Raghavan 외 arxiv

Code review is one of the primary means of assuring the quality of released software along with testing and static analysis. However, code review requires experienced developers who may not always have the time to perfor…

CR-Bench: Evaluating the Real-World Utility of AI Code Review Agents

2026-03-10 · Kristen Pereira, Neelabh Sinha, Rajat Ghosh, Debojyoti Dutta arxiv

Recent advances in frontier large language models have enabled code review agents that operate in open-ended, reasoning-intensive settings. However, the lack of standardized benchmarks and granular evaluation protocols m…

CodeReviewQA: The Code Review Comprehension Assessment for Large Language Models

2025-03-20 · Hong Yi Lin, Chunhua Liu, Haoyu Gao, Patanamon Thongtanunam 외

State-of-the-art large language models (LLMs) have demonstrated impressive code generation capabilities but struggle with real-world software engineering tasks, such as revising source code to address code reviews, hinde…

Code GenerationMultiple-choiceText Matching

Code Review Without Borders: Evaluating Synthetic vs. Real Data for Review Recommendation

2025-09-05 · Yogev Cohen, Dudi Ohayon, Romy Somkin, Yehudit Aperstein 외 arxiv

Automating the decision of whether a code change requires manual review is vital for maintaining software quality in modern development workflows. However, the emergence of new programming languages and frameworks create…

Recommendation Systems

CoCoNUTS: Concentrating on Content while Neglecting Uninformative Textual Styles for AI-Generated Peer Review Detection

2025-08-28 · Yihan Chen, Jiawei Chen, Guozhao Mo, Xuanang Chen 외 arxiv

The growing integration of large language models (LLMs) into the peer review process presents potential risks to the fairness and reliability of scholarly evaluation. While LLMs offer valuable assistance for reviewers wi…

Multi-Task Learning