I'm concerned about generative AI LLM code in dr_libs, including AI auto completion use in editors, and I'm wondering whether the project should adopt a policy to ban it. Please note this doesn't involve "passive" uses of generative AI where no output of the AI is committed into the code base and potentially "tainting" the code base, e.g. having the AI comment on potential issues with a commit using natural language.
(I'm not suggesting you use AI LLM code reviews, I'm just saying they aren't what concerns me the most.)
Here is why I'm concerned about LLM code or LLM documentation inclusion into the project repository:
-
Even the most latest studies point to serious doubts regarding longer term productivity gains and significant code base degradation: https://www.coderabbit.ai/blog/state-of-ai-vs-human-code-generation-report
-
https://dl.acm.org/doi/10.1145/3543507.3583199 As far as I can tell this field study suggests that even when not baited to plagiarize, there is a regular level of plagiarism in LLM output of at least 2-5%.
-
https://lcamtuf.substack.com/p/large-language-models-and-plagiarism This case study appears to show how even punctuation and other very basic elements can apparently end up plagiarized, even if the model wasn't prompted and baited into completing a known text. (This one was shown using an older model, most of the other sources concern more recent models.)
-
https://www.pcgamer.com/software/ai/microsoft-uses-plagiarized-ai-slop-flowchart-to-explain-how-github-works-removes-it-after-original-creator-calls-it-out-careless-blatantly-amateuristic-and-lacking-any-ambition-to-put-it-gently/ This seems to be a high-profile example, run into by Microsoft no less, of somebody using gen AI to create something from scratch without intention to plagiarize, where the end result was an apparently significantly plagiarized copy based on a single creator.
-
https://openreview.net/forum?id=TatRHT_1cK This scientific paper seems to suggest that not only is "memorization", that is reproduction of the training material, inherent but it also grows with model size and therefore might be an escalating problem: "On the whole, we find that memorization in LLMs is more prevalent than previously believed and will likely get worse as models continues to scale, at least without active mitigations."
-
https://www.theatlantic.com/technology/2026/01/ai-memorization-research/685552/ This article and examination seems to suggest that even with the latest models, the mitigations to prevent them from directly plagiarizing larger sources are insufficient.
-
https://www.sciencedirect.com/science/article/pii/S2949719123000213#b7 This study seems to suggest that not only is the memorization and plagiarism inherent, but that it is required to make a high-performing model: "In this work we explored the relationship between discourse quality and memorization for LLMs. We found that the models that consistently output the highest-quality text are also the ones that have the highest memorization rate." I think this raises direct questions for the often-praised Claude Code, and whether it plagiarizes even more than previous models.
-
https://www.twobirds.com/en/insights/2025/landmark-ruling-of-the-munich-regional-court-(gema-v-openai)-on-copyright-and-ai-training This court ruling seems to suggest that there may not be clarity yet on whether AIs will be regarded as transformative enough that the assumption that it'll not be regarded as derivative of training data seems potentially untested. Please note I'm not a lawyer so assume I'm wrong.
Nothing in this post is legal advice, read the sources for yourself. But hopefully, the points above will explain why I'm concerned. If you want even more sources, go here for more studies.
As a result, I suggest a ban on any LLM code or LLM documentation contributions to keep the code base clean. And I'm sorry to bother you with this at all, but the current reality seems to be unless there's a ban, people will just assume it's allowed and not always declare it, especially with AI code completion.
I'm concerned about generative AI LLM code in dr_libs, including AI auto completion use in editors, and I'm wondering whether the project should adopt a policy to ban it. Please note this doesn't involve "passive" uses of generative AI where no output of the AI is committed into the code base and potentially "tainting" the code base, e.g. having the AI comment on potential issues with a commit using natural language.
(I'm not suggesting you use AI LLM code reviews, I'm just saying they aren't what concerns me the most.)
Here is why I'm concerned about LLM code or LLM documentation inclusion into the project repository:
Even the most latest studies point to serious doubts regarding longer term productivity gains and significant code base degradation: https://www.coderabbit.ai/blog/state-of-ai-vs-human-code-generation-report
https://dl.acm.org/doi/10.1145/3543507.3583199 As far as I can tell this field study suggests that even when not baited to plagiarize, there is a regular level of plagiarism in LLM output of at least 2-5%.
https://lcamtuf.substack.com/p/large-language-models-and-plagiarism This case study appears to show how even punctuation and other very basic elements can apparently end up plagiarized, even if the model wasn't prompted and baited into completing a known text. (This one was shown using an older model, most of the other sources concern more recent models.)
https://www.pcgamer.com/software/ai/microsoft-uses-plagiarized-ai-slop-flowchart-to-explain-how-github-works-removes-it-after-original-creator-calls-it-out-careless-blatantly-amateuristic-and-lacking-any-ambition-to-put-it-gently/ This seems to be a high-profile example, run into by Microsoft no less, of somebody using gen AI to create something from scratch without intention to plagiarize, where the end result was an apparently significantly plagiarized copy based on a single creator.
https://openreview.net/forum?id=TatRHT_1cK This scientific paper seems to suggest that not only is "memorization", that is reproduction of the training material, inherent but it also grows with model size and therefore might be an escalating problem: "On the whole, we find that memorization in LLMs is more prevalent than previously believed and will likely get worse as models continues to scale, at least without active mitigations."
https://www.theatlantic.com/technology/2026/01/ai-memorization-research/685552/ This article and examination seems to suggest that even with the latest models, the mitigations to prevent them from directly plagiarizing larger sources are insufficient.
https://www.sciencedirect.com/science/article/pii/S2949719123000213#b7 This study seems to suggest that not only is the memorization and plagiarism inherent, but that it is required to make a high-performing model: "In this work we explored the relationship between discourse quality and memorization for LLMs. We found that the models that consistently output the highest-quality text are also the ones that have the highest memorization rate." I think this raises direct questions for the often-praised Claude Code, and whether it plagiarizes even more than previous models.
https://www.twobirds.com/en/insights/2025/landmark-ruling-of-the-munich-regional-court-(gema-v-openai)-on-copyright-and-ai-training This court ruling seems to suggest that there may not be clarity yet on whether AIs will be regarded as transformative enough that the assumption that it'll not be regarded as derivative of training data seems potentially untested. Please note I'm not a lawyer so assume I'm wrong.
Nothing in this post is legal advice, read the sources for yourself. But hopefully, the points above will explain why I'm concerned. If you want even more sources, go here for more studies.
As a result, I suggest a ban on any LLM code or LLM documentation contributions to keep the code base clean. And I'm sorry to bother you with this at all, but the current reality seems to be unless there's a ban, people will just assume it's allowed and not always declare it, especially with AI code completion.