Facebook Creates an AI-Based Tool To Automate Bug Fixes (siliconangle.com) 40
Facebook is trying to speed up the time it takes to roll out new software updates and debug any issues in them with a new tool called SapFix that its engineers are building. From a report: SapFix, which is still under development, is designed to generate fixes automatically for specific bugs before sending them to human engineers for approval. Facebook, which announced the tool today ahead of its Scale conference in San Jose, California, for developers building large-scale systems and applications, calls SapFix an "AI hybrid tool." It uses artificial intelligence to automate the creation of fixes for bugs that have been identified by its software testing tool Sapienz, which is already being used in production. SapFix will eventually be able to operate independently from Sapienz, but for now it's still a proof-of-concept that relies on the latter tool to pinpoint bugs first of all. SapFix can fix bugs in a number of ways, depending on how complex they are, Facebook engineers Yue Jia, Ke Mao and Mark Harman wrote in a blog post announcing the tools. For simpler bugs, SapFix creates patches that revert the code submission that introduced them. In the case of more complicated bugs, SapFix uses a collection of "templated fixes" that were created by human engineers based on previous bug fixes.
Re: (Score:2)
and land will be fiercely contested.
Have you been anywhere in the middle of the country? Take a ride through North Dakota and tell me how little available land there is...
Re: (Score:2)
Take a ride through North Dakota and tell me how little available land there is...
Oh yeah, and when New York sinks into the ocean - those North Dakotans are *totally* going to WELCOME all the refugees from the city, and just hand out land to them like candy, eh?
Re: (Score:2)
Boy who cried wolf is a cautionary tale, not a how to manual.
AI Sapienz (Score:2)
I'll wait for the version AI Sapienz Sapienz.
With bugs like these. . . (Score:2, Funny)
So it sounds like FB has such a predictable habit of creating similar bugs that even some horseshit excuse for AI can see and patch them.
Facebook - driving AI forward by moving everything else backward.
Re:With bugs like these. . . (Score:4, Interesting)
> habit of creating similar bugs
I think every software company does. We wrote our own software code review system, and if a section of code was changed more than twice in the past six months, I flag it as suspicious. That has helped us find a lot of bugs. It's like the old joke "99 little bugs in the code, take one down patch it around, 127 little bugs in the code" meme.
Re: (Score:1)
I had a similar method.
If any code was checked in by Li or Atul, it was automatically reverted.
Re: (Score:3, Insightful)
Please open source this. We need this.
Seriously, most of our bugs are due to bug fixes. A lot of those problems can be caught by using TDD if you write a test first that fails then passes after your change, but I've been almost fired twice for insisting we do TDD. Yes, it takes longer in the short-term, but I think it wastes less time in the long term, especially when you're testing against APIs.
Uh huh... (Score:4, Funny)
What could possibly go right?
Re: (Score:2)
IF it fixes itself it would be the AI 'singularity', but it won't.
Still waiting on DoWhatIWant.exe.
"Alexa . . . please fix Facebook." (Score:2)
"You have just ordered one contract to kill Mark Zuckerberg . . .
" . . . would you like to join Prime, and have it done tomorrow . . . ?"
Cool. (Score:1)
Great, computers fixing computers. (Score:2)
AI recommends deletion of javascript (Score:1)
Proceed [Yes][No]?
Re: WTH SapFix?? (Score:2)
Their software testing tool is called "sapienz". Presumably SapFix fixes problems that sapienz finds.
Re: (Score:3)
Is it ok to still say homo sapiens?
Re: WTH SapFix?? (Score:2)
Only if you're a homohomo sapienz yourself.
Re: (Score:2)
So... I'm a Hetero Saipan now?
Their Revolution is my evolution?
(Name Corp) Automates (Name Anything) (Score:1)
Nope not for me I turn most all automated stuff off and handle things myself.
Just my 2 cents
Skip article (Score:2)
Bug fixing AI... (Score:2)
...will never exceed the bug *creation* rate of humans!
Humans: 1
AI: 0