NetBSD bans all commits of AI-generated code

https://lemmy.ca/post/21303181

NetBSD bans all commits of AI-generated code - Lemmy.ca

> New development policy: code generated by a large language model or similar technology (e.g. ChatGPT, GitHub Copilot) is presumed to be tainted (i.e. of unclear copyright, not fitting NetBSD’s licensing goals) and cannot be committed to NetBSD. > > https://www.NetBSD.org/developers/commit-guidelines.html [https://www.NetBSD.org/developers/commit-guidelines.html]

Ok but how is anyone meant to know if you generated your docstrings using copilot?
I’m saddened to use this phrase but it is literally virtue signalling. They have no way of knowing lmao
It’s actually simple to detect: if the code sucks or is written by a bad programmer, and the docstrings are perfect, it’s AI. I’ve seen this more than once and it never fails.
I’m confused, do people really use copilot to write the whole thing and ship it without re reading?

I literally did an interview that went like this:

  • Applicant used copilot to generate nontrivial amounts of the code
  • Copilot generated the wrong code for a key part of the algorithm; applicant didn’t notice
  • We pointed it out, they fixed it
  • They had to refactor the code a bit, and ended up making the same exact mistake again
  • We pointed out the error again…
  • And that’s in an interview, where you should be extra careful to make a good impression…