Facebook to Unveil Getafix

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

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.

Intel to Present Neural Compute Stick 2

Neural Compute Stick 2 is an autonomous neural network on a USB drive
15 November 2018   116

At the Beijing conference, Intel introduced Neural Compute Stick 2, a device that facilitates the development of smart software for peripheral devices. These include not only network equipment, but also IoT systems, video cameras, industrial robots, medical systems and drones. The solution is intended primarily for projects that use computer vision.

Neural Compute Stick 2 is an autonomous neural network on a USB drive and should speed up and simplify the development of software for peripheral devices by transferring most of the computation needed for learning to the specialized Intel Movidius Myriad X processor. Neural Compute Engine, responsible for the high-speed neural network of deep learning.

The first Neural Compute Stick was created by Movidius, which was acquired by Intel in 2016. The second version is 8 times faster than the first one and can work on Linux OS. The device is connected via a USB interface to a PC, laptop or peripheral device.

Intel said that Intel NCS 2 allows to quickly create, configure and test prototypes of neural networks with deep learning. Calculations in the cloud and even access to the Internet for this is not needed.

The module with a neural network has already been released for sale at a price of $ 99. Even before the start of sales, some developers got access to Intel NCS 2. With its help, projects such as Clean Water AI, which use machine vision with a microscope to detect harmful bacteria in water, BlueScan AI, scanning the skin for signs of melanoma, and ASL Classification, real-time translates sign language into text.

Over the Movidius Myriad X VPU, Intel worked with Microsoft, which was announced at the Developer Day conference in March 2018. The AI ​​platform is expected to appear in upcoming Windows updates.