Microsoft Research Principal Researcher Miltos Alamanis and Senior Principal Research Director Marc Brockschmidt just introduced their newly developed BugLabs artificial intelligence. This newly introduced AI will find developers find errors in their code and debug the applications likewise.
Microsoft introduced the new two networks they built in an article titled, “Finding and Fixing Errors with Deep Learning”. One of the networks will introduce small errors into the code, and the other one will find these bugs.
In recent times, the use of AI has become more prevalent, and in this case, the use of AI means that there is no need for developers to self-monitor the data throughout the process. Miltos Allamanis and Marc Brockschmidt mentioned in the report, “In theory, we can apply it extensively to the game of “hide and seek”- teaching machines to recognize complex errors in tasks. Unfortunately, these bugs are usually beyond the scope of modern artificial intelligence methods. In view of this, the research team decided to focus more on a set of common mistakes-including incorrect comparisons (such as using <= instead of symbols, inappropriate Boolean operators (and/or), abuse of variables ( Misuse i instead of j), etc.”
The researches at Microsoft focused on Python code for system testing. Once the detector has passed all the necessary training, it can both detect and fix bugs in the actual code. However, Microsoft also mentioned that the researchers also had to manually annotate certain types of small error data sets in the Python Package Index. The “hide and seek” training model of the AI is 30% more successful than other alternatives of the identifying and debugging codes. That being said, Microsoft was quick to mention that there are still many false positives in the test, and as such, some more improvements need to be carried out before this AI model could be put to practical use.