From nobody Fri Jan 31 11:23:56 2025 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Yktnh6k7Mz5mRrP for ; Fri, 31 Jan 2025 11:24:08 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Yktnh3cnXz4LXR; Fri, 31 Jan 2025 11:24:08 +0000 (UTC) (envelope-from theraven@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738322648; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=99s2KnG2odmvYo4My2tpswFDGYV5q32bqAFQfcI0Ink=; b=uM+QJ714XSJDePcRteX4WYwg0GeOpVXP0uyV0uUZ+7JrgJYzTZ0RA+RE/7co83ZnclTDwB nJaDXKf3HqPwmxIFTEd6UZfSnVQswIhkL8J5cqRYtknfsS9W0FqrJSbacvtmUdy9t92c+3 Likx8SiPkY3NtkzHvKReqgEbNf7lzUahLKoWlTqKmajQuOpTeinc9A25gUPueDPOfMp9Pj posg3Zg4hdoyKH3QLpXU/lJajF5z0d+DnfA3MEmEhugI9LNRPK/RfVig91uBIA5jo4q0X8 znAcwRVLXoCJCEtUKAo5U7xKwZGGsI6bakQi98nAvaKioSGfg2vIylH7ZWXuIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738322648; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=99s2KnG2odmvYo4My2tpswFDGYV5q32bqAFQfcI0Ink=; b=YlMGsE09TYwwcGFdsGSUcSe6jqf6Gu4TovwPJ05s/UScYOdw2kGYSL3oHu6SUCr3IArSbE u8dciCnhWEJK+wmcCRVKJrnXQhaO4ynVBZZeVn92HBWRbZ4aF6GGNW4zzMXTlO022WFUnb oFWQDRL0VQNNHlcf85MKgeB0XaAvDeEyamGegP1fEwGpf+UBgYTC85PJe8+4PN4aLwrZtG cMyIDHoxJiC2wx2vTXOptsd/QBv7C0eV+SCFgLk1Uy9sFbZJnmra0oWGtSABEOn4AuBKJ2 JfZQZ6mj+wSkk1HXH5IBEuYL+dE2cd4iMIYyI5E8JkWGFW5QSqpe9iG3jYCy3Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1738322648; a=rsa-sha256; cv=none; b=N06LKVn6XnV9lMlcxLPPjNCMpRVl5I9I5ezBLF8JfzX4BOJmHxDogmhUGsA+g0ohC82t2/ z10M8T9Gb3tSrx7zTGs0Q1QP18f/ETYxNP2D+SJzRda/IEPGDcUPhpRTEnW95FXCx87gPc x4NmoSacQ/pSJI+wju2CnAbNUs6bigYMmTxMvt2GDNokd3h4zddx6YR1v7pxLgZhEXcyKD oazY66U0VFKVrDHhTM+Ci5yuzp+xt5XoHJbhT/scctaJqIvbymtuMbCnY02YAu7jr+dZMj yNiA/F+P6vMZZ2Qv4oIH4Ilb4slyhPT8qMPuIf81enaxMlFkoupxCDOD60Y9fQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from smtp.theravensnest.org (smtp.theravensnest.org [45.77.103.195]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: theraven) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Yktnh2ghxzKMG; Fri, 31 Jan 2025 11:24:08 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from smtpclient.apple (unknown [147.148.179.33]) by smtp.theravensnest.org (Postfix) with ESMTPSA id C342FDBF2; Fri, 31 Jan 2025 11:24:07 +0000 (GMT) Content-Type: text/plain; charset=utf-8 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51.11.1\)) Subject: Re: Provisions to the contribution guidelines for using LLM generated code From: David Chisnall In-Reply-To: Date: Fri, 31 Jan 2025 11:23:56 +0000 Cc: freebsd-hackers@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <7F5CCEEE-A8A9-459A-A2C1-9ADC31BC91C6@FreeBSD.org> References: <49B92974-E37A-4786-A456-E258D5A1D35E@paige.bio> <4922BB4E-1361-4AE9-A40D-D75E4875033D@freebsd.org> To: Sulev-Madis Silber X-Mailer: Apple Mail (2.3776.700.51.11.1) On 30 Jan 2025, at 12:03, Sulev-Madis Silber = wrote: >=20 > what happens if you take the word llm out and put a human in there? >=20 > there are ton of fbsd contributors and i often wonder if some of them = bring something in. apparently it's no "code-id" where we can put code = for checks. esp i worry about all those linuxkpi things. where's the = voluntary no consequences drug test that proves you didn't smoke any gpl = before you opened code editor >=20 > it's like llm is right out but humans are all ok? No, as I said, the following two are equivalent: - I copy some GPL=E2=80=99d code (or code with a license that requires = an attribution) and contribute it in such a way that violates the = license. - I use an LLM to copy some GPL=E2=80=99d code (or code with a license = that requires an attribution) and contribute it in such a way that = violates the license. The difference is that, in the first case, I *know* that I am doing so. = In the second case, I have deliberately used a plagiarism machine but = don=E2=80=99t know whether this specific output is copyright violation = or not. If a committer deliberately violates copyright, the code will be removed = and the committer will, most likely, lose commit access. Committers are = responsible for the code that they commit, but if they are using a = plagiarism machine then the chances of them committing accidental = copyright infringement are much higher and that=E2=80=99s a risk to the = project. David