Pith. sign in

REVIEW 3 cited by

Deep Assessment of Code Review Generation Approaches: Beyond Lexical Similarity

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2501.05176 v1 pith:MCVU3BQ3 submitted 2025-01-09 cs.SE

classification cs.SE
keywords codereviewsreviewgeneratedapproachesmetricssimilarityassessment
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Code review is a standard practice for ensuring the quality of software projects, and recent research has focused extensively on automated code review. While significant advancements have been made in generating code reviews, the automated assessment of these reviews remains less explored, with existing approaches and metrics often proving inaccurate. Current metrics, such as BLEU, primarily rely on lexical similarity between generated and reference reviews. However, such metrics tend to underestimate reviews that articulate the expected issues in ways different from the references. In this paper, we explore how semantic similarity between generated and reference reviews can enhance the automated assessment of code reviews. We first present a benchmark called \textit{GradedReviews}, which is constructed by collecting real-world code reviews from open-source projects, generating reviews using state-of-the-art approaches, and manually assessing their quality. We then evaluate existing metrics for code review assessment using this benchmark, revealing their limitations. To address these limitations, we propose two novel semantic-based approaches for assessing code reviews. The first approach involves converting both the generated review and its reference into digital vectors using a deep learning model and then measuring their semantic similarity through Cosine similarity. The second approach generates a prompt based on the generated review and its reference, submits this prompt to ChatGPT, and requests ChatGPT to rate the generated review according to explicitly defined criteria. Our evaluation on the \textit{GradedReviews} benchmark indicates that the proposed semantic-based approaches significantly outperform existing state-of-the-art metrics in assessing generated code review, improving the correlation coefficient between the resulting scores and human scores from 0.22 to 0.47.

Discussion (0). Sign in to comment.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Code Review Agent Benchmark

    cs.SE 2026-03 unverdicted novelty 7.0 of 10

    c-CRAB benchmark shows state-of-the-art code review agents solve only around 40% of tasks derived from human reviews, suggesting potential for human-AI collaboration.

  2. KernelDiag: Agent-Based Root Cause Diagnosis for Kernel Crashes

    cs.SE 2026-07 conditional novelty 6.0 of 10

    An agent-based framework that combines syscall traces, logs, and crash reports into evidence graphs to localize Linux kernel crash root causes at file and method level.

  3. SWR-Bench: Assessing LLM Performance in Real-World Code Review Comment Generation

    cs.SE 2025-09 conditional novelty 6.0 of 10

    SWR-Bench is a PR-centric code review benchmark with objective LLM scoring; current ACR tools reach at best 19.4% F1, and multi-review aggregation yields relative F1 gains up to 43.7%.

Pith tools