arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2508.05693cs.SEcs.AI
收藏

AI辅助软件包选择的经验评估:一种知识图谱方法

Empirical Evaluation of AI-Assisted Software Package Selection: A Knowledge Graph Approach

Computer Science, Utrecht University, Utrecht, The Netherlands Michel Chaudron Department of Mathematics;Computer Science, TU Eindhoven, Eindhoven, The Netherlands

Siamak Farshidi, Amir Saberhabibi, Behbod Eskafi, Niloofar Nikfarjam, Sadegh Eskandari, Slinger Jansen, Michel Chaudron, Bedir Tekinerdogan

AI总结:

本研究将软件包选择建模为多准则决策问题,提出数据驱动框架PySelect,利用知识图谱和LLM提升推荐质量,实验验证其优于生成式AI基线。

摘要:

在Python等开源生态系统中,选择第三方软件包因备选方案众多且缺乏透明的比较证据而具有挑战性。生成式AI工具越来越多地用于开发工作流,但其建议往往忽视依赖评估,强调流行度而非适用性,且缺乏可复现性。这给需要透明度、长期可靠性、可维护性和明智架构决策的项目带来了风险。本研究将软件包选择形式化为多准则决策(MCDM)问题,并提出一种数据驱动的技术评估框架。自动化数据管道持续从GitHub、PyPI和Stack Overflow收集并整合软件元数据、使用趋势、漏洞信息和开发者情绪。这些数据被构建为决策模型,表示包、领域特征和质量属性之间的关系。该框架在PySelect中实现,这是一个决策支持系统,利用大型语言模型解释用户意图并查询模型以识别上下文合适的包。该方法使用来自16,887个GitHub仓库的798,669个Python脚本以及基于技术接受模型的用户研究进行评估。结果显示,数据提取精度高,推荐质量优于生成式AI基线,且用户对有用性和易用性评价积极。本工作引入了一个可扩展、可解释且可复现的框架,支持基于MCDM原则、经验数据和AI辅助意图建模的循证软件选择。

英文摘要:

Selecting third-party software packages in open-source ecosystems like Python is challenging due to the large number of alternatives and limited transparent evidence for comparison. Generative AI tools are increasingly used in development workflows, but their suggestions often overlook dependency evaluation, emphasize popularity over suitability, and lack reproducibility. This creates risks for projects that require transparency, long-term reliability, maintainability, and informed architectural decisions. This study formulates software package selection as a Multi-Criteria Decision-Making (MCDM) problem and proposes a data-driven framework for technology evaluation. Automated data pipelines continuously collect and integrate software metadata, usage trends, vulnerability information, and developer sentiment from GitHub, PyPI, and Stack Overflow. These data are structured into a decision model representing relationships among packages, domain features, and quality attributes. The framework is implemented in PySelect, a decision support system that uses large language models to interpret user intent and query the model to identify contextually appropriate packages. The approach is evaluated using 798,669 Python scripts from 16,887 GitHub repositories and a user study based on the Technology Acceptance Model. Results show high data extraction precision, improved recommendation quality over generative AI baselines, and positive user evaluations of usefulness and ease of use. This work introduces a scalable, interpretable, and reproducible framework that supports evidence-based software selection using MCDM principles, empirical data, and AI-assisted intent modeling.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