• TwilightKiddy@scribe.disroot.org
        link
        fedilink
        English
        arrow-up
        10
        ·
        1 month ago

        If you are generating tests with an LLM, it’s not deterministic.

        Also, have you actually read anything an LLM wrote that’s longer than a hundered words? It’s usually immediately obvious. In the open source world things I keep seeing are exchanges like this one. And Niri is a fairly good case with it’s maintainer actually reading the PRs and catching all the bullshit that an LLM spits out. Very often nowadays people will also do reviews with an LLM and this sort of stuff will just accumulate in the codebase with nobody to reject it.

        But even if it was as useful as big tech paints it to be, I’ll always be against using it based purely on morals. There is an enormous number of issues in that regard, most importatnly LLMs literally kill people both directly and indirectly. Condoning the adoption of this technology is either being ignorant or misanthropic.

          • TwilightKiddy@scribe.disroot.org
            link
            fedilink
            English
            arrow-up
            8
            ·
            1 month ago

            Why the are you getting more text than you can physically review at your job? That sounds like a recipe for poor reviews. How are you sure LLMs are not missing anything if nobody actually has the time to read through all the text? Why does the text that gets to a developer contain logical mistakes in the first place? Back at my last job we had people assigned to collecting feature requests, talk them through with whoever wanted the feature implemented and produce proper specifications that developers would implement without wasting time on specifications containing garbage.

            As does nearly every activity of life, both in human society and the natural world.

            Yea, all people who drank water died. Not a very good argument. Most things don’t have a mental disorder named after them. If I leave a webpage with a calculator running unattended it won’t magically persuade a random visitor into commiting suicide. Webpages with LLM-powered chatbots are doing just that. You may choose to neglect it, but to me it sounds like adding lead to your gasoline. Yea, your car runs better. Are you sure it’s worth it, though?

              • TwilightKiddy@scribe.disroot.org
                link
                fedilink
                English
                arrow-up
                6
                ·
                1 month ago

                I’m sorry you are working in such conditions, I hope you get better management that actually understands how much data one person can process.

                I’m not sure how your story is at all relevant to what I said.

                I don’t have a driver’s license, I don’t live in the US, I don’t need one. The lead in gasoline example was just the first thing that came to mind that fit a “technology that is profitable and useful, but kills people” description. Please pay attention to the road while driving instead of perfoming mental math exercises.

                I would also like to ask you to think about what exactly you are arguing for right now, as I’m starting to think that our understanding of the value of human life differs quite a bit.

              • tyler@programming.dev
                link
                fedilink
                arrow-up
                1
                ·
                1 month ago

                Sounds nice. We’ve got ~500 employees at our “site” (which is now distributed across 3+ states with remote workers), of those, about 8 do software development, so developers end up doing virtually all of the translation of customer “needs” to specifications / requirements. We also have a marketing department that changes their mind about twice as fast as the product development / delivery cycle.

                you’re acting like the solution here is LLMs, when the solution is just hiring more people. LLMs aren’t ‘solving’ anything, they’re just masking the problem and allowing the millionaires at the top to keep making tons of money.

                  • tyler@programming.dev
                    link
                    fedilink
                    arrow-up
                    1
                    ·
                    1 month ago

                    you’re acting like the solution here is LLMs

                    No, you’re imagining that’s what I wrote. LLMs are a tool, not a solution.

                    Fine, you’re acting like the tool for the solution is an LLM.

                    A helpful tool, very helpful in some situations.

                    X to doubt. My job is currently filled with people using LLMs and most of what I’m doing is undoing their shit our detangling whatever LLM output they paste

                    The real problem that people and LLMs struggle with is: what should we be doing in the first place? LLMs don’t solve that,

                    Correct

                    they do accelerate the making of a software thing when you know what you want that software thing to be.

                    Incorrect. They accelerate making a ton of code that is impossible to maintain, update, etc. If you know what the software is, it was never writing it that was the hard part. That’s why senior+ developers have been saying for decades that the hard part of the job isn’t coding. It’s everything else.

                    They also accelerating the finding of flaws during the process, enabling cleaning those flaws out faster.

                    Incorrect. Like I said, half my job is reading over extremely verbose LLM bullshit from colleagues to tell them every single thing the LLM said incorrectly. That didn’t happen before LLMs. People checked their work. LLMs don’t have a mind, they cannot check their work.

                    That’s not a problem for tools to solve, that’s a societal problem that goes back to - at least - the start of agriculture.

                    I didn’t say it was a problem for tools to solve! But it sure is a problem tools can cause! And that’s exactly what’s happening here. It’s making everything so incredibly worse that there is literally no justification for it!

          • tyler@programming.dev
            link
            fedilink
            arrow-up
            1
            ·
            1 month ago

            Simple questions to an LLM like: “review this procedure, is it internally self consistent” will find issues, real issues - usually minor - but undeniable when you read the review, the problem it describes is absolutely present in the document, page 14 says “X” and page 23 says “not X” and the context is basically identical - so which are we really supposed to do: “X” or “not X”? Well, that depends. Depends on what? Additional context and detail that the already too long 50 page procedure doesn’t address.

            lol and I find issues like this in LLM output of only 1 or 2 pages. LLMs can’t even be consistent across paragraphs, much less hundreds of pages of context window. what an insane claim.

              • tyler@programming.dev
                link
                fedilink
                arrow-up
                1
                ·
                1 month ago

                Asking LLMs to find flaws, then verifying those flaws are real, is more powerful than just looking for flaws without the tool.

                No it isn’t. Your example is so contrived. What was happening before these documents were reviewed by LLMs? Were the lines that were incorrect causing issues? If so then a human would have found it years ago. If not then they weren’t causing problems and all the LLM has done is invent work that a human now needs to clean up. The LLM didn’t solve a problem, it created a new one!

                Now you need to pay a human to make sure that the LLM isn’t actually making things worse, which wasn’t even a job before! Your company that won’t pay a human to review the document in the first place is now needing more humans to clean up a mess that wasn’t a problem in the first place.

    • fruitcantfly@programming.dev
      link
      fedilink
      arrow-up
      1
      arrow-down
      4
      ·
      1 month ago

      But you really should be writing those tests regardless of whether or not you or an LLM ends up writing the actual code. That helps ensure that the code actually does what you think it does, and prevents bugs or unintended changes in behavior from sneaking in later when something changes

      • TwilightKiddy@scribe.disroot.org
        link
        fedilink
        English
        arrow-up
        5
        ·
        1 month ago

        Well, depends. My thousand-line pet project does not need any tests, it needs to be feature complete and never touched again.

        Bigger projects are usually ones where multiple people are contributing and having code that practically nobody wrote there is a huge problem on it’s own in my opinion, even if it passes a number of tests. Good tests themselves are usually harder to write than the code they are testing, I am not sure if delegating the actual fun part of development to an LLM and doing “chores” manually is a good idea.