Skip to content
OppositeNumber

8 September 2026 · 6 min read

Write the evals before the feature

The single engineering habit that separates AI features people trust from ones they switch off.

By Founder name

If you only take one practice from how we build AI features, take this one: write the evaluation set before you write the prompt.

An eval set is a few dozen to a few hundred real inputs with the answers a domain expert would accept. It gives you a score, which means you can compare models, prompts and retrieval settings objectively, catch regressions when a provider updates a model, and show stakeholders a number instead of a vibe.

What goes in

  • Real inputs, including the ugly ones.
  • Expected outputs or a rubric for judging them.
  • A handful of adversarial cases: prompt injection, out-of-scope questions, requests for data the user should not see.

What it buys you

Confidence to ship, and a safety net every time anything changes.

AI DevelopmentEngineering

Talk to us about AI and digital

A 30-minute call. No deck, no pitch. Bring a problem and we will tell you honestly whether AI, software or neither is the answer.