Stories
Slash Boxes
Comments

SoylentNews is people

posted by martyb on Saturday December 22 2018, @12:32AM   Printer-friendly
from the Code-mangling dept.

It appears Facebook has a tool for automatically suggesting bug fixes.

  • Facebook has built a tool called Getafix that automatically finds fixes for bugs and offers them to engineers to approve. This allows engineers to work more effectively, and it promotes better overall code quality.
  • We believe Getafix is the first tool of its kind to be deployed to production at Facebook scale, contributing to the stability and performance of apps that billions of people use.
  • Getafix powers Sapfix, which suggests fixes for bugs that our Sapienz testing tool finds. Getafix also provides fixes for bugs found by Infer, our static testing tool.
  • Because Getafix learns from engineers’ past code fixes, its recommendations are intuitive for engineers to review.
  • Getafix improves upon previous auto-fix technology by using more powerful techniques for learning fix patterns from past code changes. Getafix uses a more powerful clustering algorithm and also analyzes the context around the particular lines of problematic code to find more appropriate fixes.

I wonder how easy it is to start accepting fixes without properly examining them. I wonder if the time saved in actually coding the fix is irrelevant compared with the time you would otherwise take to find the correct fix.

It will easily fix the obvious symptoms of a bug without addressing the real problem. The illusion of productivity.


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 3, Insightful) by The Mighty Buzzard on Saturday December 22 2018, @11:24AM (2 children)

    by The Mighty Buzzard (18) Subscriber Badge <themightybuzzard@proton.me> on Saturday December 22 2018, @11:24AM (#777501) Homepage Journal

    Very much so, yes. You too can enjoy this flavor of sanity if you're willing to throw off your corporate shackles. Most people seem to prefer security even at the expense of allowing evil men and fools to dictate their actions for some reason though.

    --
    My rights don't end where your fear begins.
    Starting Score:    1  point
    Moderation   +1  
       Insightful=1, Total=1
    Extra 'Insightful' Modifier   0  
    Karma-Bonus Modifier   +1  

    Total Score:   3  
  • (Score: 3, Insightful) by Thexalon on Saturday December 22 2018, @04:21PM (1 child)

    by Thexalon (636) on Saturday December 22 2018, @04:21PM (#777553)

    I don't often agree with TMB, but at the very least you should get out from under the yoke of managers who can't code their way out of a paper bag. Especially the ones who try to use "metrics" and such to evaluate their staff.

    As it stands, I'm going to assume that GP's managers are utterly incompetent, and the code almost definitely reflects that in serious vulnerabilities and bugs.

    --
    The only thing that stops a bad guy with a compiler is a good guy with a compiler.
    • (Score: 3, Insightful) by The Mighty Buzzard on Saturday December 22 2018, @06:33PM

      by The Mighty Buzzard (18) Subscriber Badge <themightybuzzard@proton.me> on Saturday December 22 2018, @06:33PM (#777608) Homepage Journal

      Yup, it's one thing to have outstanding bugs but it's quite a worse thing to introduce more bugs because you couldn't be arsed to read someone's commits. If your boss doesn't understand that, the ratio of bullshit you have to put up with to compensation isn't going to be very good at that place of employment. Working under a dumb motherfucker just isn't worth any amount of pay to me though.

      --
      My rights don't end where your fear begins.