arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.11746cs.SE
收藏

利用语言模型发现基于证据的行动以促进开源软件可持续性

Leveraging Language Models to Discover Evidence-Based Actions for OSS Sustainability

University of California, Davis(加州大学戴维斯分校)

Nafiz Imtiaz Khan, Vladimir Filkov

AI总结:

本文利用语言模型挖掘软件工程文献,提取基于证据的行动建议,以促进开源软件的可持续发展。

摘要:

当成功时,开源软件(OSS)项目创造巨大的价值,但大多数项目从未达到可持续状态。最近的研究已经产生了准确的模型来预测OSS的可持续性,但这些模型很少告诉维护者该做什么:它们的特征通常是高层次的社会技术信号,而不是可以直接采取的行动。几十年的实证软件工程研究积累了一大但未充分利用的证据,这些证据涉及具体的实践,可以改善项目健康状况。我们通过使用LLM作为证据矿机来填补这一空白。我们设计了一个RAG流程和一个双层提示策略,以提取研究中的可操作建议(ReACTs):简洁、有证据支持的建议,映射到特定的OSS实践。在第一层,我们系统地探索开放的LLM和提示技术,选择最佳的组合来从829篇ICSE和FSE论文中推导出候选的ReACTs。在第二层,我们应用后续提示来过滤幻觉,提取影响和证据,并评估其准确性和精确性。我们的流程产生了1922个ReACTs,其中1312个通过严格的质量标准,并被组织成以实践为导向的类别,可以连接到工具如APEX的项目信号。结果是一个可重复、可扩展的方法,将零散的研究发现转化为结构化的、基于证据的行动,引导OSS项目朝着可持续性发展。

英文摘要:

When successful, Open Source Software (OSS) projects create enormous value, but most never reach a sustainable state. Recent work has produced accurate models that forecast OSS sustainability, yet these models rarely tell maintainers what to do: their features are often high-level socio-technical signals that are not directly actionable. Decades of empirical software engineering research have accumulated a large but underused body of evidence on concrete practices that improve project health. We close this gap by using LLMs as evidence miners over the SE literature. We design a RAG-pipeline and a two-layer prompting strategy that extract researched actionables (ReACTs): concise, evidence-linked recommendations mapping to specific OSS practices. In the first layer, we systematically explore open LLMs and prompting techniques, selecting the best-performing combination to derive candidate ReACTs from 829 ICSE and FSE papers. In the second layer, we apply follow-up prompting to filter hallucinations, extract impact and evidence, and assess soundness and precision. Our pipeline yields 1,922 ReACTs, of which 1,312 pass strict quality criteria and are organized into practice-oriented categories connectable to project signals from tools like APEX. The result is a reproducible, scalable approach turning scattered research findings into structured, evidence-based actions guiding OSS projects toward sustainability.

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

↑