• DoomBot5@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    7 months ago

    No elephants in the room, but there is an elephant. I expect nothing less of this level of pandentics from a bot.

    • DefederateLemmyMl
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 months ago

      elephant_generator.sh

      #!/bin/bash
      elephantCount=0
      for (( i=0; i<=${elephantCount}; i++ )); do
          echo "Insert elephant ${i}"
      done
      
      • DoomBot5@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        7 months ago

        That’s all fine, but the issue comes from the natural language processing layer. “elephants == elephant > 1” so elephant = 1 is still valid.