I saw an interesting video on computer-generated code snippets. The model has been trained on thousands of open source GitHub repositories.

In the video, an AI model produced some small code snippets. Given an input, for example, a function name with a comment, the model wrote correct implementation code of the function. I assume the AI model was trained on repositories with different open sources licences. I also assume this model will be useful if added to developer productivity tools.

What might be the licences for the code that was generated by such a tool?

  • You'll need to go to court to find out, and the answer is extremely country specific. A related question is the legal responsibility of autonomous vehicles (or cruise missiles). A related project is decoder-project.eu (currently offline for maintenance) – Basile Starynkevitch Jun 2 '20 at 12:05
  • Not posting an answer, but as far as I know it's quite a contraversial topic too, Creative Commons also have a take on it. "For a work to be protected by copyright, there needs to be creative involvement on the part of an “author.”" "Nevertheless, some countries (e.g. United Kingdom, Ireland, and New Zealand) do grant copyright-like protection to computer-generated works." "AI needs to be properly explored and understood before copyright or any intellectual property issues can be seriously considered." creativecommons.org/2020/08/10/… – Seth Oct 13 '20 at 7:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.