arXiv(opens in a new tab)cs.SEAug 2026Cited by 2 papers on PaperVantage

Manuscript Offprint

arXiv:2608.27442

From Static to Dynamic: Benchmarking Real-World Code Review with MCR-Bench

Dewu Zheng, Yanlin Wang, Xiwen Wang, Kefeng Duan, Hongyu Zhang, Xilin Liu, Yuchi Ma, Zibin Zheng

DEWU ZHENG, Sun Yat-sen University, China

YANLIN WANG ✉∗^{✉*}, Sun Yat-sen University, China

XIWEN WANG, Sun Yat-sen University, China

KEFENG DUAN, Sun Yat-sen University, China

HONGYU ZHANG, Chongqing University, China

XILIN LIU, Huawei Cloud Computing Technologies Co., Ltd., China

YUCHI MA, Huawei Cloud Computing Technologies Co., Ltd., China

ZIBIN ZHENG, Sun Yat-sen University, China

In real-world software development, code review typically involves iterative interactions between developers and reviewers to improve software quality, making the process costly and time-consuming. Although recent work explores large language models (LLMs) for automated code review, most approaches oversimplify code review into a single-round, static decision task, which fails to capture the multi-round interactive nature and the complex problem-solving processes inherent in realistic review scenarios. To bridge this gap, we introduce MCR-BENCH, the first defect state-aware benchmark designed for realistic multi-round code review. MCR-BENCH covers five commonly-used programming languages and consists of 2,269 real-world multi-round code review tasks, each of which is annotated with fine-grained defect information and cross-round state labels. Each task in MCR-BENCH is equipped with fine-grained defect metadata (e.g., description, type, severity) alongside dynamic state annotations, capturing the complete evolutionary trajectory of a defect throughout the multi-round process. We obtain several findings through extensive experiments on MCR-BENCH with mainstream LLMs. (1) Limited overall capability: experiments reveal that mainstream LLMs exhibit limited overall performance in defect detection and defect lifecycle state tracking, with performance degrading significantly as the number of interaction rounds increases; (2) Defect-sensitive performance: LLMs' performance varies substantially across different defect types and severity levels, with semantically complex or low-salience defects being significantly more likely to be missed; (3) Underlying Failure Mechanisms: our in-depth error analysis dissects the distinct drivers of false positives and false negatives, revealing critical weaknesses such as cross-round temporal misalignment and inadequate long-range memory.

CCS Concepts: • Software and its engineering → Software defect analysis.

Additional Key Words and Phrases: code review, multi-round code review, large language models

*Yanlin Wang is the corresponding author.

Authors' Contact Information: Dewu Zheng, Sun Yat-sen University, Zhuhai Key Laboratory of Trusted Large Language Models, Zhuhai, China, zhengdw5@mail2.sysu.edu.cn; Yanlin Wang, Sun Yat-sen University, Zhuhai Key Laboratory of Trusted Large Language Models, Zhuhai, China, wangylin36@mail.sysu.edu.cn; Xiwen Wang, Sun Yat-sen University, Zhuhai Key Laboratory of Trusted Large Language Models, Zhuhai, China, wangxw86@mail2.sysu.edu.cn; Kefeng Duan, Sun Yat-sen University, Zhuhai Key Laboratory of Trusted Large Language Models, Zhuhai, China, duankf@mail2.sysu.edu.cn; Hongyu Zhang, Chongqing University, Chongqing, China, hyzhang@cqu.edu.cn; Xilin Liu, Huawei Cloud Computing Technologies Co., Ltd., Dongguan, China, liuxilin3@huawei.com; Yuchi Ma, Huawei Cloud Computing Technologies Co., Ltd., Dongguan, China, mayuchi1@huawei.com; Zibin Zheng, Sun Yat-sen University, Zhuhai Key Laboratory of Trusted Large Language Models, Zhuhai, China, zhzibin@mail.sysu.edu.cn.

Figure

This work is licensed under a Creative Commons Attribution 4.0 International License.

© 2026 Copyright held by the owner/author(s).

ACM 2994-970X/2026/10-ARTISSTA128

https://doi.org/10.1145/3832219

ISSTA128:2

D. Zheng, Y. Wang, X. Wang, K. Duan, H. Zhang, X. Liu, Y. Ma, and Z. Zheng

ACM Reference Format:

Dewu Zheng, Yanlin Wang, Xiwen Wang, Kefeng Duan, Hongyu Zhang, Xilin Liu, Yuchi Ma, and Zibin Zheng. 2026. From Static to Dynamic: Benchmarking Real-World Code Review with MCR-BENCH. Proc. ACM Softw. Eng. 3, ISSTA, Article ISSTA128 (October 2026), 24 pages. https://doi.org/10.1145/3832219

1 Introduction

Code review stands as a cornerstone of software quality assurance [4, 27, 39], aiming to enhance functional correctness and long-term maintainability before code integration. While pivotal, this process is historically labor-intensive and difficult to scale [55, 68], which has motivated recent efforts to leverage LLMs for automated code review [9, 19, 26, 31, 34, 48, 50, 69].

