paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Source Code Recommender Systems: The Practitioners' Perspective

源代码推荐系统:从业者视角
ICSE 2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE)2023匹配度 2/10 · 论文研究代码推荐系统的开发者需求,属于软件工程/开发者工具的人因研究,与静态分析、形式化验证、浮点程序分析、贝叶斯程序分析及其与 LLM 的交叉无直接关系;仅因涉及代码生成/推荐而与 AI4SE 略有边缘关联。引用 16 inbox
Matteo Ciniselli, Luca Pascarella, Emad Aghajani, Simone Scalabrino, Rocco Oliveto, Gabriele Bavota
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:通过80名开发者研究,归纳70项代码推荐系统需求,指导面向实践者的设计。

自动生成源代码是软件工程领域的长期目标,已有代码补全、检索式推荐和基于深度学习的代码生成等技术。然而,现有研究很少考察代码推荐系统的实际用户——软件开发者——真正需要什么。本文对80名软件开发者开展研究,探究他们认为代码推荐系统应具备的重要特性。研究结果形成一个包含70条“需求”的分类体系,用于指导代码推荐系统的设计。例如,开发者希望推荐代码采用与当前开发代码一致的编码风格;他们也希望推荐系统能“感知”开发者已有知识(如过去使用过的框架和库),并据此定制推荐内容。该分类体系为代码推荐系统指出了广泛的未来研究方向。

问题
现有代码补全、检索式推荐和深度学习代码生成等技术发展迅速,但尚不清楚软件实践者真正需要代码推荐系统具备哪些特性。
方法
本文开展了一项涉及80名软件开发者的研究,收集并归纳他们认为代码推荐系统应具备的重要特性,并构建需求分类体系。
评估
研究输出包含70条“需求”的分类体系,并以编码风格一致性、感知开发者知识并定制推荐等示例说明,进而指出未来研究方向。
原文摘要(Abstract)

The automatic generation of source code is one of the long-lasting dreams in software engineering research. Several techniques have been proposed to speed up the writing of new code. For example, code completion techniques can recommend to developers the next few tokens they are likely to type, while retrieval-based approaches can suggest code snippets relevant for the task at hand. Also, deep learning has been used to automatically generate code statements starting from a natural language description. While research in this field is very active, there is no study investigating what the users of code recommender systems (i.e., software practitioners) actually need from these tools. We present a study involving 80 software developers to investigate the characteristics of code recommender systems they consider important. The output of our study is a taxonomy of 70 “requirements” that should be considered when designing code recommender systems. For example, developers would like the recommended code to use the same coding style of the code under development. Also, code recommenders being “aware” of the developers' knowledge (e.g., what are the framework/libraries they already used in the past) and able to customize the recommendations based on this knowledge would be appreciated by practitioners. The taxonomy output of our study points to a wide set of future research directions for code recommenders.

链接与引用

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

BibTeX
@inproceedings{CiniselliPASOB23,
  title = {Source Code Recommender Systems: The Practitioners' Perspective},
  author = {Matteo Ciniselli and Luca Pascarella and Emad Aghajani and Simone Scalabrino and Rocco Oliveto and Gabriele Bavota},
  booktitle = {ICSE},
  year = {2023},
  doi = {10.1109/icse48619.2023.00182}
}