Apparently chardet got Claude to rewrite the entire codebase from LGPL to MIT?

https://github.com/chardet/chardet/releases/tag/7.0.0

That is one way to launder GPL code I guess?

Release 7.0.0 · chardet/chardet

Ground-up, MIT-licensed rewrite of chardet. Same package name, same public API — drop-in replacement for chardet 5.x/6.x. Just way faster and more accurate! Highlights: MIT license (previous versi...

GitHub
@Foxboron "Laundering code" through an LLM...

But:
Since the LLM-generated code cannot be copyrighted in any way, this entire project (or at least the part the LLM generated) is technically
public domain.

Oh well. Not like certain entities care for the law!
@hannah @Foxboron well, it would be public domain (by current rulings in the US) if the newer version is sufficiently different from the original LGPL to not be covered under that copyright

Very "funny" to license a repo as MIT when it is potentially either LGPL or public domain
@brie @Foxboron Well... ​
... Fair point!


One could argue that a rewrite is something different or the same... depending on how one wants to play it. This one would argue that it is actually something new because the underlying technology has changed to a significant degree (as far as this one is aware... but it is not a lawyer obviously).
@hannah @Foxboron

yep, "has changed to a significant degree" is what I was trying to cover by "sufficiently different"

I'm not a lawyer either, but I like learning about legal details, especially copyright. As far as I understand, it isn't very well defined how much source code needs to change to be considered a separate work. This question might not be answered at all until someone goes to court over similar questions (at a sufficiently high level), or there are laws about this.

And this is only for the US's copyright system, but I definitely do not understand how US copyright and other countries copyrights intersect, so I am not going to try to speculate at all