• Beej Jorgensen@lemmy.sdf.org
            link
            fedilink
            English
            arrow-up
            0
            ·
            20 days ago

            Human-generated code absolutely is, correct. But AI-generated code is still untested. AI-generated art does not have copyright protection currently. My money is that AI-generated code will have copyright protection through some mental and legal gymnastics. Because money.

            • frongt@lemmy.zip
              link
              fedilink
              English
              arrow-up
              0
              arrow-down
              1
              ·
              20 days ago

              Oh, AI-generated code may not be, but like you said we don’t have a court ruling yet.

              I don’t think it can’t be, but we’d first have to have models trained without violating the rights of all the authors of the works in the training data. Like if you trained a model only on GPL software, then the model and its output should also be GPL.

              • Beej Jorgensen@lemmy.sdf.org
                link
                fedilink
                English
                arrow-up
                0
                ·
                20 days ago

                but we’d first have to have models trained without violating the rights of all the authors of the works in the training data. Like if you trained a model only on GPL software, then the model and its output should also be GPL.

                I’m not so convinced on that one. Copying code without permission, yes, that’s illegal. Distributing copied code without permission, also illegal. But processing code (copied with permission) into weights, that doesn’t feel to me like a violation. If I have a legit copy of something, I should be able to distribute computed statistics about that copy.

                EFF points out some hazards: https://www.eff.org/deeplinks/2026/10/rewriting-copyright-law-generative-ai-would-hurt-everyone

                • frongt@lemmy.zip
                  link
                  fedilink
                  English
                  arrow-up
                  0
                  arrow-down
                  1
                  ·
                  20 days ago

                  Sure, but it’s not just statistics like “30% of lines contain the letter E”. It reproduces the material, sometimes verbatim.

                  A model is very obviously a derivative work, as it has 0% original content input. Under fair use law, it also very obviously fails all four tests.