InEx-Bug:NPM生态系统中内在和外在bug的人工标注数据集
InEx-Bug: A Human Annotated Dataset of Intrinsic and Extrinsic Bugs in the NPM Ecosystem
AI总结:
InEx-Bug数据集通过人工标注区分NPM生态系统中内在与外在bug,提供丰富的元数据用于研究缺陷特性及解决模式。
摘要:
理解软件缺陷的原因对于可靠的软件维护和生态系统稳定性至关重要。然而,现有bug数据集无法区分源自项目内部的问题与由外部依赖或环境因素导致的问题。在本文中,我们提出了InEx-Bug,这是一个包含来自103个NPM仓库的377个GitHub问题的手动标注数据集,将问题分类为内在(内部缺陷)、外在(依赖/环境问题)、非bug或未知。除了标签外,该数据集还包含丰富的时间和行为元数据,如维护者参与度、代码更改和重新打开模式。分析显示,内在bug解决速度更快(中位数8.9天 vs 10.2天),更接近(92% vs 78%),且需要代码更改更频繁(57% vs 28%)相比外在bug。而外在bug表现出更高的重新打开率(12% vs 4%)和延迟复发(中位数157天 vs 87天)。该数据集为进一步研究NPM生态系统中的内在和外在缺陷提供了基础。
英文摘要:
Understanding the causes of software defects is essential for reliable software maintenance and ecosystem stability. However, existing bug datasets do not distinguish between issues originating within a project from those caused by external dependencies or environmental factors. In this paper we present InEx-Bug, a manually annotated dataset of 377 GitHub issues from 103 NPM repositories, categorizing issues as Intrinsic (internal defect), Extrinsic (dependency/environment issue), Not-a-Bug, or Unknown. Beyond labels, the dataset includes rich temporal and behavioral metadata such as maintainer participation, code changes, and reopening patterns. Analyses show Intrinsic bugs resolve faster (median 8.9 vs 10.2 days), are close more often (92% vs 78%), and require code changes more frequently (57% vs 28%) compared to Extrinsic bugs. While Extrinsic bugs exhibit higher reopen rates (12% vs 4%) and delayed recurrence (median 157 vs 87 days). The dataset provides a foundation for further studying Intrinsic and Extrinsic defects in the NPM ecosystem.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。