ConceptioArchivearXiv CS
arXiv CSopen access

Automated Classification of Human Code Review Comments with Large Language Models

2026 · arxiv_cs
arXiv CS · Papers · License: Open Access · 2026
Open Source ↗Direct PDF ↓
software-architecturesoftware-engineeringtesting
software engineering, software architecture, testing

arXiv:2604.23667v1 [cs.SE] 26 Apr 2026

Automated Classification of Human Code Review Comments with Large Language Models Semih Çağlar

Şükrü Eren Gökırmak

Eray Tüzün

Bilkent University Computer Engineering Ankara, Turkey [email protected]

Bilkent University Computer Engineering Ankara, Turkey [email protected]

Bilkent University Computer Engineering Ankara, Turkey [email protected]

Abstract

1

Context: Code reviews are essential for maintaining software quality, yet many human review comments suffer from issues such as redundancy, vagueness, or lack of constructiveness. These types of comments may slow down feedback and obscure important insights. Prior work on code review comments mostly explore the detection and categorization of useful comments, while fine-grained categorization of comment issues remains underexplored. Objective: This work aims to design and evaluate an automated system for classifying code review comments according to specific categories of issues. Methodology: We introduced a nine-label taxonomy for code review comments, covering six review comment smells and three common useful intents, and manually labeled 448 comments from a publicly available dataset. We benchmarked zero-shot and oneshot single-label classification over each comment and its associated unified diff hunk, comparing GPT-5-mini, LLaMA-3.3, and DeepSeek-R1. We reported macro-F1 as the primary metric. Results: Zero-shot performance was moderate under class imbalance (macro-F1 0.360 to 0.374). One-shot exemplar conditioning had model-dependent effects: GPT-5-mini and DeepSeek-R1 macro-F1 scores improved, however LLaMA-3.3 suffered a slight decrease. Exemplars most consistently helped intent-boundary labels, whereas classification of evidence-sensitive labels remain challenging. Conclusion: Our results indicate that comment–diff evidence is sufficient for some labels but limited for evidence-sensitive smells. Future work includes adding thread context, improving intentpreserving rewrites, and validating robustness across platforms.

Code review (CR) is a collaborative process where developers asynchronously examine peers’ code changes to find defects and suggest quality improvements, while also facilitating knowledge transfer among developers [2, 7]. This practice evolved as a pragmatic alternative to the resource-intensive Fagan inspections introduced in the 1970s [12]. By reducing formal meeting overhead and enabling distributed, tool-supported collaboration, code review has become common practice across both commercial enterprises [2, 29, 30] and open-source ecosystems [29]. Developers allocate roughly 10–15% of their working time to performing code reviews [3]. Developers spend on average six hours per week on reviews, with a median turnaround of 24 hours for sign-off, and many reviews dragging on for days [1, 9, 11]. While beneficial, CR demands substantial human effort and time, often leading to backlogs and delays [7]. Empirical studies at Microsoft report that only about 15% of review comments indicate potential defects, while more than 50% focus on maintainability concerns [9]. The essential components of modern code review are the review comments [4]. Patch authors typically refer to these comments when revising their code modifications and preparing the subsequent patch submission. Therefore, the quality of these comments plays a crucial role in the effectiveness of the review process and must be sufficiently useful to guide meaningful code improvements. An earlier large-scale study found that roughly 34.5% of review comments across five large Microsoft projects were non-useful [4]. We refer to such low-value comments as review comment smells. Consequently, improving code review effectiveness is a high priority for many organizations [4, 15]. Most prior studies evaluate review comments along a single quality axis. Early work at Microsoft labeled 1.5 million comments as useful vs. non-useful and trained a decision-tree classifier to predict this dichotomy [4]. Subsequent detectors such as RevHelper predict usefulness at submission time on an industrial corpus of 1,116 comments [27], while other work distinguishes actionable vs. non-actionable [28]. Later studies, such as the EvaCRC framework focuses on multiple axes of quality by grading comments on four attributes (emotion, question, evaluation, suggestion) mapped to quality tiers from poor to excellent, but it does not identify concrete smell types [38]. Likewise, the ClearCRC framework evaluates comments on three attributes (relevance, informativeness, and expression) but do not map them to concrete smell types [6]. Collectively, these studies show automatic measurement is feasible, but they do not explain why a comment is low value.

CCS Concepts • Software and its engineering → Software maintenance tools.

Keywords Code Review, Pull Requests, Review Comments, Review Quality, Large Language Models, Code Review Comment Classification ACM Reference Format: Semih Çağlar, Şükrü Eren Gökırmak, and Eray Tüzün. 2026. Automated Classification of Human Code Review Comments with Large Language Models. In Proceedings of The 30th International Conference on Evaluation and Assessment in Software Engineering (EASE 2026). ACM, New York, NY, USA, 12 pages. https://doi.org/XXXXXXX.XXXXXXX

EASE 2026, Glasgow, Scotland, United Kingdom 2026. https://doi.org/XXXXXXX.XXXXXXX

Introduction

EASE 2026, 9–12 June, 2026, Glasgow, Scotland, United Kingdom

A complementary line of work proposes topic-oriented taxonomies. Li et al. [18] define four high-level categories (Correctness, Decision, Management, Interaction) with 11 subcategories, and Ochodek et al. [23] introduce CommentBERT, which covers 12 content themes (e.g., logic, API, documentation). These approaches primarily characterize the topics or functions of review comments and typically presuppose comments to be substantive and useful. While some taxonomies include categories that are adjacent to comment quality or potential smells, such categories are generally coarse-grained and do not distinguish between concrete types of quality issues. In contrast, our work focuses explicitly on categorizing low-quality review comments into fine-grained smell categories. To our knowledge, no operational taxonomy explicitly targets review comment smells at this level of granularity. Parallel to the work on review comment classification, automated review comment generation has gained increasing attention [7, 16, 17, 34] in the last few years. While earlier work often used conventional Machine Learning (ML) and Natural Language Processing (NLP) techniques, recent approaches are increasingly dominated by large-scale pre-trained transformer models and Large Language Models (LLMs) to examine code changes and produce review comments that detect issues and propose potential fixes. The effectiveness of these models largely depends on the quality of their training data. If the data is inadequate or contains errors, language models cannot achieve strong performance. Therefore, reliable and well-curated data is essential. In code review comment research, existing datasets [35, 37], though useful, exhibit notable shortcomings. They are often collected from repositories without sufficient curation or preprocessing, leading to noisy data that includes uncivil, irrelevant, or poorly structured comments [32]. Such imperfections can impair model training and cause systems to learn misleading or incoherent patterns, ultimately reducing the quality of automated feedback. Therefore, enhancing the cleanliness and reliability of code review datasets is essential to advance automated comment generation and code improvement efforts. Empirical progress is further hampered by data quality. Widely used public corpora retain significant noise despite heuristic filters. For example, heuristic cleaning still leaves approximately 32% invalid items [35]. LLM-based re-analysis finds up to 36% vague or non-actionable comments that distort training [40]. Sghaier et al. [32] therefore discard about 3.3% low-relevance items from a 176,613-comment corpus to raise data fidelity. Without (i) a dedicated taxonomy of smell patterns and (ii) a public, curated benchmark labeled with that taxonomy, researchers cannot fairly compare detectors or study downstream repair. Our study addresses both gaps: we introduce a taxonomy of code review comments and release a dataset of 448 review comments labeled with that taxonomy, mapping coarse “non-useful” items from a prior dataset onto explicit smell categories. We additionally examine the labeled benchmark qualitatively to extract and report concrete insights. This resource lays the empirical foundation for systematic detection and, ultimately automated repair, of low-quality human review comments. This study explores the potential of LLMs for analyzing and categorizing code review comments. Complementary to recent LLMbased work on fine-grained review comment classification under

Caglar et al.

