r/programminghumor • • Jul 16 '26

Why shouldn't we push garbage code in GitHub?

I mean, AI scraps data from all repositories from github, gitlab and other services, why don't we push garbage code so much that if any ai trains on them, its performance gets reduced.

65 Upvotes

28 comments sorted by

View all comments

4

u/El_human Jul 16 '26

I know this is a humor sub, but I think code is the one thing that most people don't care about AI being trained on. As someone who has worked in software engineering, people are always sharing their code, or functions, or helping people out online to achieve their goals. This just takes out some of the busy work. And we still have to audit for bugs.

I think the issue is the art and music that AI was trained on, Peoples creative works, not compiled functions.
Maybe I'm completely off, but that was just my general take on it.

1

u/codeguru42 Jul 17 '26

I believe companies should still follow the license of an OSS project. Most of my repos are licensed under WTF. So I don't care much that they are used for training. But many projects are licensed under GPL or other licenses. It is unclear how these apply to scrappers since the project isn't "used" in the traditional sense that the creators intended. And you have to take it to court to enforce the license. We will see how the copyright law suits play out.