Posts

Showing posts with the label LLM testing

Golden Datasets and CI Regression Tests for LLM Apps in October 2026: Catch Prompt and Model Changes Before They Ship

Image
Most teams test their code and then change a prompt, swap a model, or tweak a retrieval setting with nothing but a quick manual try. The change looks fine on three examples, ships, and quietly breaks a fourth case nobody checked. This post shows a practical way to stop that: a small golden dataset, a handful of cheap automated checks, and a CI job that fails when quality drops. Image: Croncal via Wikimedia Commons (CC BY-SA 4.0) What a golden dataset is (and what it is not) A golden dataset is a fixed set of inputs, each paired with a description of what a good output must satisfy. It is not a benchmark and it does not need thousands of rows. For most apps, 30 to 100 well-chosen cases catch the majority of regressions, because the point is coverage of your own failure modes, not statistical precision. Good sources for cases, roughly in order of value: Real failures. Every bug report or bad answer you fix becomes a test case, so the same mistake cannot return silently. Rea...