NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: misc/58260: Adds the current policy on LLM generated code to the website



The following reply was made to PR misc/58260; it has been noted by GNATS.

From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
To: Joseph Koshy <jkoshy%NetBSD.org@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, netbsd-bugs%NetBSD.org@localhost
Subject: Re: misc/58260: Adds the current policy on LLM generated code to the website
Date: Wed, 15 May 2024 13:39:28 +0000

 I already added it to this page (will be updated in an hour or two):
 
 https://www.NetBSD.org/developers/commit-guidelines.html
 
  2. Do not commit tainted code to the repository.
  
     If you commit code that was not written by yourself, double check
     that the license on that code permits import into the NetBSD source
     repository, and permits free distribution. Check with the author(s)
     of the code, make sure that they were the sole author of the code
     and verify with them that they did not copy any other code.
  
 +   Code generated by a large language model or similar technology,
 +   such as such as GitHub/Microsoft's Copilot, OpenAI's ChatGPT, or
 +   Facebook/Meta's Code Llama, is presumed to be tainted code, and
 +   must not be committed without prior written approval by core.
 
 I think it's a more obvious place for the text.
 
 We should also add a note at https://www.NetBSD.org/contrib/ like
 hgutch@ suggested, and at the gnats submission endpoints, for
 user-facing contribution guidelines.
 


Home | Main Index | Thread Index | Old Index