an existing taxonomy [36], we focus on smell-oriented classification of problematic review comments. LLMs have proven effective in programming and natural language tasks [5, 39], particularly through zero-shot learning, where they perform classification without task-specific training data by following prompt instructions. Since labeled data can be scarce, we evaluate both zero-shot and one-shot prompting (one exemplar per category). Based on this setup, we pose the following research questions: RQ1. How well do LLMs classify review comments into our taxonomy given only the comment text and its linked diff hunk? RQ2. What is the effect of one-shot prompting on classification performance, and which categories are most affected?

2 Related Work 2.1 Code Review Comment Taxonomies Prior work on code review comment taxonomies primarily focus on categorizing the function or the intent of the comments. Li et al. [18] propose a two-level taxonomy of review comments with four first-level groups (Correctness, Decision, Management, Interaction) which contain 11 subcategories in total. This taxonomy focuses on the intent of the comment, i.e., the reviewer’s goal for which the comment is written. Ochodek et al. [23] introduce a 12-category taxonomy (e.g., code design, style, logic, API, documentation, compatibility, rule definition), derived by analyzing code review comments made on the Wireshark project. This taxonomy focuses on the topic of the comment, i.e., the aspect of code/process that the comment concerns. However, in contrast to our approach, these taxonomies do not make judgments about the quality of the comments. There are works that include categories capturing quality issues, but the granularity of the issues in these taxonomies are limited. In their investigation of qualities that make code review comments useful, Turzo et al. [36] introduce a taxonomy which includes False Positive as a category. This category captures comments that propose to problems that do not exist. Similarly, while investigating code review automation, Tufano et al. [35] identify certain categories of comments that they discarded from their model evaluations. These include categories such as Unclear Comment and No change asked. There are also studies that quantitatively classify comments according to quality attributes, though they do not employ a qualitative, taxonomical framework [6, 38]. While notions of problematic code review comments exist, no comprehensive taxonomy, to our knowledge, maps comments to concrete underlying issues.

2.2

Quality-Focused Code Review Datasets

Previous research on quality-focused code review datasets has largely aimed at annotating comments by specific quality attributes or refining large corpora to reduce noise and improve reliability. Yang et al. [38] introduce a quality-oriented dataset and an explainable grading scheme for code review comments. They define four context-independent attributes—emotion, question, evaluation, and suggestion—and map them to four quality tiers (poor, acceptable, good, excellent) to provide reasoned feedback rather than a binary useful/not-useful label. The attributes are derived via triangulation of standards and prior literature, validated on real comments, and

Automated Classification of Human Code Review Comments with Large Language Models

operationalized with 16 exemplar mapping rules. In an industrial case study, they annotate 17,000 inline comments with an imbalanced tier distribution (acceptable 45%, good 38%, excellent 16%, poor 1%). For automation, their BERT-based multi-label classifier outperforms RF, CNN/RNN, and Transformer baselines, reaching per-attribute F1 of 0.82 (emotion), 0.94 (question), 0.75 (evaluation), and 0.92 (suggestion); grade-level macro-F1 is highest for excellent (0.79) and lowest for poor (0.48). Practitioner interviews also motivate exposing confidence scores and error-correction rules (e.g., limiting the grade under negative emotion) to improve interpretability and trust. Tufano et al. [35] explicitly target dataset noise to produce a clean training corpus. They manually annotated 1875 line-linked review comments as relevant or irrelevant using dual annotation with majority resolution, yielding 1676 relevant and 199 irrelevant items. They evaluated n-gram features with Random Forest, J48, and Bayesian Network classifiers in Weka, applying SMOTE for class balancing and feature selection. The best model achieved 91.6% precision on the relevant class, a modest improvement over the 89% base rate. They furthermore designed simple keyword heuristics, tuning on 70% of the labeled set and evaluating on the remaining 30%; the heuristic filter reached 93.4% precision for retaining relevant comments and was adopted as a preprocessing step to remove noisy comments from downstream corpora. Turzo et al. [37] construct a labeled corpus for OpenDev Nova by performing dual annotation with adjudication, achieving Cohen’s Kappa of 0.68. They adopt a taxonomy derived from prior work [36] with 17 subcategories grouped under five high-level classes: Functional, Refactoring, Documentation, Discussion, and False Positive. They report a final labeled set of 1,828 comments in the paper, while the accompanying replication package contains 1,829 labeled comments1 . Within the labeled set, they report 158 False Positive comments. In their scheme, False Positive denotes an invalid concern where the raised issue is not actually present, which is a concrete source of dataset noise that must be flagged or filtered when building a clear corpus for downstream repair. Sghaier et al. [32] diagnose noise in a 176,613-item, multilingual code-review corpus and use Llama-3.1-70B as an LLM judge to score each comment for relevance, clarity, and conciseness while categorizing type, nature, and civility. Rather than relying on superficial heuristics, they apply a semantics-aware filter: using a relevance threshold of four out of ten, they remove 5,895 low-relevance comments (≈3.3%), yielding a curated set of 170,718 items. Examples of removed comments include vague or vacuous remarks such as “Need some edit here?”, “Same here etc :)”, and “This is gross.” Reliability of the automatic judgments is supported by a two-annotator sanity check with high agreement: Cohen’s 𝜅 = 1.00 for civility, 0.88 for type, 0.82 for nature, and 𝜅 = 0.85 (relevance), 0.76 (conciseness), 0.64 (clarity). Their study is particularly relevant because it shows that LLM-based curation can target semantic deficiencies in review comments rather than relying only on simple lexical rules. Liu et al. [19] target residual noise in open-source code-review datasets and show that heuristic and SVM-based cleaning still leaves many vague or non-actionable comments that degrade training (e.g.,

1 https://github.com/WSU-SEAL/CR-classification-ESEM23

EASE 2026, 9–12 June, 2026, Glasgow, Scotland, United Kingdom

CodeReviewer [17]). They argue for semantic, context-aware filtering and motivate it with concrete failures of prior rules. The paper reports that only 64% of sampled training comments in CodeReviewer are valid; applying LLM classifiers to retain valid items yields precision between 66% and 85% and raises the valid ratio in the corpus to about 85% while reducing the training size by 25–66%. Models fine-tuned on the cleaned data improve BLEU-4 by 7.5–13% overall and by 12.4–13.0% on valid subsets; manual evaluation and large-scale proxies show quality gains up to 24% in informativeness and 11% in relevance. The study formalizes “valid” versus “noisy” review comments for cleaning, documents that earlier heuristics miss many remaining cases, and reports that widely used test sets still contain approximately 32% noise. Rahman et al. [27] curate an industrial dataset by sampling the 300 most recent inline review comments from each of four commercial systems at “ABC Company” via the GitHub API, then discarding PRs created for scaffolding, yielding 𝑛 = 1,116 comments. Each comment is labeled as useful if a subsequent commit modifies code within 1–10 lines of the comment; the final split is 55.53% useful vs. 44.47% non-useful. They analyze textual and reviewer-experience features and train RevHelper; a Random Forest reaches approximately 66% accuracy. This dataset is notable as an early industrial benchmark on comment usefulness, although it is private and not publicly releasable. Chen et al. [6] examine the clarity of code-review comments in open-source projects. They perform literature review to generate a first set of potential attributes and refine them via open card sorting to produce a more refined set: relevance, informativeness, and expression. After a preliminary review with 11 industrial practitioners, they design a survey to generate evaluation criteria for each attribute. They manually annotate 2,438 code-diff/comment pairs across nine programming languages according to the generated criteria, achieving strong inter-rater agreement (Cohen’s Kappa = 0.87). They report that roughly 28.8% of comments fall short on at least one attribute. Among the three attributes, lack of informativeness is the most common deficiency. Based on these findings, the authors propose ClearCRC, a framework for evaluating comment clarity, and benchmark deep learning, machine learning, pre-trained language models, and LLMs on balanced accuracy, precision, recall, and 𝐹 1 score. They find that pre-trained language models provide encouraging results, reaching a balanced accuracy of 73.04% and 𝐹 1 score of up to 94.61%. Tufano et al. [33] provide a comprehensive assessment of current techniques for automating code review across both code-to-comment and code&comment-to-code tasks. Their evaluation covers three representative systems spanning neural and IR-based methods and different granularities of code representation. By manually inspecting 2,291 predictions from these systems, they derive a fine-grained taxonomy of more than one hundred code-change types and show that existing techniques perform best on relatively simple changes while degrading on more semantically involved ones. A key finding, highly relevant to our work, is that the underlying datasets themselves are far from clean: 574 of the 2,291 analyzed instances (≈ 25%) are judged fundamentally problematic and should be discarded for both training and evaluation. They identify recurring issues such as unclear comment, no change asked, ignored comment, and wrong linking, and argue that these systematically bias empirical results

