by KingOfCoders · 4mo ago · 0 comments
[Edit] The pull link is https://codeberg.org/Codeberg/org/pulls/1253/files and says
"7. You must not share projects that mostly consist of code written by "generative AI"-tools (including services such as Claude, OpenAI Codex). Such projects having an unclear copyright status (see requirements § 2 (1) 1 and § 2 (1) 3) and furthermore have little safeguards to ensure that they do not include harmful code (c.f. § 2 (1) 5)."
Whatever "mostly" means. If you autocomplete a lot, and the code written is "mostly" written by AI by autocomplete - it seems you fall under this.
I wonder what the ratio needs to be. And I wonder if auto-refactoring in Intellij is also included, because Intellij created the code and then also has "unclear copyright status" if we follow the logic.
Together this opens up more questions to me than it answers.
Seems pretty clear to me?
What does "written by generative AI" means? Autocomplete? IDE-with-AI-normal-classname-completion? Everything not typed by a human.
I personally don't find this clear at all and see many unhappy discussions in the future for Codeberg.
1. Don't ask us, ask the Codeberg people in the thread above.
2. If you're not sure you can meet Codeberg's terms of service, do what others are claiming to do: Take your repositories elsewhere.
3. I'll just hypothesize that you don't have Codeberg repositories and are only arguing here for argument's sake.
Here's what I cannot understand - the spirit behind this update is clear: to carve out a space for human-written projects.
Now we have a bunch of people nit-picking what "human-written" means, with a bunch of snide "Hah! Gotcha!" thrown in for good measure...
"What about if it autocompletes - that's not written by a human!!! Lusers!!!"
"Hey, I used LLMs to rubberduck this; that's not fully written by a human even though I typed it!!!"
"Hey, I used a _KEYBOARD_ to type it in; that's the computer and keyboard firmware that /akshually/ wrote the code!!!"
Face it, if you need to know how close to the line you can go without going over it, then Codeberg is probably not for you anyway - there's no need to nitpick the wording.
If you, in your own words, "write your own code", you don't really care where the line is because you're so far from it anyway.
There is no scenario where you'd want to nitpick the wording...
I am amused.
You don't understand their goal in doing this?
Frequently (much more than we'd like to admit) actual contracts leave loopholes in, said loopholes which go against the spirit of the contract. It is not unusual to have a concrete contract that allows more (or less) than the spirit the contract was signed in.
Rather than nitpicking the contract (the TOU), why do you think they need this updated contract in the first place?
Otherwise I don't think this is clear at all.
Otherwise, what is mostly?
Mostly at the outset, or at any given time? Must the project move out when it goes from 49% to 51% AI-assisted code?
Yes, old project with 1M LOC of pre-AI code + 100% AI 100k LOC generated coded for the last three months, is that mostly?
"Most" is clear and unambiguous.
It means more X than Y. The value of X is larger than the value of Y.
X = bot slop ; Y = human written code
In your question, 90% human written, 10% bot generated; no, it is not "most".
This is IMHO the reason why we can't have sanity, because there are people ready to hack it.
"If you have shit on your shoe, please don't walk across our carpet".
"But how do they know? maybe we should test if they can tell", and all that stuff... no. Most people would simply take a good look, and if they're worried about something that could be be mud or not, brush it off just in case. And if they come directly from 12 hours of drunk partying in the wilderness, they can still simply take their shoes off and ask for a plastic bag at the door, just in case. Easy.
And yes, maybe the owner goes crazy or hates you, and you just bought new shoes that are squeaky clean, but brown, and get thrown out with no appeal. That can happen. But in that case, they could use many other things to be petty about, too. And Codeberg does not strike me as that.
How can you tell if you drank too much? What is the exact amount of alcohol molecules a given person could ingest in an exact instant (like, down to the exact Planck whatever) and no longer be fit to drive? And if someone says "no drunk driving on my property" while not caring what happens outside of it, can we really let them off the hook before they showed us the machine that can calculate it?
If people are worried about using libraries that contain vibe code, sure, that may become a real concern, but even then, why not have a really restricted website? For projects where the people are either so good, or the project so small, that that they know for sure there is no vibe code in it? Why this oozing over and into everything?
You cannot discuss in non-English languages on this site. Even though you could slur and degrade English, and therefore it being impossible to give you an exact heuristic right now that separates English from non-English exactly. The rule is still accepted, and cases dealt with as they come up.
This is going in circles. For someone to "ask it themselves", first they need to know what to ask. But the term is vague: what does "mostly" mean? You can't ask yourself if your code is "mostly consist of code written by" generative AI if you don't know what whoever is going to judge the rules means by it.
Is it to be taken literally? I.e. a 2000-line project where 1000-lines are written by AI is fine but if there are 1001-lines your project is out (in which case, if the human-written lines get refactored to become shorter and more efficient, does that suddenly mean the project is out?).
Because if a club had a prominently posted rule "no shit on the soles of your shoe", I would not be asking "Well, how much shit is on the soles of my shoe?"
I would be asking, "How likely is it, that I'm going to get a couple drinks in me, and then get cornered by frowning men who need to inspect my shoe soles for shit traces? How would I feel after passing the no-shit-on-shoes challenge?"
Then I would find another club.
> You must not share projects that mostly consist [of LLM-generated code]
> Such projects having an unclear copyright status
There is no bright-line threshold at which a code contribution becomes copyrightable (and therefore relevant). It is a legal question determined by courts. However, nobody in practice has any difficulty determining whether their code is copyrightable.
Codeberg is essentially asking/demanding that "your code" coincides with "code you hold the copyright for". This responsibility can be delegated to other humans, but not to LLMs.
Also, if you are a non-German user of Codeberg and there is a wide difference between what is covered by copyright in your country and Germany (e.g. if you are British) this might make Codeberg less of a suitable choice for you. What copyright laws matter to a particular user? Their country, the US because of its dominance and reach, or some sort of global safe/effective compromise?
This has the feel of being done by people who do not understand how to work things to be clear legally, nor of an understanding of the consequences.
I guess if you auto complete line by line and actually read the code it should be gucci.
Edit: Oh, you found it as well now. Disregard my post.
Not from their wording.
This is for human generated code. Some day we will have a way to enforce the amount of AI usage on its participants, right now we can just rely on an honor code and clear intent that you’re not welcome here