• sunbeam60@feddit.uk
      link
      fedilink
      arrow-up
      5
      ·
      15 hours ago

      I agree that you can tell if the whole code base is AI written. But stuff like dependency upgrades being handled by an AI is impossible to detect, IMHO.

    • IHeartBadCode@fedia.io
      link
      fedilink
      arrow-up
      31
      arrow-down
      7
      ·
      24 hours ago

      That is an absolutely terrible standard. In fact, that’s technically not even a standard. The “I know it when I see it” measure is literally the logic used in censorship. It allows cognitive biases to seep in with no check. A lack of hard metrics means that there’ zero ways there can be any objective consistency. And finally, this kind of rationale makes the biggest sin that I can think of, “non-falsifiability”.

      Whatever people’s opinion on AI are or are not. This logic should wholly be rejected in every instance it is brought forth. It is literally the antithesis of rational thought.

      • rozodru@piefed.world
        link
        fedilink
        English
        arrow-up
        16
        arrow-down
        6
        ·
        23 hours ago

        no, as someone whose entire job is code reviewing ai slop you LITERALLY know at first sight just by looking at it what is written by an LLM and what is written by a real person.

        • chrash0@lemmy.world
          link
          fedilink
          arrow-up
          20
          arrow-down
          1
          ·
          22 hours ago

          as someone who has a similar job, i don’t think it’s so obvious. there’s a lot of middle ground between an AI slop PR and artisanal, hand-crafted code. if i use a library or algorithm or pattern suggested by ChatGPT or use Copilot to autocomplete a simple function or have Claude generate test cases, that’s all “AI assisted”.

        • definitemaybe@lemmy.ca
          link
          fedilink
          arrow-up
          8
          arrow-down
          2
          ·
          19 hours ago

          Sure, but that’s not what this is about. This isn’t just banning AI-written code, it’s banning AI-assisted code. If you even use a Google Gemini “AI-summary” at the top of your search results for something simple like the name of a function, then your code is AI-assisted.

          There’s no way anyone can detect that. And banning it is silly.

          But the point is, imho, that if nobody can tell if it’s AI-assisted, then who cares? This is more for them to fire a warning shot that you’d better be sure your AI-assisted code is good enough to pass, or they can reject or and, potentially, ban you without notice.

        • voidsignal@lemmy.world
          link
          fedilink
          arrow-up
          4
          arrow-down
          3
          ·
          edit-2
          22 hours ago

          Yeah. But this guy says we can’t. I wonder what metric they use to assert “the sky is blue” is a true statement.

          Probably needs to XP a bit…

    • axh@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      17 hours ago

      That reminds me of my friend who said (a long time ago) that Japanese girls are prettier than Chinese girls, I asked him how he recognises them, since I knew he didn’t know any Chinese or Japanese personally, he said, that when he sees an Asian girl, he just knows, if he likes her, she is Japanese , if he doesn’t like her she must be Chinese (and no, he didn’t talk to any of them to confirm his “genius” theory… Hey, we were both young, talking to girls was difficult, even more difficult than realising there are a lot more Asian countries than just two)

      What I meant is: it’s stupid, if you recognise AI assisted code because it’s bad, maybe just say that you don’t accept shitty code

    • VeryFrugal@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      16 hours ago

      I’m no competent, or no professional, dev, yes, but I absolutely cannot tell if it’s AI generated, let alone AI assisted(whatever that is) code.

      That only was the case with ChatGPT3.x era.

    • teslasdisciple@lemmy.ca
      link
      fedilink
      arrow-up
      4
      arrow-down
      4
      ·
      22 hours ago

      My point is that AI assisted just means you got an idea or a first draft from it. The finished product is still your code. Not the same as AI generated, which is more obviously slop.

      Not that I’m defending it. I abhor all this AI gas lighting.