Skip to main content
QUICK REVIEW

[论文解读] Analysis and Detection of Information Types of Open Source Software Issue Discussions

Deeksha M. Arya, Wenting Wang|arXiv (Cornell University)|Feb 19, 2019
Software Engineering ResearchComputer Science参考文献 23被引用 3
一句话总结

该论文通过分析15个复杂的GitHub问题线程,采用定性分析方法识别出开源软件问题讨论中的16种信息类型,构建了一个包含4,656个句子的标注语料库。研究结果表明,监督分类器——特别是使用对话特征的随机森林模型,以及使用文本特征的逻辑回归模型——能够有效检测这些信息类型,从而实现对用户、贡献者和项目管理者等利益相关方所需信息(如临时解决方案、解决方案进展或贡献承诺)的自动化支持。

ABSTRACT

Most modern Issue Tracking Systems (ITSs) for open source software (OSS) projects allow users to add comments to issues. Over time, these comments accumulate into discussion threads embedded with rich information about the software project, which can potentially satisfy the diverse needs of OSS stakeholders. However, discovering and retrieving relevant information from the discussion threads is a challenging task, especially when the discussions are lengthy and the number of issues in ITSs are vast. In this paper, we address this challenge by identifying the information types presented in OSS issue discussions. Through qualitative content analysis of 15 complex issue threads across three projects hosted on GitHub, we uncovered 16 information types and created a labeled corpus containing 4656 sentences. Our investigation of supervised, automated classification techniques indicated that, when prior knowledge about the issue is available, Random Forest can effectively detect most sentence types using conversational features such as the sentence length and its position. When classifying sentences from new issues, Logistic Regression can yield satisfactory performance using textual features for certain information types, while falling short on others. Our work represents a nontrivial first step towards tools and techniques for identifying and obtaining the rich information recorded in the ITSs to support various software engineering activities and to satisfy the diverse needs of OSS stakeholders.

研究动机与目标

  • 为解决长篇开源软件问题讨论线程中的信息过载问题,识别嵌入在评论中的不同信息类型。
  • 通过支持利益相关方(如贡献者、用户和项目管理者)精准发现与临时解决方案、解决方案进展或贡献意向等相关的信息,从而支持其工作。
  • 构建一个包含4,656个句子的标注数据集,涵盖15个复杂的问题线程,作为后续自动化分类任务的基础。
  • 评估监督机器学习技术在结合对话特征与文本特征的情况下,对句子进行信息类型分类的有效性。
  • 为支持问题摘要生成、导航和信息检索等工具奠定基础,提升问题跟踪系统中的信息处理能力。

提出的方法

  • 对三个知名GitHub托管的开源项目中的15个复杂问题线程进行定性内容分析,以识别重复出现的信息类型。
  • 通过迭代编码与讨论,制定出包含16种明确信息类型的编码手册,并实现了0.71的Kappa评分,确保编码者间的一致性。
  • 手动标注16种信息类型,构建了一个包含4,656个句子的标注语料库,用于后续的分类任务。
  • 评估了监督分类模型(随机森林与逻辑回归),分别使用对话特征(如句子长度、位置)和文本特征(如TF-IDF、n-gram)进行分类。
  • 在领域内(基于已有问题知识)和领域外(新问题)两种设置下训练并测试模型,以评估其泛化性能。
  • 使用F1分数评估每种信息类型的模型性能,识别出哪些信息类型更容易实现自动化检测。

实验结果

研究问题

  • RQ1开源软件问题讨论线程中存在哪些不同的信息类型?
  • RQ2监督机器学习模型在自动将句子分类到这些信息类型方面的有效性如何?
  • RQ3对话特征与文本特征中,哪一类对检测特定信息类型更为有效?
  • RQ4对问题的先验知识在多大程度上影响自动化分类的性能?
  • RQ5使用当前技术,哪些信息类型最易、最不易实现自动化检测?

主要发现

  • 本研究在开源软件问题讨论中识别出16种不同的信息类型,包括解决方案讨论、临时解决方案、贡献与承诺,以及社交对话等。
  • 当使用对话特征和已有问题知识时,随机森林模型在各类信息类型上均表现出较高的F1分数(如解决方案讨论的F1为0.58,社交对话的F1为0.70)。
  • 逻辑回归模型在新问题上使用文本特征时表现良好,尤其在解决方案讨论(F1: 0.58)、问题行动项(F1: 0.58)和社交对话(F1: 0.70)上表现突出。
  • 对于临时解决方案(F1: 0.09)和潜在新问题与请求(F1: 0.03)等信息类型,性能较低,表明在检测某些语义类别方面仍存在挑战。
  • 所有信息类型的整体加权平均F1分数为0.42,表明整体性能中等,且各类信息类型之间存在显著差异。
  • 本研究证明,信息类型自动化检测是可行的,可为支持问题摘要生成、导航与信息检索等工具提供技术基础,助力软件工程工作流中的信息管理。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。