Facebook has built an artificial intelligence tool in order of enable programmers to patch the buggy code. The tool is known as SapFix and is currently being used internally in order to detect anomalies in code. The tool is said to roll out at Facebook's Scale Engineering Conference.
Currently, SapFix is working on to fix the bugs that are spotted by Sapienx which is said to be Facebook's intelligent automated software testing tool. The following are the three parameters which is used by SapFix to create multiple fixes and test them:-
- Are there compilation errors?
- Does the crash persist?
- Does the fix introduce new crashes?
It is said that the SapFix
team is currently working on training the tool in order to detect crashes before they actually happen.