• manny_stillwagon@mander.xyz
      link
      fedilink
      arrow-up
      73
      arrow-down
      1
      ·
      10 months ago

      Copilot is a LLM. So it’s just predicting what should come next, word by word, based off the data its been fed. It has no concept of whether or not its answer makes sense.

      So if you’ve scraped a bunch of open source github projects that this guy has worked on, he probably has a lot of TODOs assigned to him in various projects. When Copilot sees you typing “TODO(” it tries to predict what the nextthing you’re going to type is. And a common thing to follow “TODO(” in it’s data set is this guy’s username, so it goes ahead and suggests it, whether or not the guy is actually on the project and suggesting him would make any sort of sense.

    • Dojan@lemmy.world
      link
      fedilink
      arrow-up
      17
      arrow-down
      1
      ·
      edit-2
      10 months ago

      It’s no different from GPT knowing the plot of Aliens or who played the main role in Matilda.

      It’s seen enough code to recognise the pattern, it knows an author name goes in there, and Phil Nash is likely a prolific enough author that it just plopped his name in there. It’s not intelligence, just patterns.

    • ilinamorato@lemmy.world
      link
      fedilink
      arrow-up
      17
      arrow-down
      2
      ·
      10 months ago

      The other answers are great, but if I were to be a bit more laconic:

      Copilot is spicy autocorrect. It autocorrected that todo to insert that guy’s name because he gets a lot of todos.