通过人机协作赋能基于敏捷的生成式软件开发
Empowering Agile-Based Generative Software Development through Human-AI Teamwork
AI总结:
针对用户需求不完整和瀑布模型累积错误的问题,提出基于敏捷的AgileGen,通过Gherkin可测试需求保证语义一致性,并创新人机协作和记忆池机制,显著提升生成代码的准确性和用户满意度。
摘要:
在软件开发中,用户提出的原始需求往往不完整,这阻碍了应用功能的完整实现。随着大型语言模型的出现,近期采用自上而下瀑布模型的方法通过提问方式来完成需求,试图探索用户的进一步需求。然而,受限于领域知识,用户缺乏有效的验收标准,无法捕捉用户的隐含需求。此外,瀑布模型的累积错误可能导致生成的代码与用户需求之间存在差异。敏捷方法论通过轻量级迭代和与用户的协作减少了累积错误,但挑战在于确保用户需求与生成的代码之间的语义一致性。我们提出了AgileGen,一种通过人机协作的基于敏捷的生成式软件开发方法。AgileGen首次尝试使用Gherkin可测试需求来保证需求与代码之间的语义一致性。此外,我们在人机协作方面进行了创新,允许用户参与他们擅长的决策过程,增强了应用功能的完整性。最后,为了提高用户场景的可靠性,使用记忆池机制收集用户决策场景并推荐给新用户。AgileGen作为用户友好的交互系统,显著优于现有最佳方法16.4%,并获得了更高的用户满意度。
英文摘要:
In software development, the raw requirements proposed by users are frequently incomplete, which impedes the complete implementation of application functionalities. With the emergence of large language models, recent methods with the top-down waterfall model employ a questioning approach for requirement completion, attempting to explore further user requirements. However, users, constrained by their domain knowledge, lack effective acceptance criteria, which fail to capture the implicit needs of the user. Moreover, the cumulative errors of the waterfall model can lead to discrepancies between the generated code and user requirements. The Agile methodologies reduce cumulative errors through lightweight iteration and collaboration with users, but the challenge lies in ensuring semantic consistency between user requirements and the code generated. We propose AgileGen, an agile-based generative software development through human-AI teamwork. AgileGen attempts for the first time to use testable requirements by Gherkin for semantic consistency between requirements and code. Additionally, we innovate in human-AI teamwork, allowing users to participate in decision-making processes they do well and enhancing the completeness of application functionality. Finally, to improve the reliability of user scenarios, a memory pool mechanism is used to collect user decision-making scenarios and recommend them to new users. AgileGen, as a user-friendly interactive system, significantly outperformed existing best methods by 16.4% and garnered higher user satisfaction.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。