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

  • Zos_Kia
    link
    fedilink
    English
    46 months ago

    I’m confused, do people really use copilot to write the whole thing and ship it without re reading?

    • @[email protected]
      link
      fedilink
      English
      76 months ago

      I literally did an interview that went like this:

      1. Applicant used copilot to generate nontrivial amounts of the code
      2. Copilot generated the wrong code for a key part of the algorithm; applicant didn’t notice
      3. We pointed it out, they fixed it
      4. They had to refactor the code a bit, and ended up making the same exact mistake again
      5. We pointed out the error again…

      And that’s in an interview, where you should be extra careful to make a good impression…

    • @[email protected]
      link
      fedilink
      English
      46 months ago

      Not specific to AI but someone flat out told me they didn’t even run the code to see it work. They didn’t understand why I would or expect that before accepting code. This was someone submitting code to a widely deployed open source project.

      So, I would expect the answer is yes or very soon to be yes.

    • @[email protected]
      link
      fedilink
      English
      1
      edit-2
      6 months ago

      Around me, most beginners who use that don’t have the skills to understand or even test what they get. They don’t want to learn I guess, ChatGPT is easier.

      I recently suspected a new guy was using ChatGPT because everything seemed perfect (grammar, code formatting, classes made with design patterns, etc.) but the code was very wrong. So I did some pair programming with him and asked if we could debug his simple application. He didn’t know where the debug button was.

      • Zos_Kia
        link
        fedilink
        English
        26 months ago

        Guilty as charged, ten years into the job and I never learned to use a debugger lol.

        Seriously though that’s amazing to me I never met one of those… I guess 95% of them will churn out of the industry in less than five years…

        • @[email protected]
          link
          fedilink
          English
          1
          edit-2
          6 months ago

          Debug button? There is a button that inserts ‘printf(“%s:%s boop! \n” , __FUNCTION__, __LINE__) ;’?