I want a well-built vitest or py.test equivalent that makes eval testing easy, paired with a strong factory/fixture solution for mocking stateful data.
I find both eval-testing tools and stateful-data fixtures extraordinarily painful, especially in JavaScript.
I built vitest-evals, but I barely use it now because working with these systems is so difficult.
I find brittleness and runtime make iteration painful when working with evals.
I do not want to buy a third-party service because I already have testing infrastructure.
I would like tips for making eval systems more functional and accessible to developers.
I ask whether every database call should be mocked, using that question to frame how to test model behavior.
I expect a model to roughly behave in a [shape], rather than requiring one exact output.
I worry that I have to constantly update those mocks whenever I change the model or change other routes of behavior.
Historically I found a lot of joy in writing tests.
I said, “Its a very accessible way to incrementally improve your software.”
I described evals as “the worst thing I've ever had to deal with as an engineer.”
I said that “the amount of complexity it takes to structure a test, in any way that truly is a "reproduction", is absurd.”
I described evals as combining a nightmare with “an ongoing heavy cost (time and money).”
I said that mocking a model's expected shape would mean “i have to constantly update those mocks whenever i change the model change other routes of behavior etc”.
I said that this mock-based approach is “its different than what most folks do for qualitative evals”.
I think about evaluation as a practical bottleneck in building with LLMs: measurement needs to help me understand failures and make progress, not merely record outcomes. My concerns about measurement connect to benchmark validity and context and to hands-on testing in end to end agent testing.
I think the fundamental issue is that evals are simply too unreliable and not scientific enough.
I say that even with a crazy statistical test suite, “iteration is a nightmare because don’t have a clue why shit fails.”
I see this as a real issue with LLM-based development.
I said, “I also think - but I don’t know - this is why we see such sporadic advancement with the models and the agents on models.”
I said iterative improvement is hard without “no reliable and predictable way to measure it.”
I have also accepted that testing in production can be hard to avoid with some current technology, even though I recognize the usual objection to it.
I’ll be the first to tell you only fools test in production.
I think we just cant reliably do much else with some of the current tech.
I think that changes.
I ask, “is 2026 the year we come up with a better approach than evals?”
I have moved toward investing more in evals while continuing to find LLM-based programming extremely difficult in practice.
I’ve been convinced to invest more in evals, and I thanked @davidgomes.
I’m still convinced this is the worst version of programming to ever exist.
I find there’s too much stateful data needed on top of the randomness that is LLMs, which just makes it extremely brutal to use in practice.
Related: reliable evaluation infrastructure, end to end agent testing, testing agent behavior end to end