EASE 2026, 9–12 June, 2026, Glasgow, Scotland, United Kingdom

while motivating better dataset-cleaning pipelines. This directly motivates our focus on a taxonomy and benchmark centered on faults in review comments themselves.

2.3

Code Review Comment Classification

Prior research on code review comment classification has primarily focused on categorizing comments along quality dimensions or taxonomies, often emphasizing useful comments. Although our approach classifies comments by smell categories, many of the techniques and attributes remain relevant to our work. Sarker et al. [31] introduce ToxiCR, a supervised toxicity detector tailored to software engineering communications and trained on 19,651 code review comments from Android, Chromium OS, LibreOffice, and OpenStack, of which 3,757 (≈ 19.1%) are labeled toxic. Across 10 evaluated algorithms, the best model is BERT with keyword removal, achieving 𝐴 = 95.8% and 𝐹 1,toxic = 88.9%; crossdataset tests on 4,140 Gitter messages yield ∼ 0.86 𝐹 1,toxic . They also report a CPU-friendly Random Forest baseline within roughly 1–2 points of the best model. Error analysis highlights pragmatic “general errors,” SE polysemy, self-deprecation, and acronym collisions. Turzo et al. [37] build a deep, multi-input classifier for code review feedback that fuses CodeBERT embeddings of the surrounding code context (±10 lines) and the comment text with 27 engineered AST/change/file attributes, feeding them through LSTMs and a dense softmax head; labels follow a five-class taxonomy (Discussion, Documentation, Refactoring, Functional, False Positive) derived from prior work [36]. From OpenDev’s Gerrit, they sample 2,500 comments, obtain dual-annotator labels with 𝜅 = 0.68 and adjudication, then exclude 672 non–source-file items to yield 1,828 comments. Under 10-fold cross-validation, their best model (CodeBERT for both code and comment) attains 59.3% accuracy and outperforms a replication of prior work [14]’s classical ML approach by +18.7 points in accuracy; using BERT for comments is ∼ 10 points worse, likely because many comments embed code. Error analysis shows systematic confusion between Discussion and Refactoring and weak performance on False Positive due to class imbalance. Rahman [28] proposes RefineCode, a pipeline that first classifies PR review comments as actionable versus non-actionable, and then assists resolution via similar-review retrieval, Stack Overflow linking, and an LLM chatbot. The study builds an industrial corpus of 9,500 review comments from five private GitHub projects collected in Jan–Nov 2019; 44 developers were invited to label comments and 8 participated (approximately 18%), yielding 4,313 actionable and 5,187 non-actionable instances. It compares traditional baselines using TF–IDF and sentence embeddings (Sentence-BERT, USE, Mirror-BERT) against fine-tuned transformers. The best detector is BERT with 𝐹 1 = 0.96 (DistilBERT 𝐹 1 = 0.95), while strong traditional baselines also reach 𝐹 1 ≈ 0.95. RefineCode then uses retrieval and LLM assistance to propose example-driven fixes. Nguyen et al. [22] study LLM-based classification of review comments under an existing 17-category fine-grained taxonomy [36] and show that LLMs can outperform a supervised baseline on that task. Complementary to this line of work, our study focuses on a different target: a smell-focused taxonomy and curated benchmark explicitly centered on problematic review comments.

Caglar et al.

3

Methodology

This section covers the overall workflow and experimental setup. Figure 1 provides an overview of our methodology. Section 3.1 covers our smell-focused taxonomy, Section 3.2 covers dataset construction and diff extraction, Section 3.3 covers the manual labeling protocol, Section 3.4 covers the review comment classification setup, and Section 3.5 covers the evaluation metrics.

3.1

Taxonomy Definition

We define a taxonomy for human review comments that is designed to be (i) smell-focused, (ii) mutually exclusive, (iii) operational for annotators, and (iv) actionable for automated tooling. Our smellfocused taxonomy additionally includes non-smell categories for useful intents (Actionable, Question, and Clarification), reflecting the mixed nature of real review threads. As our study focuses on categorizing code review comment smells, the taxonomy is derived from and justified by prior empirical studies on code review practices. The full taxonomy is shown in Table 1. We conducted a focused review of prior work on: (i) usefulness of code review comments, (ii) code review comment classification, and (iii) reviewer intent and communication patterns. From this review process, we extracted candidate categories. Following prior research on what makes code review comments useful (e.g., specificity, relevance to the diff, and a constructive tone), we include both constructive intents (e.g., actionable suggestions, questions, clarifications) and low-value categories that violate these principles (e.g., vague, incorrect, redundant, unrelated, or toxic feedback). Semantically overlapping categories were merged into one, and the names of the categories were modified to have more consistency. We include Praise as a smell label. Although praise can support a positive review climate and reinforce desired practices [4], prior work also finds that praise provides limited actionable value for the current change and is often rated as less useful than other comment types [4, 36].

3.2

Dataset Construction

We constructed our dataset by reusing a prior dataset provided by Turzo et al. [37]. We selected this corpus because it provides per-comment links to the original Gerrit patch set/review thread, allowing direct inspection of the full discussion when additional context was needed, and because its established review-centric taxonomy offers a practical basis that we can re-map into our smellfocused labels. The dataset (𝑁 = 1, 829) is composed of code review comments done on the OpenDev Nova project, written in Python, and includes five high-level categories: Functional, Refactoring, Documentation, Discussion, and False Positive. Diff extraction. Using the patch set URL provided by the original dataset, we retrieve the corresponding diff and extract the diff hunk associated with each review comment. We exclude comments that are not anchored to any changed lines (i.e., comments not associated with a diff hunk). For retained comments, we also record the span of code referenced by the comment and mark it with delimiters in the hunk. Selecting smell candidates. For our study, we explicitly target low-quality code review comments. To this end, we extract all comments labeled as False Positive or the Discussion subcategory

Automated Classification of Human Code Review Comments with Large Language Models

EASE 2026, 9–12 June, 2026, Glasgow, Scotland, United Kingdom

Figure 1: Methodology overview. Category

Brief Definition

Example Comment

Incorrect

Claims a specific problem in the code, but that claim is false for the current patch.

there should be ’True’? (refer to Figure 2)

Toxic

Uses hostile, rude, or mocking language instead of a professional tone.

