REVIEW 2 cited by
Combining Large Language Models with Static Analyzers for Code Review Generation
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
read the original abstract
Code review is a crucial but often complex, subjective, and time-consuming activity in software development. Over the past decades, significant efforts have been made to automate this process. Early approaches focused on knowledge-based systems (KBS) that apply rule-based mechanisms to detect code issues, providing precise feedback but struggling with complex, context-dependent cases. More recent work has shifted toward fine-tuning pre-trained language models for code review, enabling broader issue coverage but often at the expense of precision. In this paper, we propose a hybrid approach that combines the strengths of KBS and learning-based systems (LBS) to generate high-quality, comprehensive code reviews. Our method integrates knowledge at three distinct stages of the language model pipeline: during data preparation (Data-Augmented Training, DAT), at inference (Retrieval-Augmented Generation, RAG), and after inference (Naive Concatenation of Outputs, NCO). We empirically evaluate our combination strategies against standalone KBS and LBS fine-tuned on a real-world dataset. Our results show that these hybrid strategies enhance the relevance, completeness, and overall quality of review comments, effectively bridging the gap between rule-based tools and deep learning models.
Forward citations
Cited by 2 Pith papers
-
SWR-Bench: Assessing LLM Performance in Real-World Code Review Comment Generation
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%.
-
CRScore++: Reinforcement Learning with Verifiable Tool and AI Feedback for Code Review
A two-stage SFT+DPO pipeline using linter and code-smell tool outputs plus an LLM judge improves generated code review comments and appears to transfer from Python to Java and JavaScript, though the judge-based evalua...
Discussion (0). Continue with ORCID to comment.