arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1811.09852cs.SE
收藏

如何设计一个程序修复机器人?Repairnator项目的见解

How to Design a Program Repair Bot? Insights from the Repairnator Project

Simon Urli, Zhongxing Yu, Lionel Seinturier, Martin Monperrus

摘要:

在过去的几年里,程序修复研究取得了巨大的进展,现在正在发明软件开发机器人来帮助开发人员提高生产力。在本文中,我们研究了“程序修复机器人”的概念,并提出了Repairnator。Repairnator bot是一个自主智能体,它不断地监视测试失败,复制bug,并针对每个复制的bug运行程序修复工具。如果找到补丁,Repairnator bot会将其报告给开发人员。在撰写本文时,Repairnator使用三种不同的程序修复系统,自2017年2月以来一直在运行。它总共研究了托管在GitHub上的1609个开源软件项目的11317个测试失败,并为17个不同的错误生成了补丁。几个月来,我们遇到了许多困难的技术挑战,不得不做出各种设计和工程决策。这给了我们一个独特的经验在这个领域。在本文中,我们反思Repairnator,以便与自动程序修复社区分享这些知识。

英文摘要:

Program repair research has made tremendous progress over the last few years, and software development bots are now being invented to help developers gain productivity. In this paper, we investigate the concept of a " program repair bot " and present Repairnator. The Repairnator bot is an autonomous agent that constantly monitors test failures, reproduces bugs, and runs program repair tools against each reproduced bug. If a patch is found, Repairnator bot reports it to the developers. At the time of writing, Repairnator uses three different program repair systems and has been operating since February 2017. In total, it has studied 11 317 test failures over 1 609 open-source software projects hosted on GitHub, and has generated patches for 17 different bugs. Over months, we hit a number of hard technical challenges and had to make various design and engineering decisions. This gives us a unique experience in this area. In this paper, we reflect upon Repairnator in order to share this knowledge with the automatic program repair community.

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

↑