arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.16774cs.SE
收藏

迈向自动补全 GitHub 工作流

Toward Automatically Completing GitHub Workflows

Antonio Mastropaolo, Fiorella Zampetti, Gabriele Bavota, Massimiliano Di Penta

AI总结:

提出基于 Transformer 的 GH-WCOM 方法,通过抽象过程自动补全 GitHub 工作流,实验显示正确预测率高达 34.23%,置信度可作为推荐正确性的可靠指标。

摘要:

持续集成与持续交付(CI/CD)如今是软件开发的核心理念。其好处伴随着搭建和维护 CI/CD 流水线的成本,这需要通常与软件相关任务中所涉及的知识和技能正交的知识与技能。尽管已有多种推荐系统被提出以支持开发者完成各种任务,但在搭建和维护 CI/CD 流水线方面,可用的自动化支持却很少。我们提出了 GH-WCOM(GitHub 工作流补全),一种基于 Transformer 的方法,支持开发者编写特定类型的 CI/CD 流水线,即 GitHub 工作流。为处理此任务,我们设计了一个抽象过程以帮助 Transformer 的学习,同时仍使 GH-WCOM 能够推荐非常特殊的工作流元素,如工具选项和脚本元素。我们的实证研究表明,GH-WCOM 提供了高达 34.23% 的正确预测,且模型的置信度是推荐正确性可能性的可靠代理。

英文摘要:

Continuous integration and delivery (CI/CD) are nowadays at the core of software development. Their benefits come at the cost of setting up and maintaining the CI/CD pipeline, which requires knowledge and skills often orthogonal to those entailed in other software-related tasks. While several recommender systems have been proposed to support developers across a variety of tasks, little automated support is available when it comes to setting up and maintaining CI/CD pipelines. We present GH-WCOM (GitHub Workflow COMpletion), a Transformer-based approach supporting developers in writing a specific type of CI/CD pipelines, namely GitHub workflows. To deal with such a task, we designed an abstraction process to help the learning of the transformer while still making GH-WCOM able to recommend very peculiar workflow elements such as tool options and scripting elements. Our empirical study shows that GH-WCOM provides up to 34.23% correct predictions, and the model's confidence is a reliable proxy for the recommendations' correctness likelihood.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