CodeReviewQA: The Code Review Comprehension Assessment for Large Language Models

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, hindering their practical use.Code review comments are often implicit, ambiguous, and colloquial, requiring models to grasp both code and human intent.This challenge calls for evaluating large language models' ability to bridge both technical and conversational contexts.While existing work has employed the automated code refinement (ACR) task to resolve these comments, current evaluation methods fall short, relying on text matching metrics that provide limited insight into model failures and remain susceptible to training data contamination.To address these limitations, we introduce a novel evaluation benchmark, CodeReviewQA that enables us to conduct fine-grained assessment of model capabilities and mitigate data contamination risks.In CodeReviewQA, we decompose the generation task of code refinement into three essential reasoning steps: change type recognition (CTR), change localisation (CL), and solution identification (SI).Each step is reformulated as multiple-choice questions with varied difficulty levels, enabling precise assessment of model capabilities, while mitigating data contamination risks.Our comprehensive evaluation spans 72 recently released large language models on 900 manually curated, high-quality examples across nine programming languages.Our results show that CodeRe-viewQA is able to expose specific model weaknesses in code review comprehension, disentangled from their generative automated code refinement results. 1 Figure 1: CodeReviewQA results (%) of the top performing model (per scale class) based on ACR Accuracy.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.476
Citations
1
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
2.48
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

CodeReviewQA: The Code Review Comprehension Assessment for Large Language Models

Patanamon Thongtanunam, Hong Yi Lin, Christoph Treude, Haoyu Gao et al.
1 citations
Natural Language Processing Techniques
2.48
article

CodeReviewQA: The Code Review Comprehension Assessment for Large Language Models

Patanamon Thongtanunam, Hong Yi Lin, Christoph Treude, Haoyu Gao, Chunhua Liu
article en
1 citations

Abstract

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, hindering their practical use.Code review comments are often implicit, ambiguous, and colloquial, requiring models to grasp both code and human intent.This challenge calls for evaluating large language models' ability to bridge both technical and conversational contexts.While existing work has employed the automated code refinement (ACR) task to resolve these comments, current evaluation methods fall short, relying on text matching metrics that provide limited insight into model failures and remain susceptible to training data contamination.To address these limitations, we introduce a novel evaluation benchmark, CodeReviewQA that enables us to conduct fine-grained assessment of model capabilities and mitigate data contamination risks.In CodeReviewQA, we decompose the generation task of code refinement into three essential reasoning steps: change type recognition (CTR), change localisation (CL), and solution identification (SI).Each step is reformulated as multiple-choice questions with varied difficulty levels, enabling precise assessment of model capabilities, while mitigating data contamination risks.Our comprehensive evaluation spans 72 recently released large language models on 900 manually curated, high-quality examples across nine programming languages.Our results show that CodeRe-viewQA is able to expose specific model weaknesses in code review comprehension, disentangled from their generative automated code refinement results. 1 Figure 1: CodeReviewQA results (%) of the top performing model (per scale class) based on ACR Accuracy.

Quality Education
Openalex Percentile: Top 9%
Natural Language Processing Techniques
2.48
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

CodeReviewQA: The Code Review Comprehension Assessment for Large Language Models — Patanamon Thongtanunam, Hong Yi Lin, et al. · (2025) | TGRS Research Map | TGRS