Facebook Engineering Blog Icon

Facebook Engineering Blog

Insights from the Facebook engineering blog.
code.fb.com • 1 Story
All Sources

Facebook Engineering Blog Icon Facebook Engineering Blog

Facebook has a tool that learns to fix bugs automatically?!

This week on the Facebook code blog they shared details about a new tool called Getafix that automatically finds fixes for bugs and offers them to engineers to approve. 😎 Modern production codebases are extremely complex and are updated constantly. To create a system that can automatically find fixes for bugs — without help from engineers — we built Getafix to learn from engineers’ previous changes to the codebase. It finds hidden patterns and uses them to identify the most likely remediations for new bugs. Getafix has been deployed to production at Facebook, where it now contributes to the stability of apps that billions of people use. The goal of Getafix is to let computers take care of the routine work, albeit under the watchful eye of a human, who must decide when a bug requires a complex, nonroutine remediation. Whether or not this tool will be open sourced or shared at large remains to be seen. How cool would it be to have something like this deployed to your codebase to find and suggest fixes to your bugs?

read more...
0:00 / 0:00