tante,
@tante@tldr.nettime.org avatar

Study finds that Github Copilot lowers code quality and maintainability:

"We find disconcerting trends for maintainability. Code churn -- the percentage of lines that are reverted or updated less than two weeks after being authored -- is projected to double in 2024 compared to its 2021, pre-AI baseline. We further find that the percentage of 'added code' and 'copy/pasted code' is increasing in proportion to 'updated,' 'deleted,' and 'moved 'code. In this regard, AI-generated code resembles an itinerant contributor, prone to violate the DRY-ness [don't repeat yourself] of the repos visited."

The paper concludes: "How will Copilot transform what it means to be a developer? There's no question that, as AI has surged in popularity, we have entered an era where code lines are being added faster than ever before. The better question for 2024: who's on the hook to clean up the mess afterward?"

https://visualstudiomagazine.com/articles/2024/01/25/copilot-research.aspx

larsrosenquist,
@larsrosenquist@mastodon.social avatar

@tante Turns out that 'garbage in, garbage out' also applies to LLMs and their training/RAG.

And this example is not the worst quality. When using a language other than English or a poorly documented/understood niche topic they all fail miserably.

Rubbing AI on a data landfill (no, it's not a lake) just exposes the garbage more quickly. Though I guess that does have value if you want to clean up. ;)

tante,
@tante@tldr.nettime.org avatar

@larsrosenquist I love the term "data landfill"

GhostOnTheHalfShell,
@GhostOnTheHalfShell@masto.ai avatar

@larsrosenquist @tante

Now I wonder if they can be poisoned just like images…

Write that spaghetti code boyz! Start posting shit Git projects!

Best of all copilot can write it for you.

sour,
sour avatar

@GhostOnTheHalfShell

put bad english in comments

183231bcb,

@GhostOnTheHalfShell @larsrosenquist @tante

If you have access to Microsoft Word it's also your duty to paste randomly-generated gibberish into documents, save them, and upload them to OneDrive.

danjac,
@danjac@masto.ai avatar

@tante "who's on the hook to clean up the mess afterward?"

If there is any justice, the legions of laid off developers getting lucrative consulting gigs.

LouisIngenthron,
@LouisIngenthron@qoto.org avatar

@tante What they're not taking into account is that those things are intentional.

When a human churns code, it's a waste of payroll. When a machine does it, it's scaffolding that holds up an undeveloped feature while the human works on developing a more important one. Of course it's going to need to be replaced later, but that doesn't mean it's slowing down development or making the codebase worse.

Like any tool, AI can be used properly or improperly. Used properly, it's a great efficiency boost.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • GTA5RPClips
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • cubers
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • osvaldo12
  • ngwrru68w68
  • kavyap
  • InstantRegret
  • JUstTest
  • everett
  • Durango
  • cisconetworking
  • khanakhh
  • ethstaker
  • tester
  • anitta
  • Leos
  • normalnudes
  • modclub
  • megavids
  • provamag3
  • lostlight
  • All magazines