The GNOME.org Extensions hosting for GNOME Shell extensions will no longer accept new contributions with AI-generated code. A new rule has been added to their review guidelines to forbid AI-generated code.

Due to the growing number of GNOME Shell extensions looking to appear on extensions.gnome.org that were generated using AI, it’s now prohibited. The new rule in their guidelines note that AI-generated code will be explicitly rejected

    • IngeniousRocks (They/She) @lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      17
      ·
      edit-2
      2 hours ago

      Just an example:

      I’m a programming student. In one of my classes we had a simple assignment. Write a simple script to calculate factorials. The purpose of this assignment was to teach recursion. Should be doable in 4-5 lines max, probably less. My coed decided to vibe code his assignment and ended up with a 55 line script. It worked, but it was literally %1100 of the length it needed to be with lots of dead functions and ‘None->None(None)’ style explicit typing where it just simply wasn’t needed.

      The code was hilariously obviously AI code.

      Edit: I had like 3/4 typos here

    • brian@programming.dev
      link
      fedilink
      arrow-up
      10
      ·
      5 hours ago

      if it’s not clear if it’s ai, it’s not the code this policy was targeting. this is so they don’t have to waste time justifying removing the true ai slop.

      if the code looks bad enough to be indistinguishable from ai slop, I don’t think it matters that it was handwritten or not.

    • kadu@scribe.disroot.org
      link
      fedilink
      arrow-up
      8
      arrow-down
      1
      ·
      5 hours ago

      I guess the practical idea is that if your AI generated code is so good and you’ve reviewed it so well that it fools the reviewer, the rule did it’s job and then it doesn’t matter.

      But most of the time the AI code jumps out immediately to any experienced reviewer, and usually for bad reasons.

      • refalo@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        1 hour ago

        So then it’s not really a blanket “no-AI” rule if it can’t be enforceable if it’s good enough? I suppose the rule should have been “no obviously bad AI” or some other equally subjective thing?