计算机科学 > 软件工程
[提交于 2025年5月13日]
标题:AI-Mediated Code Comment Improvement
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:This paper describes an approach to improve code comments along different quality axes by rewriting those comments with customized Artificial Intelligence (AI)-based tools. We conduct an empirical study followed by grounded theory qualitative analysis to determine the quality axes to improve. Then we propose a procedure using a Large Language Model (LLM) to rewrite existing code comments along the quality axes. We implement our procedure using GPT-4o, then distil the results into a smaller model capable of being run in-house, so users can maintain data custody. We evaluate both our approach using GPT-4o and the distilled model versions. We show in an evaluation how our procedure improves code comments along the quality axes. We release all data and source code in an online repository for reproducibility.
提交历史
来自:Maria Dhakal[v1] 2025年5月13日 星期二 23:31:32 UTC