Although existing studies have extended their code review granularity from traditional diff hunks [20, 25, 36, 38, 45] to Pull Request (PR) level [10, 16, 19, 69, 70] to better approximate real-world development scenarios, they predominantly reduce the complex review process to a single-round, static decision task. Such simplification neglects the fact that real-world code review typically involves iterative interactions between developers and reviewers, and therefore fails to capture two critical characteristics of real-world code review: multi-round review interactivity and dynamic defect evolution [15, 58, 73].

As depicted in Figure 1, traditional review approaches (Figure 1a) are limited to operating at the level of isolated diff hunks. More recent PR-level benchmarks (Figure 1b) [19, 69, 70] elevate the evaluation granularity to the PR-level to better reflect realistic review practices; however, they remain constrained to generating single-round feedback based on the initial PR state and fail to support the continued tracking and validation of the identified defects. In practice, code reviews (Figure 1c) typically proceed through multiple review rounds with successive commits [15]. Defects raised in early rounds evolve as the code changes—being resolved or remaining open for further discussion. In such dynamic settings, defect semantics depend critically on historical states and prior feedback. Without explicitly modeling multi-round interactions and state transitions, LLMs cannot reliably assess whether current changes address past review comments, limiting their effectiveness in real-world applications.

Notably, empirical evidence from real-world Gerrit projects [24] shows that nearly half of code changes involve multiple review rounds, with review time increasing from 0.33 days (single-round) to 5.3 days (2–6 rounds) and 31.3 days (>6 rounds), highlighting the critical importance of modeling multi-round interactions and defect evolution.

MCR-BENCH. To bridge the gap and advance code review automation toward more realistic interactive scenarios, we introduce MCR-BENCH, the first benchmark dedicated to multi-round code review, comprising 2,269 real review tasks across the five popular languages [43]: Python, Java, JavaScript, TypeScript, and C#. Unlike existing benchmarks that focus primarily on static comment generation, MCR-BENCH is designed to evaluate LLMs' ability to track defect states and maintain contextual consistency under dynamic, multi-round interactions. To this end, we annotate each review task with fine-grained ground-truth defect cards, which capture detailed defect descriptions, locations, categories, and severity levels. More importantly, we explicitly record the lifecycle state transitions of each defect across multiple review rounds (e.g., New → Open → Resolved).

Construction Process. To help ensure the quality of MCR-BENCH, we design a rigorous multi-stage data construction pipeline. Specifically, after performing high-quality repository selection and PR data collection, we employ an LLM-based state-aware defect annotation pipeline to address the challenge of defect tracking in multi-round code review. The pipeline follows a “local detection first, global tracking later” strategy: it first identifies candidate defects within individual review rounds and then performs cross-round merging and lifecycle tracking by leveraging the complete code

ISSTA128:3

Figure

Fig. 1. Comparison of traditional hunk-level review, current PR-level code review, and real-world multi-round PR-level code review (this paper).

changes and review discussions to track defect state evolution throughout the PR lifecycle. Finally, manual cross-validation is conducted to enhance the accuracy and consistency of the annotations.

Experiments & Findings We conduct an empirical evaluation of mainstream LLMs [3, 17, 35, 44, 53, 64, 67] on MCR-BENCH to assess their capabilities in multi-round code review. Our evaluation focuses on defect identification and lifecycle state tracking, along with an analysis of common error patterns, yielding the following key findings. ① Limited overall capability. Current LLMs show modest performance on MCR-BENCH, particularly in defect identification, and even when defects are correctly identified, lifecycle state prediction remains a significant challenge. In addition, LLMs' performance degrades as the number of review rounds increases. ② Defect-sensitive performance. LLMs exhibit substantial variation in performance across defect types and severity levels, with semantically complex or low-salience defects being significantly more prone to omission. ③ Underlying Failure Mechanisms: In-depth error analysis attributes the high rates of false positives and false negatives to specific cognitive deficiencies in multi-round contexts. Models suffer from inadequate cross-round memory, leading to defect forgetting and temporal misalignment, where models fail to correctly distinguish between historical, resolved, and newly introduced issues.

Our contributions are summarized as follows:

• We introduce a state-aware benchmark for realistic multi-round code review. MCR-BENCH models defect state evolution across review rounds and supports evaluation of cross-round defect identification and state tracking.

• We develop an automated data construction pipeline for multi-round code review. The pipeline adopts a state-aware, multi-stage process that supports cross-round defect extraction, merging, and lifecycle tracking.

• We evaluate the capability boundaries of mainstream LLMs in multi-round code review. Based on MCR-BENCH, we assess LLMs' performance on defect identification and lifecycle state prediction, revealing performance variations across interaction depth and defect characteristics.

• We construct a fine-grained taxonomy of failure root causes. We employ an open coding process to false positive and false negative cases, resulting in a taxonomy that characterizes the underlying causes of LLM errors in multi-round code review.

ISSTA128:4

D. Zheng, Y. Wang, X. Wang, K. Duan, H. Zhang, X. Liu, Y. Ma, and Z. Zheng

References (53)