ugh. this kind of embedded tribal knowledge is just terrible and is an example of why the PCI module is so hard to work with :(

Unrelated

Unrelated to the current diff or PR scope.

Vague

Supporting Studies

Count

[36, 37]

19

[6, 13, 31, 32, 36]

10

Tolkien would be proud

[6, 27, 32]

8

Hints at an issue but does not clearly state what/where/why, so it is hard to act on.

Whoops

[6, 32, 36]

13

Redundant

Restates information already obvious from the code, adding no new insight or request.

weird that this even existed in the first place

[26]

39

Praise

Primarily praises the code change without suggesting any changes.

thank you for making this into something somewhat understandable with some code comments.

[4, 36]

70

Useful Question

High-value feedback that improves the PR. Primarily asks for clarification about this change, without directly requesting a code change. Explains a concern and recommends a code change. Adds helpful context/explanation about the code change; does not request a code change.

Why do you need this mock?

[2, 36, 38]

289 50

you can use decorator instead of this. I guess this works to fail scheduling because we don’t use the PlacementFixture.

[4, 32] [2, 26]

176 63

Actionable Clarification

Table 1: Taxonomy of review comments with examples, justifications for each category, and the counts of each category.

Praise from this dataset, as these categories are likely to fit the smell categories in our taxonomy. This selection results in a subset of 224 comments. Adding useful comments. To ensure a more balanced distribution between smell and non-smell comments, we randomly sample an additional 224 comments from the remaining categories in the dataset. This random sampling results in an equal number of comments for the non-smell set (𝑁 = 224), bringing the total size of our dataset to 448 code review comments.

3.3

Manual Labeling

We applied a two-stage protocol to assign exactly one category from our taxonomy to each review comment. For each item, annotators were shown (i) the comment text, (ii) the associated unified diff hunk

selected for that comment, and (iii) a link to the original review discussion (included in the dataset), which could be used when additional context was needed. Although a review comment may mention multiple issues, we assign each comment to its primary issue category to maintain a consistent single-label annotation scheme for benchmark construction and evaluation. Pilot session. First, authors A1 (three years of Python experience) and A2 (three years of Python experience) independently labeled a pilot set (𝑁 = 10) drawn uniformly at random from the corpus to calibrate decision boundaries, followed by a short calibration session to refine operational rules. Inter-rater reliability on the pilot was measured using Cohen’s Kappa [8] and was calculated as

EASE 2026, 9–12 June, 2026, Glasgow, Scotland, United Kingdom

Figure 2: An example of an Incorrect review comment, where the reviewer claims a mistake despite the code being correct under the intended logic.

𝜅 = 0.49. During calibration, we also introduced a dedicated Clarification category to capture comments that primarily add explanatory context without proposing a concrete code change. Independent labeling and conflict resolution. After the pilot session, A1 and A2 independently labeled the remaining corpus. Order of the items was randomized per annotator to mitigate order effects, and each item received exactly one label from Table 1. Inter-rater agreement between A1 and A2 before any conflict resolution was 𝜅 = 0.56, indicating moderate agreement [20]. The two annotators then conducted a structured reconciliation pass over disagreements, increasing agreement to 𝜅 = 0.98 before involving the third author. Remaining unresolved cases were adjudicated in a conflict-resolution meeting, with the third author (A3; 10+ years of empirical software engineering experience) serving as the final arbiter when consensus could not be reached. The final label distribution is summarized in Table 1.

3.4

Review Comment Classification

Model selection. We use three model families to cover both managed, closed-weights API models and open-weights models: GPT-5mini [24], Llama-3.3-70B-Instruct [21], and DeepSeek-R1 [10]. Selection is driven by four constraints: (i) instruction-following reliability under schema-constrained decoding, (ii) code-aware capabilities to parse diffs and identifiers, (iii) cost–latency profile suitable for large batches, and (iv) licensing and reproducibility. GPT-5-mini is a compact reasoning-capable model served via a managed API, chosen for robust instruction following and stable structured outputs. Llama-3.3-70B-Instruct is an open-weights instruction-tuned model, included as a reproducible baseline with strong general-purpose instruction following and practical performance on code-adjacent text tasks. DeepSeek-R1 is an open-weights reasoning-focused model, selected for its strong semantic reasoning on code review–related text classification. Model Configuration. For open-weights models, we set the temperature to 0.0 for classification-style prompts to improve output stability and reduce sampling-induced variance. For GPT-5-mini, temperature control is not exposed in the API [25]; therefore, we report results under the default sampling behavior while keeping all other prompt and decoding constraints identical (e.g., closed-set, single-label output). Prompt design. We evaluate two inference settings for single-label prediction: zero-shot and one-shot. Each instance provides (i) the review comment and (ii) its associated unified diff hunk with delimiters marking the span of code marked by the comment. Prompts follow a fixed, delimiter-based layout: (i) a brief task description,

Caglar et al.

Setting

Acc.

Macro-P

Macro-R

Macro-F1

W-F1

MCC

GPT-5-mini, zero-shot GPT-5-mini, one-shot LLaMA-3.3, zero-shot LLaMA-3.3, one-shot DeepSeek-R1, zero-shot DeepSeek-R1, one-shot

0.626 0.645 0.597 0.554 0.608 0.597

0.445 0.491 0.484 0.454 0.392 0.450

0.372 0.408 0.350 0.339 0.361 0.386

0.374 0.409 0.363 0.344 0.360 0.388

0.598 0.616 0.547 0.530 0.593 0.591

0.507 0.533 0.452 0.406 0.486 0.485

Table 2: Classification performance (Macro-P, Macro-R, and W-F1 refer to Macro-Precision, Macro-Recall, and WeightedF1 respectively).

(ii) task instructions, (iii) the taxonomy with concise label definitions, (iv) an exemplar block (one-shot only), and (v) the input block containing the comment and diff hunk. Our full prompt templates, alongside our labeled dataset, are available in our replication package2 . In the one-shot setting, we prepend a small set of exemplars drawn from the dataset (and excluded from evaluation), which were manually selected as the clearest representatives for each label and are identical to the examples in Table 1, to illustrate each label’s decision boundary. For automatic scoring, we constrain decoding with a simple JSON schema that contains only a label field, and require the model to output only the predicted label, a single string from a fixed set, with no additional fields or free-form text. In case of an improper response according to our schema, we repeat the inference. We use the same base template and context configuration for all three models; the one-shot variant differs only by the additional exemplar block.

3.5

Evaluation Metrics

We evaluate each model using accuracy, macro-precision, macrorecall, macro-F1, weighted-F1, and Matthews Correlation Coefficient (MCC). Because our dataset is highly imbalanced across categories, we use macro-F1 as the primary metric: it assigns equal weight to each category, preventing majority labels from dominating the evaluation and better reflecting performance on minority labels. We also report MCC as a complementary single-score summary of prediction–label agreement based on the full confusion matrix that remains informative under class imbalance.

4

Results

This section reports our classification results and answers the research questions. RQ1: How well do LLMs classify review comments into our taxonomy given only the comment text and its linked diff hunk? Table 2 shows that zero-shot performance is moderate (accuracy 0.597–0.626), but lower under macro-F1 (0.360–0.374), reflecting the difficulty of minority and context-dependent categories under label imbalance. GPT-5-mini achieves the strongest zero-shot macro-F1 (0.374) and MCC (0.507), while LLaMA-3.3 and DeepSeekR1 are slightly lower in macro-F1 (0.363 and 0.360, respectively). Per-category results in Table 3 reveal a consistent split between linguistically explicit, high-support categories and those that require broader context or verification. Across models, Actionable and Praise are reliably identified (e.g., zero-shot F1 0.697–0.718 for 2 https://doi.org/10.6084/m9.figshare.31073632

Automated Classification of Human Code Review Comments with Large Language Models

Actionable, 0.742–0.882 for Praise), and Clarification is also comparatively learnable (0.551–0.658). In contrast, Incorrect is effectively not detected in zero-shot (F1 = 0 for all three models), suggesting that verifying the reviewer’s claim against code semantics is not supported by the limited comment+diff input. Similarly, Redundant and Vague remain difficult (zero-shot F1 0.000–0.241 and 0.050– 0.143, respectively), consistent with their dependence on missing thread history (Redundant) or underspecification rather than distinctive surface cues (Vague). Overall, zero-shot prompting yields usable performance on frequent operational intents, but it does not yet robustly capture the smell labels that motivate downstream intervention (notably Incorrect, Redundant, and Vague). RQ2: What is the effect of one-shot prompting on classification performance, and which categories are most affected? One-shot exemplar conditioning may yield small-to-moderate gains in macro-F1, but the effect is model-dependent (refer to Table 2). For GPT-5-mini, one-shot improves macro-F1 from 0.374 to 0.409 (+0.035) and increases MCC from 0.507 to 0.533, producing the best overall setting in our study. Likewise, DeepSeek-R1 increases in macro-F1 score (+0.028) in one-shot setting but shows reduced accuracy and MCC, indicating that exemplar conditioning can trade off global agreement (MCC) for improved minority-class behavior captured by macro-F1. For LLaMA-3.3, both macro-F1 and MCC scores reduce (−0.019 and −0.046, respectively) in one-shot setting. Category granularity. We analyze model performance at the category level (refer to Table 3) to more accurately judge model behavior. For GPT-5-mini, one-shot increases F1 for Question (from 0.560 to 0.602), with smaller gains for Redundant, Unrelated, and Vague that remain low in absolute terms. However, it decreases F1 score for Clarification (from 0.667 to 0.639). For LLaMA-3.3, oneshot marginally improves Question, Redundant and Praise, but it degrades Vague to 0.000. It also decreases Actionable and Clarification (−0.027 and −0.068, respectively). For DeepSeek-R1, one-shot improves Question and yields non-zero performance on Incorrect (0.067), but it reduces Actionable and Vague. Across all models and settings, Incorrect remains the dominant gap, reinforcing that this label likely requires verification signals beyond the provided context. One-shot prompting most consistently improved the models’ capability of distinguishing Question comments. To better understand remaining errors in the best setting, Table 4 shows the confusion matrix for GPT-5-mini (one-shot). A prominent pattern is intent overlap between Actionable and Question: 9 actionable comments are predicted as questions, and 16 questions are predicted as actionable, consistent with reviewers phrasing requests as questions. A second pattern is that Vague is used as an uncertainty sink: only 2/12 vague comments are recognized, while the model predicts Vague 26 times in total, primarily absorbing actionable and redundant instances. Third, Redundant is rarely detected (3/38) and is instead mapped to “useful” labels such as Clarification and Actionable, which is expected without thread context. Finally, Incorrect is only once correctly predicted (1/18) and is overwhelmingly interpreted as Actionable, suggesting a bias toward treating reviewer claims as valid unless they are explicitly contradicted. Smell-NotSmell granularity. At a coarser granularity, the binary confusion matrix in Table 5 (NotSmell vs. Smell) indicates

EASE 2026, 9–12 June, 2026, Glasgow, Scotland, United Kingdom

that the best setting achieves binary F1 = 0.623, with comparatively higher precision than recall for the Smell class. This suggests a viable triage behavior (flagging likely smells with fewer false alarms), but with non-trivial miss rate that would still require complementary signals (e.g., retrieved thread context for redundancy and verification-oriented checks for incorrectness).

5

Discussion

This section discusses the implications of our findings. We interpret the results and outline directions for future work.

(a) Clarification as code documentation.

(b) Clarifying why the code was removed.

(c) Thread answers an inline TODO.

(d) Edited comment revising intent.

Figure 3: Example review comment screenshots.

5.1

Implications for Researchers

Treating Incorrect comments as context vs. as targets. Although Incorrect review comments can be valuable in real repositories, because they surface and correct misinformation during collaborative development, they are undesirable as training targets for automation: a model that learns to produce such comments would be harmful. Therefore, researchers should explicitly separate the role of Incorrect comments in the pipeline: they may be retained as contextual signals (e.g., to study misconception patterns, measure correction dynamics, or support retrieval that contrasts correct

EASE 2026, 9–12 June, 2026, Glasgow, Scotland, United Kingdom

Label

Setting

Actionable

Caglar et al.

P

R

F1

Support

GPT-5-mini, zero-shot GPT-5-mini, one-shot LLaMA-3.3, zero-shot LLaMA-3.3, one-shot DeepSeek-R1, zero-shot DeepSeek-R1, one-shot

0.667 0.693 0.585 0.606 0.668 0.707

0.777 0.789 0.863 0.749 0.760 0.674

0.718 0.738 0.697 0.670 0.711 0.690

175 175 175 175 175 175

Clarification

GPT-5-mini, zero-shot GPT-5-mini, one-shot LLaMA-3.3, zero-shot LLaMA-3.3, one-shot DeepSeek-R1, zero-shot DeepSeek-R1, one-shot

0.605 0.561 0.562 0.433 0.549 0.486

0.742 0.742 0.581 0.629 0.806 0.871

0.667 0.639 0.571 0.513 0.654 0.624

62 62 62 62 62 62

Incorrect

GPT-5-mini, zero-shot GPT-5-mini, one-shot LLaMA-3.3, zero-shot LLaMA-3.3, one-shot DeepSeek-R1, zero-shot DeepSeek-R1, one-shot

0.000 0.000 0.000 0.000 0.000 0.200

0.000 0.000 0.000 0.000 0.000 0.056

0.000 0.000 0.000 0.000 0.000 0.087

18 18 18 18 18 18

Praise

GPT-5-mini, zero-shot GPT-5-mini, one-shot LLaMA-3.3, zero-shot LLaMA-3.3, one-shot DeepSeek-R1, zero-shot DeepSeek-R1, one-shot

0.896 0.909 0.778 0.814 0.902 0.914

0.870 0.870 0.710 0.696 0.797 0.768

0.882 0.889 0.742 0.750 0.846 0.835

69 69 69 69 69 69

Question

GPT-5-mini, zero-shot GPT-5-mini, one-shot LLaMA-3.3, zero-shot LLaMA-3.3, one-shot DeepSeek-R1, zero-shot DeepSeek-R1, one-shot

0.549 0.574 0.636 0.714 0.792 0.703

0.571 0.633 0.429 0.408 0.388 0.531

0.560 0.602 0.512 0.519 0.521 0.605

49 49 49 49 49 49

Redundant

GPT-5-mini, zero-shot GPT-5-mini, one-shot LLaMA-3.3, zero-shot LLaMA-3.3, one-shot DeepSeek-R1, zero-shot DeepSeek-R1, one-shot

0.250 0.600 0.000 0.143 0.350 0.222

0.053 0.079 0.000 0.026 0.184 0.158

0.087 0.140 0.000 0.044 0.241 0.185

38 38 38 38 38 38

Toxic

GPT-5-mini, zero-shot GPT-5-mini, one-shot LLaMA-3.3, zero-shot LLaMA-3.3, one-shot DeepSeek-R1, zero-shot DeepSeek-R1, one-shot

0.500 0.333 1.000 1.000 0.000 0.500

0.111 0.111 0.111 0.111 0.000 0.111

0.182 0.167 0.200 0.200 0.000 0.182

9 9 9 9 9 9

Unrelated

GPT-5-mini, zero-shot GPT-5-mini, one-shot LLaMA-3.3, zero-shot LLaMA-3.3, one-shot DeepSeek-R1, zero-shot DeepSeek-R1, one-shot

0.500 0.667 0.667 0.375 0.200 0.250

0.143 0.286 0.286 0.429 0.143 0.143

0.222 0.400 0.400 0.400 0.167 0.182

7 7 7 7 7 7

Vague

GPT-5-mini, zero-shot GPT-5-mini, one-shot LLaMA-3.3, zero-shot LLaMA-3.3, one-shot DeepSeek-R1, zero-shot DeepSeek-R1, one-shot

0.036 0.077 0.125 0.000 0.069 0.071

0.083 0.167 0.167 0.000 0.167 0.167

0.050 0.105 0.143 0.000 0.098 0.100

12 12 12 12 12 12

Table 3: Per-category performance.

vs. incorrect claims), while being excluded (or used as negative exemplar) when training or prompting models that generate review feedback. This distinction encourages dataset designs and evaluations that reflect the dual nature of these artifacts: informative for understanding human review discourse, but misaligned with the goal of producing helpful, correct automated suggestions. Preferring code-level documentation while recognizing when review-time clarification is necessary. In many cases, the same “clarification” does not need to be expressed as a review comment at all: it can be captured either as an inline code comment (e.g., a brief note explaining a non-obvious choice) or, when possible, by making the code self-explanatory through more meaningful identifier names (see Figure 3a). However, when a reviewer comments on a deleted block of code, the rationale for its removal cannot be preserved as a code comment at the referenced location because the referenced code block no longer exists. In such cases, posting a Clarification in the review thread is appropriate and often the only viable option (see Figure 3b). For researchers, this motivates separating “should-move-to-code” clarifications (rewrite as code comments or naming improvements) from “change-rationale” clarifications (must remain in the review thread) when constructing datasets and evaluating generation/repair systems. Resolving context-dependent and referential review comments via thread-level context. Some review comments are intrinsically referential—e.g., short acknowledgments like “ditto,” or pointers such as “here” that refer to another review comment posted elsewhere. In these cases, the comment text alone is underspecified, and correct interpretation depends on neighboring comments within the same thread or on cross-comment links to the referenced location. For researchers, this suggests that retrieval and modeling should operate at a broader scope than a single comment– diff pair. Incorporating thread context, temporally adjacent comments by the same reviewer, and explicit cross-references can reduce false Vague/Unrelated assignments and enable more faithful repair that either expands the context-dependent comment into a self-contained statement or attaches it to its referenced target. Cross-artifact links between code comments and code review threads. Review discussions can "answer" questions embedded in code comments (e.g., a TODO asking how to obtain an instance), after which the author acknowledges completion and the underlying comment arguably becomes obsolete (see Figure 3c). This crossartifact Q&A suggests that retrieval for detection/repair should not be limited to the isolated review comment or diff hunk: models may need to jointly consider nearby inline comments, surrounding thread replies, and their temporal ordering to decide whether a code comment should be rewritten, removed, or marked as resolved. For research, this motivates datasets and evaluation setups that explicitly model these links (code-comment – review-reply), enabling methods that propagate "answered" information back into the codebase and reduce lingering, outdated in-code questions. Edited review comments and evolving intent. Review comments can evolve after posting: reviewers may append later edits that retract an earlier claim, qualify it, or explicitly mark the comment as ignorable while keeping it as a record of their reasoning process (see Figure 3d). This matters for research because the “effective” intent of the comment is not always captured by the first revision: a snapshot taken mid-thread can look Incorrect or Vague,

Automated Classification of Human Code Review Comments with Large Language Models

EASE 2026, 9–12 June, 2026, Glasgow, Scotland, United Kingdom

Gold \ Pred

Actionable

Clarification

Incorrect

Praise

Question

Redundant

Toxic

Unrelated

Vague

Actionable Clarification Incorrect Praise Question Redundant Toxic Unrelated Vague

138 12 11 1 16 10 4 1 6

7 46 3 6 1 15 0 1 3

0 1 0 0 0 0 0 0 0

0 1 0 60 1 2 0 2 0

9 2 4 1 31 3 2 1 1

2 0 0 0 0 3 0 0 0

2 0 0 0 0 0 1 0 0

1 0 0 0 0 0 0 2 0

16 0 0 1 0 5 2 0 2

Table 4: Confusion matrix for GPT-5-mini, one-shot.

Gold \ Pred

Non-Smell

Smell

Non-Smell Smell

262 73

24 80

Table 5: Binary confusion matrix for GPT-5-mini, one-shot.

whereas the final edited version may become a self-correction or meta-note about reasoning. From smell labels to actionable repair operators. Our taxonomy of code review comments provides a structured target space for studying review comment repair: each label implies a small, wellscoped set of repairs on the review comment (e.g., Toxic:rephrase to remove hostility; Incorrect: retract or correct with evidence; Vague: specify the affected code and propose a concrete action). This naturally supports modular pipelines that separate (i) detection, (ii) recovery of the reviewer’s underlying intent (issue, location, rationale), and (iii) controlled rewriting under label-specific constraints (e.g., include a pointer to the relevant hunk, avoid contextdependent placeholders such as “here/ditto,” and prevent duplication across comments). A forward-looking direction is to formulate repair as constrained generation conditioned on the diff and surrounding thread context, where the model is rewarded for preserving intent while satisfying verifiable constraints induced by the taxonomy. Finally, extending the benchmark with curated “before/after” rewrites (human- or model-authored with validation) would enable both supervised training and fine-grained evaluation of repair quality beyond label accuracy.

5.2

Implications for Practitioners

Adapting triage and responses by comment author (bot vs. human). In practice, the appropriate handling of a review comment depends not only on its label, but also on who produced it. For example, an Incorrect comment from an automated bot is often best treated as disposable noise—teams may prefer to delete or ignore it rather than spend effort engaging—whereas an Incorrect comment written by a human reviewer typically warrants a corrective clarification to prevent misinformation from persisting in the discussion and to maintain reviewer alignment. Similarly, some categories may be inherently author-dependent: a bot may rarely (or should never) post Question-style comments, while humans use questions to negotiate intent and surface missing context. This suggests that deployment should include explicit author-aware policies

(e.g., different thresholds, escalation paths, or UI affordances for bot-authored vs. human-authored comments) so teams can prioritize effort on interactions that improve shared understanding rather than on correcting machine-generated misfires. Practical value beyond detection. For practitioners, our findings indicate that automated detection of review comment smells can be valuable not only as an inline assistant in daily code review, but also as a teaching and training instrument. Because the taxonomy is phrased in reviewer-friendly terms (Vague, Praise, Incorrect, etc.), a tool based on our detector can surface concrete, actionable feedback to developers about how their comments align with the team’s expectations. One practical extension is to request a brief, evidencegrounded reason alongside the predicted label, which could improve transparency and make the feedback easier to learn from. Onboarding and education. One direct application is in onboarding and education. In many teams, junior developers learn “good review practices” informally by reading existing threads and imitating senior reviewers. A detector and repair module integrated into the PR workflow can make this process explicit: when a novice submits a vague or off-topic comment, the system can (privately) flag it and propose a clearer rewrite or an alternative phrasing that better anchors the concern to the diff. Instructors in university software engineering courses or industrial training programs could replay real or synthesized review threads and use our taxonomy to structure exercises where students (i) identify smells in comments, (ii) predict the detector’s label, and (iii) rewrite the comments to be Useful. This turns the tool into a formative assessment mechanism rather than merely a gatekeeper. Reducing review anxiety and encouraging participation. A key deployment consideration is to avoid discouraging reviewers from participating. In many teams, the main bottleneck is getting substantive review feedback at all, not perfect wording. Therefore, practitioner-facing tools should present smell labels as optional, supportive suggestions (ideally privately to the author) rather than as enforcement signals, so that reviewers can refine their comments without reducing overall engagement.

6 Threats to Validity 6.1 Internal Validity Our dataset was manually constructed and labeled by the first two authors, with the third author adjudicating disagreements. Despite calibration and shared operational rules, the final labels may still

EASE 2026, 9–12 June, 2026, Glasgow, Scotland, United Kingdom

reflect annotator subjectivity. This risk is inherent to our setting because the target of classification is the intended communicative function (i.e., what the reviewer meant to accomplish), which is a latent property that cannot be directly observed or measured. Accordingly, our labels should be interpreted as a best-effort approximation of reviewer intent grounded in the available evidence (the comment text and the associated diff hunk), rather than an objective ground truth. To mitigate this threat, we (i) performed a pilot labeling round to refine decision boundaries, (ii) labeled independently before adjudication, and (iii) resolved conflicts through discussion with a final arbiter. In the one-shot setting, we include exactly one exemplar per label, and these exemplars were manually selected. This introduces a potential source of bias: performance may depend on (i) the decision to use one exemplar per label and (ii) which specific exemplars were chosen (e.g., how prototypical they are, whether they sit near a boundary, or whether they emphasize particular linguistic cues). To reduce leakage, exemplars drawn from the dataset were excluded from evaluation; however, the selection procedure may still influence results. During classification, we set the temperature setting to 0.0 for the LLaMA-3.3-70B-Instruct and DeepSeek-R1 models to increase the stability of the performance results. In the case of GPT-5-mini, however, the API did not provide an option to tune the temperature setting. Since the classification results are based on a single execution of a stochastic LLM, observed performance of the model may be affected. Another threat arises from the possibility that our prompts were not optimal for either model, which could affect output quality, consistency, and intent alignment, and therefore influence measured performance and cross-model comparisons. While we use the same structured, schema-constrained template across settings to improve comparability, different prompt wordings, context packaging, or added evidence (e.g., broader thread context) might yield different outcomes. Future work can address this threat via systematic prompt ablations, prompt optimization on a held-out development set, and robustness checks across multiple prompt variants.

6.2

External Validity

Our findings may not generalize beyond the specific models and data sources used in this study. We evaluate detection using three LLMs (GPT-5-mini, Llama-3.3-70B-Instruct, and DeepSeek-R1). Because LLMs differ in pretraining corpora, instruction tuning, and alignment strategies, the observed effectiveness of zero-shot and one-shot prompting (and the relative strengths across smell categories) may not transfer to other model families or future model versions. Our benchmark is constructed by filtering and re-labeling instances exclusively from the dataset released by Turzo et al. [37]. Therefore, our results may partially reflect source-specific characteristics of this single upstream corpus—such as the project context, review culture, primary language, and comment-writing style in Turzo et al.’s dataset—rather than universal properties of code review comments. Because this dataset is publicly available, some models may have seen parts of it during training. If exposure differs across models, cross-model comparisons may be less fair, and

Caglar et al.

performance may appear higher than it would on truly unseen data. The underlying patches in our corpus are predominantly Python code changes. As a result, model behavior may partially reflect Python-specific conventions (naming, idioms) and the structure of diffs typical of Python projects. Future work should replicate the evaluation on additional datasets spanning multiple languages and project contexts, and include a broader set of LLMs to assess robustness.

6.3

Construct Validity

A potential threat to construct validity stems from the taxonomy itself, which is an explicit definitional choice for categorizing code review comments. As with any such definition, the taxonomy may not fully or unambiguously capture the underlying conceptual distinctions, potentially affecting the interpretation and validity of the results. Some review comments may reflect multiple quality issues, so reducing each comment to a single primary category can obscure secondary concerns and blur category boundaries. While annotators were instructed to assign the primary issue reflected in the comment, plausible secondary issues are not represented in the ground truth, which may affect both the interpretation of the label distribution and the measured model performance.

7

Conclusion

This paper studies automated classification of human code review comments using LLMs from the comment text paired with its associated unified diff hunk. We benchmark multiple LLMs under a shared schema-constrained, single-label protocol in zero-shot and one-shot settings. Exemplar conditioning is model-dependent: it can help some models, but provides limited or negative gains for others. Our analysis also exposes a key limitation of the comment+diff setting: classification of some labels require evidence beyond the local patch. Verification-oriented and context-dependent judgments remain difficult without thread-level or project-level context, and models may default to uncertainty-oriented labels when evidence is weak. We make the following contributions: i) a smell-focused taxonomy of review comments, including non-smell intent categories, operationalized for single-label classification; ii) a labeled benchmark of comment–diff pairs (𝑁 = 448) for evaluating comment classification with diff hunk context; and iii) a controlled evaluation protocol for comparing zero-shot and one-shot prompting under schema-constrained decoding.

