Facebook Engineering Blog
Finding and fixing software bugs automatically with SapFix and Sapienz

Finding and fixing software bugs automatically with SapFix and Sapienz

9/13/2018 · Yue Jia, Ke Mao, Mark Harman

What this post added

This post introduces SapFix and Sapienz, AI-powered tools designed to automate the detection and fixing of software bugs. SapFix can automatically generate and propose fixes for bugs, and has been used at scale on the Facebook Android app. Sapienz assists in localizing bugs, and SapFix then uses various strategies (reverting, templated fixes, mutation-based fixes) to generate patches. These patches are autonomously validated against existing and Sapienz-generated tests before being presented to human reviewers for approval. This marks a significant step towards automated debugging and code improvement at scale.

Read the original post ↗