This bot program can automatically fix software errors with quality not inferior to humans
Currently, finding and writing patches to fix bugs in software has become an integral part of computer programs that have become so complicated that the generation of errors is almost certain. This is a time consuming process and a lot of human resources.
Martin Monperrus and colleagues from the KTH Royal Institute of Technology Institute in Stockholm, Sweden have built a high-quality, fast-paced bot program that can find error codes and fix them, helping automatically. process the process of finding errors and writing high quality patches.
This bot program is called Repairnator and was released in November 2018. Researchers gave Repairnator a test with human developers in finding and developing patches on GitHub to check the program. This bot can achieve speed and quality as humans do.
Monperrus shares the research team's idea, Repairnator will automatically create patches to fix software bugs and performances to see if human developers accept them as good code base contributions. is not.
The team created Repairnator an account named Luc Esape on GitHub with both profile pictures and looks like a young developer.
To be able to compete with people, this bot program must create a high quality patch (correct and readable to be accepted into code base) before people do so. The time for bots to complete such patches is calculated in minutes instead of days.
Repairnator's operation diagram when running on Travis's continuous integration service.
Repairnator has undergone two tests. For the first time from February to December 2017, Repairnator was run to search for errors on a list of about 14,188 GitHub projects. The results showed that Repairnator analyzed more than 11,500 builds with errors, including 3,000 cases where it could reproduce bugs and develop patches for 15 cases. However, since Repairnator patches are too low quality or late, not all are accepted into the build.
The researchers found that the prototype of the bot program could fix about 30 bugs every day.
The second test took place from January until June 2018, and brought more success. This time, Repairnator is set up to be able to work on Travis's continuous integration service. On January 21, Repairnator had a patch approved by the human censor for inclusion in the build. In the next 6 months, 5 other patches written by Repairnator were also accepted by human censors. This proves, Repairnator has been able to compete with people.
Repairnator's success is a milestone that paves the way for a new generation of software development. However, it also entails a host of new issues that need to be addressed such as who manages and owns intellectual property and is responsible for the bot program's contributions.
Perhaps people will have to answer these questions before people and machines can collaborate more.
Monperrus and colleagues believe that in the future, bots and people can collaborate smoothly and even collaborate in creating software.
You should read it
- Tor opens the Bug Bounty program to find a bug to receive a bonus
- Apple released iOS 13.4.1, fixing important bugs on iPhones and iPads
- Application error on iPhone device hangs, frozen
- Google awards $ 1,000 to anyone who can hack the most popular applications on Google Play
- Samsung awards up to 200,000 USD for those who find its smartphone bugs
- Microsoft fixes 28 Windows and Office security bugs
- How to fix bugs playing 4K Empire jerks, lag
- Firefox 16 is still 'expensive' despite each serious error
May be interested
- The 2019 iPhone uses new type antennas, improving cellular signal reception in the homeiphone 2019 will be equipped with a new mpi (modified-pl) antenna structure due to the shift in the supply chain and technology.
- China developed cameras that can take pictures 45km away, through fog and dustthis ultra-sensitive camera system can take pictures from a distance of 45 km even when obscured by haze.
- Paradox, Magisk's father - Android root tool joins Applejohn wu, the father and developer of magisk - the most popular root tool today, has chosen a company that has nothing to do with what people know about him, apple is the next place to develop a career. .
- Young people are temporarily deaf because they wear headphones to listen to music and oversleptrecently, the department of otolaryngology at taiwan university hospital announced a case of a second-year male student completely deaf on one ear due to overslept while listening to music.
- The exciting new features of iOS 13, macOS 10.15 and watchOS 6 will be announced by Apple at WWDCwwdc, apple's annual global developer conference, will begin on june 3. at the event, the company plans to launch a range of new applications, features, and development tools on iphone, ipad, mac, apple watch, and apple tv.
- Microsoft will release Linux 'genuine' Linux kernel with Windows 10 WSLmicrosoft will start 'shipping' a built and customized linux kernel (linux kernel), first applied to windows 10 insider builds this summer. it is known that this kernel will act as a backbone of windows subsystem for linux 2.0 or wsl2.