Acknowledgments This study is supported by the Scientific and Technological Research Council of Turkey (TÜBİTAK) under the 2224-A International Scientific Events Participation Support Program.

Automated Classification of Human Code Review Comments with Large Language Models

References [1] Uğur Can Altun, Ismail Sergen Göçmen, Emre Sülün, Erdem Tuna, and Eray Tüzün. 2025. Process smells in practice: an evaluative case study. Empirical Software Engineering 30, 5 (2025), 115. doi:10.1007/s10664-025-10664-8 [2] Alberto Bacchelli and Christian Bird. 2013. Expectations, outcomes, and challenges of modern code review. In Proceedings of the 2013 International Conference on Software Engineering (San Francisco, CA, USA) (ICSE ’13). IEEE Press, 712–721. [3] Amiangshu Bosu, Jeffrey C. Carver, Christian Bird, Jonathan Orbeck, and Christopher Chockley. 2017. Process Aspects and Social Dynamics of Contemporary Code Review: Insights from Open Source Development and Industrial Practice at Microsoft. IEEE Trans. Softw. Eng. 43, 1 (Jan. 2017), 56–75. doi:10.1109/TSE.2016.2576451 [4] Amiangshu Bosu, Michaela Greiler, and Christian Bird. 2015. Characteristics of useful code reviews: an empirical study at Microsoft. In Proceedings of the 12th Working Conference on Mining Software Repositories (Florence, Italy) (MSR ’15). IEEE Press, 146–156. [5] Yupeng Chang, Xu Wang, Jindong Wang, Yuan Wu, Linyi Yang, Kaijie Zhu, Hao Chen, Xiaoyuan Yi, Cunxiang Wang, Yidong Wang, Wei Ye, Yue Zhang, Yi Chang, Philip S. Yu, Qiang Yang, and Xing Xie. 2024. A Survey on Evaluation of Large Language Models. ACM Trans. Intell. Syst. Technol. 15, 3, Article 39 (March 2024), 45 pages. doi:10.1145/3641289 [6] Junkai Chen, Zhenhao Li, Qiheng Mao, Xing Hu, Kui Liu, and Xin Xia. 2025. Understanding Practitioners’ Expectations on Clear Code Review Comments. Proc. ACM Softw. Eng. 2, ISSTA, Article ISSTA056 (June 2025), 23 pages. doi:10. 1145/3728931 [7] Umut Cihan, Vahid Haratian, Arda İçöz, Mert Kaan Gül, Ömercan Devran, Emircan Furkan Bayendur, Baykal Mehmet Uçar, and Eray Tüzün. 2025. Automated Code Review in Practice. In 2025 IEEE/ACM 47th International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP). 425–436. doi:10.1109/ICSE-SEIP66354.2025.00043 [8] Jacob Cohen. 1960. A Coefficient of Agreement for Nominal Scales. Educational and Psychological Measurement 20, 1 (Apr 1960), 37–46. doi:10.1177/ 001316446002000104 [9] Jacek Czerwonka, Michaela Greiler, and Jack Tilford. 2015. Code Reviews Do Not Find Bugs. How the Current Code Review Best Practice Slows Us Down. In 2015 IEEE/ACM 37th IEEE International Conference on Software Engineering, Vol. 2. 27–28. doi:10.1109/ICSE.2015.131 [10] DeepSeek-AI. 2025. DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning. arXiv:2501.12948 [cs.CL] https://arxiv.org/abs/2501. 12948 Accessed: 2026-01-13. [11] Emre Doğan and Eray Tüzün. 2022. Towards a taxonomy of code review smells. Information and Software Technology 142 (2022), 106737. doi:10.1016/j.infsof.2021. 106737 [12] M. E. Fagan. 1976. Design and code inspections to reduce errors in program development. IBM Syst. J. 15, 3 (Sept. 1976), 182–211. doi:10.1147/sj.153.0182 [13] Isabella Ferreira, Jinghui Cheng, and Bram Adams. 2021. The "Shut the f**k up" Phenomenon: Characterizing Incivility in Open Source Code Review Discussions. Proc. ACM Hum.-Comput. Interact. 5, CSCW2, Article 353 (Oct. 2021), 35 pages. doi:10.1145/3479497 [14] Enrico Fregnan, Fernando Petrulio, Linda Di Geronimo, and Alberto Bacchelli. 2022. What happens in my code reviews? An investigation on automatically classifying review changes. Empirical Softw. Engg. 27, 4 (July 2022), 43 pages. doi:10.1007/s10664-021-10075-5 [15] Masum Hasan, Anindya Iqbal, Mohammad Rafid Ul Islam, A.J.M. Imtiajur Rahman, and Amiangshu Bosu. 2021. Using a balanced scorecard to identify opportunities to improve code review effectiveness: an industrial experience report. Empirical Softw. Engg. 26, 6 (Nov. 2021), 34 pages. doi:10.1007/s10664-021-10038-w [16] Lingwei Li, Li Yang, Huaxi Jiang, Jun Yan, Tiejian Luo, Zihan Hua, Geng Liang, and Chun Zuo. 2022. AUGER: automatically generating review comments with pre-training models. In Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (Singapore, Singapore) (ESEC/FSE 2022). Association for Computing Machinery, New York, NY, USA, 1009–1021. doi:10.1145/3540250.3549099 [17] Zhiyu Li, Shuai Lu, Daya Guo, Nan Duan, Shailesh Jannu, Grant Jenks, Deep Majumder, Jared Green, Alexey Svyatkovskiy, Shengyu Fu, and Neel Sundaresan. 2022. Automating code review activities by large-scale pre-training. In Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (Singapore, Singapore) (ESEC/FSE 2022). Association for Computing Machinery, New York, NY, USA, 1035–1047. doi:10.1145/3540250.3549081 [18] Zhixing Li, Yue Yu, Gang Yin, Tao Wang, Qiang Fan, and Huaimin Wang. 2017. Automatic Classification of Review Comments in Pull-based Development Model. In Proceedings of The 29th International Conference on Software Engineering and Knowledge Engineering. 572–577. doi:10.18293/SEKE2017-039 [19] Chunhua Liu, Hong Yi Lin, and Patanamon Thongtanunam. 2025. Too Noisy To Learn: Enhancing Data Quality for Code Review Comment Generation. In 2025 IEEE/ACM 22nd International Conference on Mining Software Repositories (MSR).

