从缺陷到收益:利用 CrUISE-AC 借助众包知识改进用户故事
From Bugs to Benefits: Improving User Stories by Leveraging Crowd Knowledge with CrUISE-AC
AI总结:
针对需求不完整导致软件缺陷的问题,提出完全自动化方法 CrUISE-AC,利用 NLP 和 LLM 集成挖掘问题跟踪器信息,为敏捷用户故事生成额外验收标准,专家评估显示 80-82% 的生成标准能补充相关需求。
摘要:
在后期阶段解决软件缺陷的成本呈指数级增长。不完整或模糊的需求是缺陷的最大来源之一,因为利益相关者可能无法传达他们的需求或未能分享其特定领域的知识。加上开发者经验不足,团队很容易构建不正确或不完整的功能。为了防止这种情况,需求工程必须探索利益相关者访谈之外的知识来源。同一应用领域内系统的公开可访问问题跟踪器,包含了有关已识别的弱点、边缘情况和潜在错误源的重要信息,这些均由实际用户记录。我们的研究旨在(1)识别并(2)利用此类问题,以改进被称为“用户故事”的敏捷需求工件。我们提出了 CrUISE-AC(Crowd and User Informed Suggestion Engine for Acceptance Criteria,面向验收标准的众包与用户知情建议引擎)作为一种完全自动化的方法,该方法通过采用 NLP 技术和 LLM 集成,调查问题并为给定的用户故事生成非平凡的额外验收标准。CrUISE-AC 由两个不同业务领域的五位独立专家进行了评估。我们的研究结果表明,问题跟踪器拥有与需求工程相关的有价值信息。我们的评估显示,80-82% 生成的验收标准为用户故事添加了相关需求。局限性在于依赖于可访问的输入问题,以及我们未检查生成的标准是否无冲突或与其他用户故事的标准不重叠。
英文摘要:
Costs for resolving software defects increase exponentially in late stages. Incomplete or ambiguous requirements are one of the biggest sources for defects, since stakeholders might not be able to communicate their needs or fail to share their domain specific knowledge. Combined with insufficient developer experience, teams are prone to constructing incorrect or incomplete features. To prevent this, requirements engineering has to explore knowledge sources beyond stakeholder interviews. Publicly accessible issue trackers for systems within the same application domain hold essential information on identified weaknesses, edge cases, and potential error sources, all documented by actual users. Our research aims at (1) identifying, and (2) leveraging such issues to improve an agile requirements artifact known as a "user story". We present CrUISE-AC (Crowd and User Informed Suggestion Engine for Acceptance Criteria) as a fully automated method that investigates issues and generates non-trivial additional acceptance criteria for a given user story by employing NLP techniques and an ensemble of LLMs. CrUISE- AC was evaluated by five independent experts in two distinct business domains. Our findings suggest that issue trackers hold valuable information pertinent to requirements engineering. Our evaluation shows that 80-82% of the generated acceptance criteria add relevant requirements to the user stories. Limitations are the dependence on accessible input issues and the fact that we do not check generated criteria for being conflict-free or non-overlapping with criteria from other user stories.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。