456
Workflow

Build an Eval Suite Before Optimising Prompts

Stop guessing whether a change improved anything.

1 min readupdated 2026-08-01

/ quick answer

Create a scored dataset first, then treat every change as an experiment against it. Stop guessing whether a change improved anything.

Stop guessing whether a change improved anything. The problem it solves: Teams tweak prompts based on a handful of eyeball tests and ship regressions they never see. Create a scored dataset first, then treat every change as an experiment against it. It runs in 6 steps, starting with collect 30–50 real inputs, weighted toward known failures. This workflow node is part of the Onexial knowledge graph and links to related concepts, workflows and tools below.
Problem
Teams tweak prompts based on a handful of eyeball tests and ship regressions they never see.
Solution
Create a scored dataset first, then treat every change as an experiment against it.
Steps
  1. 01Collect 30–50 real inputs, weighted toward known failures.
  2. 02Define the expected outcome per case: required facts, structure, forbidden content.
  3. 03Choose a scorer per case type: assertion for structure, rubric for quality.
  4. 04Record a baseline score before changing anything.
  5. 05Run the suite on every prompt, model or retrieval change; compare against baseline.
  6. 06Add every new production failure to the dataset the day it happens.
Tools Used
Prompts Used
Related Dictionary
/ frequently asked

What does the Build an Eval Suite Before Optimising Prompts workflow do?

Create a scored dataset first, then treat every change as an experiment against it.

What problem does Build an Eval Suite Before Optimising Prompts solve?

Teams tweak prompts based on a handful of eyeball tests and ship regressions they never see.

How many steps does Build an Eval Suite Before Optimising Prompts take?

6 steps. It starts with collect 30–50 real inputs, weighted toward known failures. and ends with add every new production failure to the dataset the day it happens..

Which tools does Build an Eval Suite Before Optimising Prompts need?

It uses ai-observability-stack, ai-testing-stack — each linked below with its own node.