一句话:提出集成到 GitLab CI 的 LLM 流水线,从 backlog 条目自动生成代码并创建合并请求。
现有基于大语言模型(LLM)的代码生成工具大多局限在源码编辑器内,产出的仍是孤立的代码片段,需要人工整合进代码库,与整体软件开发流程脱节;目前缺少从 backlog 条目到代码生成、再到合并请求的一体化自动解决方案。本文提出 PACGBI(Pipeline for Automated Code Generation from Backlog Items),一个集成进 GitLab CI 的 LLM 辅助流水线:它读取代码仓库中的 backlog 条目,自动生成相应代码,并为生成的改动创建 merge request。作者通过案例研究展示了 PACGBI 在自动化敏捷软件开发流程方面的潜力,可实现开发工作的并行化并降低开发成本。该工具面向软件开发者,同时通过提供整体化的 LLM 使用方案,使非技术相关方与设计师也能参与其中。工具提供 screencast 与开源代码。
While there exist several tools to leverage Large Language Models (LLMs) for code generation, their capabilities are limited to the source code editor and are disconnected from the overall software development process. These tools typically generate standalone code snippets that still require manual integration into the codebase. There is still a lack of integrated solutions that seamlessly automate the entire development cycle, from backlog items to code generation and merge requests. We present the Pipeline for Automated Code Generation from Backlog Items (PACGBI), an LLM-assisted pipeline integrated into GitLab CI. PACGBI reads backlog items in the code repository, automatically generates the corresponding code, and creates merge requests for the generated changes. Our case study demonstrates the potential of PACGBI in automating agile software development processes, allowing parallelization of development and reduction of development costs. PACGBI can be utilized by software developers and enables nontechnical stakeholders and designers by providing a holistic solution for using LLMs in software development. A screencast of this tool is available at https://youtu.be/TI53m-fIoyc, its source code at https://github.com/Masa-99/pacgbi.
DOI 原文 ·
@inproceedings{paperbot8317,
title = {PACGBI: A Pipeline for Automated Code Generation from Backlog Items},
author = {Mahja Sarschar and Gefei Zhang and Annika Nowak},
booktitle = {ASE},
year = {2024},
doi = {10.1145/3691620.3695346}
}