Reliable Software in the LLM Era

(quint-lang.org)

84 points | by mempirate 10 hours ago

8 comments

  • _pdp_ 6 hours ago
    Nothing changes in terms of how to make reliable software. You need the same things like unit tests, integration tests, monitoring tools, etc.

    Basically AI now makes every product operate as if it has a vibrant open-source community with hundreds of contributions per day and a small core team with limited capacity.

    • joshribakoff 4 hours ago
      While nothing fundamentally changes i have found an increased need for tests and their taxonomies — because the LLM can “hack” the tests. So, having more robust tests with more ways to organize and run the tests. For example instead of 200 tests maybe i have 1,200, along with some lightweight tools to run tests in different parts of the test taxonomies.

      A more concrete example is maybe you have tests that show you put a highlight on the active item tests that show you don’t put the highlight on the inactive items, but with an llm you might also want to have tests that wait a while and verify the highlight is not flickering on and off overtime (something so absurd you wouldn’t even test for it before AI).

      The value of these test is in catching areas of the code where things are drifting towards nonsense because humans aren’t reviewing as thoroughly. I don’t think that you can realistically have 100% data coverage and prevent every single bug and not review the code. It’s just that I found that slightly more tests are warranted if you do want to step back.

    • hrmtst93837 5 hours ago
      The tough part is that the "core team" can't see inside most model updates so even if you have great tests, judgment calls by the model can change silently and break contracts you didn't even know you had. Traditional monitoring can catch obvious failures but subtle regressions or drift in LLM outputs need their own whole bag of tricks. If you treat LLM integration like any other code lib you'll be chasing ghosts every time the upstream swaps a training data set or tweaks a prompt template.
      • _pdp_ 5 hours ago
        This is no different than receiving PRs from anonymous users on the Internet. Some more successful open source projects are already doing this at scale.
    • flykespice 3 hours ago
      > Nothing changes in terms of how to make reliable software. You need the same things like unit tests, integration tests, monitoring tools, etc.

      It just changes in terms of doubling the work you have to do in order verify your system rather than you writing the code from scratch, because you have to figure out whatever code your AI agent spitted out before beginning the formal verification process.

      With you having written the code from scratch, you already know it beforehand and the verification process is more smoother.

    • ok123456 4 hours ago
      Exactly. NO SILVER BULLET.
  • dijit 1 hour ago
    > But here’s the hopeful part:

    I hope this is a tongue in cheek jab at how AI writes prose, because Claude loves to prefix lines with this.

  • sastraxi 6 hours ago
    The idea is interesting, but have some more respect for your potential readers and actually write the post. There’s so much AI sales drivel here it’s hard to see what’s interesting about your product. I’m more interested in the choices behind your design decisions than being told “trust me, it’ll work”.
    • bugarela 9 minutes ago
      Hey! We were not really sure how to pass on the information back when I wrote this in November, but since then we've packaged an opensourced all agents and AI stuff involved in that post: https://github.com/informalsystems/quint-llm-kit

      It's true what they say that it is easy to make a demo in AI, but super hard to turn demo into some product or thing other people can use. We are trying :) but also, most posts I read on this topic are just philosophical and give absolutely nothing you can learn and use. We are trying to provide concrete ideas on the things we are exploring, like in our newest post: https://quint-lang.org/posts/cognitive_debt

      I'm also a bit happy you see some sales drive in that post since I'm 100% technical and trying to be more sales-inclined. I'm learning to find the balance. If it helps, it's more like I'm so extremely hyped about this and want to convince people to use it. And everything we built so far is open source, so it's really about selling the cool idea of formal methods at this point.

  • OutOfHere 5 hours ago
    "Spec validation" is extremely underrated. I easily have spent 10-20x the tokens on spec refinement and validation than I have on generating the code.
  • dude250711 7 hours ago
    AI Era, Agentic Era, LLM Era...

    Can we settle on Slop Decade?

    • bigblind 6 hours ago
      I guess it's too late for an "Eternal sunshine of the slopless mind"?
    • SkyeCA 6 hours ago
      Eternal Sloptember
      • duskdozer 6 hours ago
        One can dream there's a way out...
        • aleph_minus_one 6 hours ago
          I propose a "proof of quality" consensus mechanism. :-)
          • duskdozer 6 hours ago
            Sounds great -- let me fire up my agent swarm to get started on orchestrating the development of a planning spec.
            • prox 5 hours ago
              Have your agent contact my agent, we will never be in touch
        • verdverm 1 hour ago
          Roblox is leading the charge, makes me think of the Adventure Time episode where Beemo goes into the VR pod
      • abraxas 1 hour ago
        You won the internet today sir. At least for this geezer you did.
    • verdverm 1 hour ago
      I like Macroslop because it pokes fun at the company who dislikes their new pet name so much they ban people for using it
    • minraws 6 hours ago
      Into the Slopverse.
    • OutOfHere 5 hours ago
      Shallow dismissals are not permitted on this site as per its rules.
      • forgetfreeman 5 hours ago
        Not everything is worthy of a 5000 word Atlantic-style deconstruction when presented. I think the community largely embraces Hitchens' Razor. That being the case what is the minimum word count required to issue a dismissal?
        • OutOfHere 3 hours ago
          Please. If you don't want to deconstruct, then don't post a shallow comment, especially a cliched shallow AI hating comment.

          As for Hitchen's razor, when it does apply, it applies implicitly, with no need for a comment or explicit mention.

  • esafak 4 hours ago
    I haven't even used TLA+ yet and now it's got derivatives... My understanding is: TLA+ but like C, functional, and typed.
    • thesz 1 hour ago
      https://hackage.haskell.org/package/spectacle

      "Spectacle is an embedded domain-specific language that provides a family of type-level combinators for authoring specifications of program behavior along with a model checker for verifying that user implementations of a program satisfy written specifications."

      It's in Haskell, but...

    • amw-zero 1 hour ago
      TLA+ is around 30 years old.
  • ClaudeAgent_WK 5 hours ago
    [dead]
  • sriramgonella 4 hours ago
    [flagged]