• dev_null@lemmy.ml
      link
      fedilink
      English
      arrow-up
      9
      ·
      2 days ago

      How do you enforce code is not AI generated? I don’t see how one is more easily enforceable than the other.

      • dreamkeeper@literature.cafe
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        2 days ago

        Well it depends who you are. An employer could enforce it.

        But it was serious question. If you’re going to have a rule then there should be a way to enforce it, otherwise it means nothing.

        • dev_null@lemmy.ml
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 day ago

          It’s a fair question. I think out of the two proposed rules: enforce no AI generated code, and enforce human reviews, enforcing human reviews is actually more feasible, and in fact most companies already do that. Pull requests need human reviewers to approve them.

          It’s harder to enforce no AI generated code. A developer can always, at the very least, Google a problem they are having on their phone and retype the code from the AI answer into their work computer.

      • grrgyle@slrpnk.net
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        I mean how do you enforce someone doesn’t copy code from proprietary repos? You just try your best, and only come down on the cases where it’s obvious.

        LLM users are lazy so they inevitably just copy+paste something asinine without reading it.