• Beej Jorgensen@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 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.

      • Natanael@infosec.pub
        link
        fedilink
        English
        arrow-up
        1
        ·
        20 hours ago

        Copyright generally requires human expression regardless of what the type of work is, it’s not about what you were inspired by

        If you did derive your work from something else and yours is similar enough, then now both you and the original author has separate copyrights on the result which both needs to be licensed to sell the work (prime example is book translations)

      • frongt@lemmy.zip
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day 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
          4
          ·
          1 day 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
            1
            ·
            1 day 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.

            • Beej Jorgensen@lemmy.sdf.org
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 day ago

              Reproduction of the material we agree is against the law.

              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. Computing the letter frequency has 0% original content input, as well, but is definitely not a derivative work. Do you disagree?