Skip to content
Issue01.OS
Issue.Meta
No.01 · Engineering
By Richard Skinner, Phased
· 2 min read
From LinkedIn issues 06, 20, 23
Eval.Run
$ phasedloop run regression.yaml
case refund_policy_04 ..... pass
case tone_escalation_11 .. fail
case citation_check_02 ... pass
> 1 change needs a look
Phase 1.1
Discover
phase motif
Covers
+ Gold standards+ LLM as judge+ Regression+ Monitoring

How To Test Generative AI Applications

Use It To

Catch a regression before your customers do.

What It Is

A working approach to evals, regression sets and live monitoring, from the projects we run.

From The Archive

Rebuilt from issues 06, 20 and 23 of the LinkedIn newsletter, updated for 2026.

how-to-test-generative-ai-applications.md

Most generative AI projects are tested the way a demo is tested: someone tries a few prompts, the answers look right, and it ships. Then a prompt changes, a model version moves, or a new document lands in the knowledge base, and nobody can say whether the system got better or worse.

This is the approach we use on client projects to answer that question every time something changes.

Ordinary Tests Miss What Changes

Ask a database for every customer name and it returns the same list every time. A test for that is one line.

Ask a language model to pull every customer name out of a set of support call transcripts and it has to make calls. When an agent says “let’s say Joe Bloggs rings in”, is Joe Bloggs a customer? There is a right answer, but reaching it takes judgement, and the model may judge it differently tomorrow. That is the whole testing problem in one example.

Build A Gold Standard From Real Cases

Start with real questions from real users, not invented ones. Pull them from support tickets, sales calls and the pilot. For each one, have someone who knows the work write down the right answer, what it must contain and what it must never say.

A spreadsheet is fine. A few dozen well-chosen cases beat hundreds of generated ones, and the set becomes the most valuable thing in the project: a map of what good looks like for your business.

Score With Rules First, Then A Judge

Check what a rule can check: required facts present, banned phrases absent, citations pointing at real sources, the right format. Then use a second model as a judge for what rules cannot see, such as tone or whether the answer addressed the question.

Spot-check the judge against people. If your experts disagree with it on a case, it is not ready to grade that case.

Run It On Every Change

Prompts, model versions, retrieval settings and source documents are all code now. Moving to a cheaper model to save money is a change like any other: run the gold standard, compare the scores, and let a drop on a case that used to pass block the release until someone looks.

Watch It In Production

Tests catch what you thought of. Production shows you what you did not. Log inputs and outputs, sample them for review, and feed the failures back into the gold standard. That loop is the method.

Next In PhasedApproach

No.03 · Guide
No.03

An AI Governance Framework That Gets Used

Use It To

Give legal and engineering the same checklist.

Read Along

New issues are posted on LinkedIn · one issue a fortnight