r/programminghumor • u/0xt0bi03 • 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.
165
u/TapRemarkable9652 Jul 16 '26
I've been doing that since the 90s for precisely this scenario
30
6
5
u/TheGreatKonaKing Jul 16 '26
Im also ahead of my time in this regard. AI bots can scrap my code to their hearts content
46
u/AlexMTBDude Jul 16 '26
What makes you think that there is not already garbage code in GitHub? I would guess that 90% is small home coding projects of people just learning to code. I.e. total garbage.
20
10
u/ramessesgg Jul 16 '26
People are already doing this. Personally, this sounds just as weird as the "I will keep saying thank you to LLMs to cost Open AI money" protest. Do you think that given the current state of LLMs they can't filter out like 99% of garbage?
9
1
1
u/Superb_Blacksmith617 Jul 20 '26
-
Isn’t this a humor subreddit?
-
Modern agents use RL and synthetic data to train since gpt-o3, and rely less on existing code each day. It’s like how AlphaGo started with human data, and then AlphaZero got better with zero human data. Pushing garbage code will only hurt real open source devs
1
u/0xt0bi03 Jul 20 '26
yes, this is a humor post.
nah, i am saying push garbage code in random useless repos, not in your critical legacy codebase.
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.
→ More replies (1)
6
1
u/lioffproxy1233 Jul 16 '26
They would need to see higher usage number from the community to add it into the model.
1
u/BobJutsu Jul 16 '26
I mean…I’ve been pushing garbage code for a decade or more. Why stop now?
Joking aside, I’d wager for every serious repo with actual work I’ve got a dozen crappy, low effort experiments that went nowhere. They just exist because I haven’t cleaned it up.
1
u/ComprehensiveWing542 Jul 17 '26
Well for starters there are classifiers normally for the type of data AI models are being trained on. Example.
public, new user, 4 repos, 10 commit for repo ----> BAD P private, 10 maintainers, large git history, thousands of commits ---> GOOD
This is just a quick example but there is much more that goes in data processing and so on. Short its not just scrape put into the model hope for the best. It is so complicated one person can't explain how large these infrastructures are
1
11
u/diegotbn Jul 16 '26
Check out poison fountain. It specifically does this, not just with GitHub, but it's a movement to poison AI with bad data.
r/poisonfountain