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 can automatically fix software errors with quality not inferior to humans Picture 1

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.

 

This bot program can automatically fix software errors with quality not inferior to humans Picture 2
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.

This bot program can automatically fix software errors with quality not inferior to humans Picture 3

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.

4 ★ | 1 Vote

May be interested

  • 5 common errors when using LG G3 and how to fix5 common errors when using LG G3 and how to fix
    lg g3 automatically turns off, the battery runs out of battery quickly, the interface responds slowly or the phone automatically lights up the screen when left in the bag? here are suggestions on how to fix 5 common lg g3 user problems.
  • How to delete the TSR automatically starts when the computer is turned onHow to delete the TSR automatically starts when the computer is turned on
    this tutorial includes steps to temporarily remove tsr (terminate-and-stay-resident) programs from memory and how to prevent them from automatically loading every time the computer starts.
  • Steps to Fix startup program error not starting with Windows 10Steps to Fix startup program error not starting with Windows 10
    the startup folder is a useful utility on windows 10. it contains programs that run as soon as your pc boots up. however, you may notice that some startup programs do not launch as they should.
  • What will the future of AI in creative software look like in 2025?What will the future of AI in creative software look like in 2025?
    2024 was a big year for ai features in creative software, and 2025 is predicted to be even bigger, with huge benefits for designers and creators.
  • The software automatically updates the best Driver for computersThe software automatically updates the best Driver for computers
    this article introduces 2 best software automatically updated drivers for your computer to help you reduce time and do not worry about driver problems after reinstalling win.
  • What is a sandbox and how does it sandbox a program?What is a sandbox and how does it sandbox a program?
    many browsers today are designed to automatically run in their own sandbox without user settings.
  • Top 5 best sound quality enhancement software for PCTop 5 best sound quality enhancement software for PC
    poor audio quality interrupting your experience? learn how to boost your pc audio quality, customize it, and enhance every emotion.
  • Summary of common VPN error codesSummary of common VPN error codes
    virtual private networks (vpns) create protected connections called 'vpn tunnels' between a local client and a remote server, usually over the internet. vpn can be difficult to set up and run only with relevant specialized technology. when the vpn connection fails, the client-side program will appear an error message containing some code. there are hundreds of different vpn error codes that exist but only certain codes appear in most cases.
  • Air quality index - What is AQI?Air quality index - What is AQI?
    to know the level of air pollution, we usually rely on air quality index (aqi). so, what is the air quality index, how high is it harmful to human health?
  • Top 10 best DJ softwareTop 10 best DJ software
    are you looking for quality dj software to mix tracks and create quality music? nowadays, it's not too difficult to find music mixing software, but what is simple, easy-to-use and free software for pc? so, let's find tipsmake below to choose the best music dj software.