• ExtremeDullard@piefed.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 month ago

    Yes: I experimented with this. I stripped out all the comments in one of my Python libraries and asked the model to explain what the library does. And what do you know: all of the sudden, instead of giving me a nice overview of the library and its functionality, it hallucinated a bunch of half-baked bullshit.

    I will add this: run the model a few times on the codebase and will fuck it up enough to degrade its own performances on it.

  • tangeli@piefed.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 month ago

    The International Obfuscated C Code Contest should run a separate competition for code obfuscated from the perspective of LLMs. Cracking Complexity: ChatGPT’s Exploration of Enigmatic C Code from the IOCCC is a start, but there should be a stream that rewards code inscrutable to LLMs specifically.

    It is inconceivable that all expressions of an algorithm can be equally well used, maintained and elaborated by LLMs, including at the same cost. The question is not whether the ‘cleanliness’ of code makes a difference but rather, which aspects of coding style make code most amenable to development, use and maintenance using LLMs and how to configure LLMs to produce such code. Bonus for identifying those aspects that also make it more comprehensible to humans.