Re: Current policy on AI-generated code in NumPy
Matthew Brett via NumPy-Discussion <[email protected]> Sat, 14 Feb 2026 17:17:13 +0000
| Newsgroups | gmane.comp.python.numeric.general |
|---|---|
| Message-ID | <CAH6Pt5q1qSfcjU5371pQJw2kz0d7iGVQNcaw5oWCDfcx-jMdXQ@mail.gmail.com> |
Hi, On Fri, Feb 13, 2026 at 9:45 PM Robert Kern <[email protected]> wrote: > > On Wed, Feb 11, 2026 at 6:26 PM Matthew Brett via NumPy-Discussion <[email protected]> wrote: >> >> >> Just to clarify - in case it wasn't clear, what I'm floating as a proposal, would be something like this, as a message to PR authors: >> >> Please specify one of these: >> >> 1) I wrote this code myself, without looking at significant AI-generated code OR >> 2) The code contains AI-generated content, but the AI-generated code is sufficiently trivial that it cannot reasonably be subject to copyright OR >> 3) There is non-trivial AI-generated code in this PR, and I have documented my searches to confirm that no parts of the code are subject to existing copyright. >> >> So - the burden for the reviewer is just to confirm, in case 3, that the author has documented their searches. We take the word of the contributor for the option they have chosen. Obviously, the documentation requirement of case 3 is somewhat of a burden for the contributor, and may therefore encourage them to write the code themselves, to avoid that burden. That might not be a bad thing, long term, for the project, and it seems reasonable to me as some defence against copyright violation, and a message that the project cares about such violation. > > > For Case 3, I would love to see an example of the search that you would accept. If you could take a recent PR (human or AI, doesn't really matter for this purpose), and show the search that would satisfy you, that would go a long way towards clarifying what you are asking for here. We'd need a worked example or two before adopting this policy because if I don't know what you are asking for, no new contributor will, either. Yes, that's a reasonable request. But how do you think I should proceed? Make an issue on Numpy, and start drafting? Start another email thread? Or a Discourse / Scientific Python thread? Cheers, Matthew _______________________________________________ NumPy-Discussion mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/numpy-discussion.python.org Member address: [email protected]