How are OSPOers handling AI-generated or AI-assisted code contributions to the projects they maintain? #290
Replies: 5 comments 10 replies
-
Jordan Harband replied: That's the same concern as any contributed code, right? like, the contributor is implying that they have the rights to the contribution |
Beta Was this translation helpful? Give feedback.
-
John Coghlan replied: I suppose that could be a concern. I was thinking more along the lines of licensing concerns as a result of using code generated by an AI system based on the licensing of the training data. E.g: If a model is (even partially) trained on code with a GPL license, would all of the output of that model be required to be GPL licensed? |
Beta Was this translation helpful? Give feedback.
-
Kevin P. fleming replied: @ John there is no answer to that question, today. there may never be an objectively-reached answer either. |
Beta Was this translation helpful? Give feedback.
-
Anonymous person replied: Something that a DCO could well fix. Then you at least have moved to issue to the contributor. DCO stands for Developer Certificate of Origin. So you explicitly ask the developer to confirm that they indeed have the proper rights over the code they are wanting to contribute. Therefore moving the responsibility for the possible copyright issues to the contributor. |
Beta Was this translation helpful? Give feedback.
-
While I am not a legal expert, I welcome input from any attorneys who can offer their perspective on this matter. In the realm of AI-assisted software development, the rights of the developer with regard to generated code remain largely the same. It's true that both AI and developers learn from copyrighted code, much like how a developer might learn from reading code in a book. Autocomplete features in word processors have long been in use without sparking the same level of concern as AI assistance in programming. The crux of the issue lies in the level of granularity, which is more fine-grained in human language as opposed to source code. There exists a possibility that AI-generated code might produce an exact replication of input code used during its training. Although this can also occur when a developer writes code without AI assistance, the probability is likely lower. To ensure license compliance and prevent plagiarism, it is essential to conduct thorough code reviews. SCANOSS has made a significant contribution in this regard by developing a comprehensive Software Composition Analysis solution, which is entirely Open Source. This tool has gained widespread acceptance within the Open Source community and has been validated in European courts. |
Beta Was this translation helpful? Give feedback.
-
Discussion mirrored from TODO general slack channel
How are folks handling AI-generated or AI-assisted code contributions to the projects they maintain? Are there concerns around accepting such contributions due to potential license issues?
Beta Was this translation helpful? Give feedback.
All reactions