Facebook to Unveil Getafix

New Facebook programming tool fixes bugs in code 'on the run' automatically
08 November 2018   663

Facebook described how Getafix works. The developers of the company created it to automate the process of fixing the code. Getafix offers fixes for bugs found by the Infer static analyzer, Sapfix and Sapienz, the application testing system.

The tool was created with the aim of shifting the routine duties of engineers to find and fix bugs by AI. In this case, the final decision on making changes is made by the person. The neural network uses the tools to consiser for the previous changes made by engineers, checks the new code and the context of the fragment. After these steps, it offers the option of a fix to the engineer.

Tools that automatically fix code are mostly designed for simple tasks, without context. Getafix, even in the case of similar bugs, can offer different solutions:

The company compared the changes made by man and AI, with the correction of about two hundred bugs. A quarter of the options proposed by the neural network coincided with human-written solutions.

Another experiment involved the correction of 2 thousand bugs calling the null pointer method. Getafix automatically fixed 53% of errors.

Facebook developed an AI-based tool for generating and deploying patches called Sapfix in mid-September 2018. The company introduced it at the Scale 2018 conference. Sapfix can work on its own or in combination with Sapienz - this is “smart” testing software from Facebook for finding errors in the code.

Python to be Language of 2018 According to TIOBE

According to experts, Python has become an integral part of many IT-spheres, including AI
09 January 2019   328

TIOBE experts called Python the programming language of 2018 - according to them, Python has become an integral part of many IT-spheres. It is leader of use at statistics, artificial intelligence systems development, scripts and system tests, and is still widely used in web development and scientific computing.

By the way, Python reached this peak for the third time - none of the languages ​​showed this result.

TIOBE Languages of the Year List
TIOBE Languages of the Year List

TIOBE experts summed up not only the whole year, but also the month. Returning to the top three in December, in January, Python continued to push C ++, although the last time it lost ground fairly quickly.

MATLAB changed places with Ruby: the first one rose to the 11th line, the second one dropped to 18. TypeScript took off as much as 118 points and took the 49th place. F # lost two dozen points, and Alice lost all four.

Tiobe Index Jan 2019 to Jan 2018 Compare
Tiobe Index Jan 2019 to Jan 2018 Compare

Kotlin started the year with a positive. The language has risen to 31st place, and experts believe that in 2019 it will enter the top 20.