paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Assessing Harmful Comments and Specificity in Code Review Feedback at Scale using Large Language Models

使用大语言模型大规模评估代码评审反馈中的有害评论与具体性
FSE Proceedings of the 34th ACM International Conference on the Foundations of Software Engineering2026匹配度 2/10 · 该论文使用LLM对代码评审反馈进行情感与具体性分类,属于软件工程/开发者工具中的LLM应用,与用户关注的静态分析、Agentic程序分析、浮点程序分析以及贝叶斯程序分析等核心方向几乎没有交叉。虽然论文包含大规模数据与工业部署,但其研究目标并非改进程序分析或形式化验证。引用 0 inbox
Audrey You, Jingyi (Jenny) Wang, Youxiang Lei, Lauren Peate, Kelly Blincoe
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:用11个LLM在20万余条代码评审反馈上分类情感(有害评论)与具体性,F1最高达0.83与0.67。

代码评审是协作开发的核心环节,但反馈质量差异很大,直接影响代码可维护性与开发者互动。本文研究如何用大语言模型从情感(重点关注有害评论)与具体性两个维度评估代码评审反馈质量。作者从30个开源软件仓库收集了超过20.4万条反馈线程,评测了11个LLM,情感分类F1最高达0.83,具体性分类最高0.67。结果显示,多数开源反馈为中性或具体性偏低,高度详尽或明显有害的评论仅占少数;来自45家组织的产业数据中高具体性反馈与极简评审更多,有害反馈依然罕见。在商业环境中的部署体现了实用价值:具体性分类能立即带来收益,例如揭示资深开发者给出的反馈比其收到的更具体这一指导缺口;而有害评论分类则需谨慎的交互设计以避免用户敏感。研究表明,自动化反馈质量评估在真实环境中可行且具有实用价值。

问题
代码评审反馈质量参差不齐,影响代码可维护性与开发者协作,但缺乏大规模、自动化的反馈质量(有害性与具体性)评估手段。
方法
基于30个开源仓库的20.4万余条反馈线程,评测11个大语言模型对情感(有害评论)与具体性两个维度的分类能力,并与45家组织的产业数据对比,且在商业场景中部署验证。
评估
情感分类F1最高0.83、具体性分类最高0.67;同时对比开源与产业数据的分布差异,并通过商业部署考察两类分类在真实使用中的实用性与用户接受度。
原文摘要(Abstract)

Code review is central to collaborative software development, yet feedback quality can vary widely, influencing code maintainability and developer interactions. This study investigates how large language models (LLMs) can assess code review feedback quality along two dimensions, sentiment (with a focus on harmful comments) and specificity, to support more constructive collaboration. Using over 204,000 feedback threads from 30 open-source software (OSS) repositories, we evaluate eleven LLMs, achieving F1-scores up to 0.83 for sentiment and 0.67 for specificity. Most OSS feedback is neutral or low in specificity, with highly detailed or overtly harmful comments comprising a small minority. Industry data from 45 organisations contains significantly more highly specific feedback and more minimal reviews, while harmful feedback remains rare. Deployment of our approach in commercial settings demonstrated practical value. Specificity classifications delivered immediate value, such as revealing mentorship gaps when senior developers provided more specific feedback than they received, while harmful comment classifications required careful UX framing to avoid user sensitivity. Our findings demonstrate the feasibility and practical utility of automated feedback-quality assessment in real-world environments.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@inproceedings{YouWLPB26,
  title = {Assessing Harmful Comments and Specificity in Code Review Feedback at Scale using Large Language Models},
  author = {Audrey You and Jingyi (Jenny) Wang and Youxiang Lei and Lauren Peate and Kelly Blincoe},
  booktitle = {FSE},
  year = {2026},
  doi = {10.1145/3803437.3805264}
}