Knowledge-Guided Prompt Learning for Request Quality Assurance in Public Code Review
Lin Li, Xinchun Yu, Xinyu Chen, Peng Liang

TL;DR
This paper introduces KP-PCR, a novel knowledge-guided prompt learning approach for improving request necessity prediction and tag recommendation in public code review, leveraging prompt tuning and knowledge guidance from large language models.
Contribution
It proposes a new method combining prompt tuning and knowledge guidance to enhance request quality assurance in public code review tasks.
Findings
Outperforms baselines by 2.3%-8.4% in request necessity prediction.
Achieves 1.4%-6.9% improvement in tag recommendation.
Demonstrates lightweight and efficient model with favorable time complexity.
Abstract
Public Code Review (PCR) is developed in the Software Question Answering (SQA) community, assisting developers in exploring high-quality and efficient review services. Current methods on PCR mainly focus on the reviewer's perspective, including finding a capable reviewer, predicting comment quality, and recommending/generating review comments. However, it is not well studied that how to satisfy the review necessity requests posted by developers which can increase their visibility, which in turn acts as a prerequisite for better review responses. To this end, we propose K nowledge-guided P rompt learning for P ublic Code Review (KP-PCR) to achieve developer-based code review request quality assurance (i.e., predicting request necessity and recommending tags subtask). Specifically, we reformulate the two subtasks via 1) text prompt tuning which converts both of them into a Masked Language…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research
MethodsFocus