EASE 2026, 9–12 June, 2026, Glasgow, Scotland, United Kingdom

236–248. doi:10.1109/MSR66628.2025.00043 [20] Mary L McHugh. 2012. Interrater reliability: the kappa statistic. Biochemia medica 22, 3 (2012), 276–282. [21] Meta AI. 2024. LLaMA 3.3 70B Instruct. https://huggingface.co/meta-llama/ Llama-3.3-70B-Instruct. Accessed: 2026-01-13. [22] Linh Nguyen, Chunhua Liu, Hong Yi Lin, and Patanamon Thongtanunam. 2025. Exploring the Potential of Large Language Models in Fine-Grained Review Comment Classification. In 2025 IEEE International Conference on Source Code Analysis & Manipulation (SCAM). 43–54. doi:10.1109/SCAM67354.2025.00012 [23] Miroslaw Ochodek, Miroslaw Staron, Wilhelm Meding, and Ola Söder. 2022. Automated Code Review Comment Classification to Improve Modern Code Reviews. In Software Quality: The Next Big Thing in Software Engineering and Quality, Daniel Mendez, Manuel Wimmer, Dietmar Winkler, Stefan Biffl, and Johannes Bergsmann (Eds.). Springer International Publishing, Cham, 23–40. [24] OpenAI. 2025. GPT-5 mini Model | OpenAI API. https://platform.openai.com/ docs/models/gpt-5-mini. Accessed: 2026-01-13. [25] OpenAI. 2025. Using GPT-5.2 | OpenAI API. https://platform.openai.com/docs/ guides/latest-model. Accessed: 2026-01-24. [26] Luca Pascarella, Davide Spadini, Fabio Palomba, Magiel Bruntink, and Alberto Bacchelli. 2018. Information Needs in Contemporary Code Review. Proc. ACM Hum.-Comput. Interact. 2, CSCW, Article 135 (Nov. 2018), 27 pages. doi:10.1145/ 3274404 [27] Mohammad Masudur Rahman, Chanchal K. Roy, and Raula G. Kula. 2017. Predicting Usefulness of Code Review Comments Using Textual Features and Developer Experience. In 2017 IEEE/ACM 14th International Conference on Mining Software Repositories (MSR). 215–226. doi:10.1109/MSR.2017.17 [28] Shadikur Rahman. 2024. Enhancing Code Review for Improved Code Quality with Language Model-Driven Approaches. MSc thesis. York University, Toronto, Canada. https://hdl.handle.net/10315/41946 Advisor: Enamul Hoque. [29] Peter C. Rigby and Christian Bird. 2013. Convergent contemporary software peer review practices. In Proceedings of the 2013 9th Joint Meeting on Foundations of Software Engineering (Saint Petersburg, Russia) (ESEC/FSE 2013). Association for Computing Machinery, New York, NY, USA, 202–212. doi:10.1145/2491411. 2491444 [30] Caitlin Sadowski, Emma Söderberg, Luke Church, Michal Sipko, and Alberto Bacchelli. 2018. Modern code review: a case study at google. In Proceedings of the 40th International Conference on Software Engineering: Software Engineering in Practice (Gothenburg, Sweden) (ICSE-SEIP ’18). Association for Computing Machinery, New York, NY, USA, 181–190. doi:10.1145/3183519.3183525 [31] Jaydeb Sarker, Asif Kamal Turzo, Ming Dong, and Amiangshu Bosu. 2023. Automated Identification of Toxic Code Reviews Using ToxiCR. ACM Trans. Softw. Eng. Methodol. 32, 5, Article 118 (July 2023), 32 pages. doi:10.1145/3583562 [32] Oussama Ben Sghaier, Martin Weyssow, and Houari Sahraoui. 2025. Harnessing Large Language Models for Curated Code Reviews. In 2025 IEEE/ACM 22nd International Conference on Mining Software Repositories (MSR). 187–198. doi:10. 1109/MSR66628.2025.00039 [33] Rosalia Tufano, Ozren Dabić, Antonio Mastropaolo, Matteo Ciniselli, and Gabriele Bavota. 2024. Code Review Automation: Strengths and Weaknesses of the State of the Art. IEEE Trans. Softw. Eng. 50, 2 (Feb. 2024), 338–353. doi:10.1109/TSE. 2023.3348172 [34] Rosalia Tufano, Simone Masiero, Antonio Mastropaolo, Luca Pascarella, Denys Poshyvanyk, and Gabriele Bavota. 2022. Using pre-trained models to boost code review automation. In Proceedings of the 44th International Conference on Software Engineering (Pittsburgh, Pennsylvania) (ICSE ’22). Association for Computing Machinery, New York, NY, USA, 2291–2302. doi:10.1145/3510003.3510621 [35] Rosalia Tufano, Luca Pascarella, Michele Tufano, Denys Poshyvanyk, and Gabriele Bavota. 2021. Towards Automating Code Review Activities. In Proceedings of the 43rd International Conference on Software Engineering (Madrid, Spain) (ICSE ’21). IEEE Press, 163–174. doi:10.1109/ICSE43902.2021.00027 [36] Asif Kamal Turzo and Amiangshu Bosu. 2023. What makes a code review useful to OpenDev developers? An empirical investigation. Empirical Software Engineering 29, 1 (2023), 6. doi:10.1007/s10664-023-10411-x [37] Asif Kamal Turzo, Fahim Faysal, Ovi Poddar, Jaydeb Sarker, Anindya Iqbal, and Amiangshu Bosu. 2023. Towards Automated Classification of Code Review Feedback to Support Analytics. In 2023 ACM/IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM). 1–12. doi:10.1109/ ESEM56168.2023.10304851 [38] Lanxin Yang, Jinwei Xu, Yifan Zhang, He Zhang, and Alberto Bacchelli. 2023. EvaCRC: Evaluating Code Review Comments. In Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (San Francisco, CA, USA) (ESEC/FSE 2023). Association for Computing Machinery, New York, NY, USA, 275–287. doi:10.1145/3611643. 3616245 [39] Daoguang Zan, Bei Chen, Fengji Zhang, Dianjie Lu, Bingchao Wu, Bei Guan, Wang Yongji, and Jian-Guang Lou. 2023. Large Language Models Meet NL2Code: A Survey. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), Anna Rogers, Jordan Boyd-Graber, and Naoaki Okazaki (Eds.). Association for Computational Linguistics, Toronto,

EASE 2026, 9–12 June, 2026, Glasgow, Scotland, United Kingdom

Canada, 7443–7464. doi:10.18653/v1/2023.acl-long.411 [40] Zelin Zhao, Zhaogui Xu, Jialong Zhu, Peng Di, Yuan Yao, and Xiaoxing Ma. 2023. The Right Prompts for the Job: Repair Code-Review Defects with Large Language Model. arXiv:2312.17485 [cs.SE] https://arxiv.org/abs/2312.17485

Caglar et al.

Record · ID 139010 · SHA-256 14d910b0208b1ff3
Retrieved via Conceptio — every document is proof-bundled with source, license, and retrieval metadata.