Skip to content
AgenticAIWiki

Change, measure, keep or revert

Full screen
Test cases10 inputs + criteriaPrompt v1Evalgrade + pass bar

Swipe to change step

Step 1 of 7. Before touching the prompt, write the eval: ten test cases, a way to grade each output, and a pass bar. Writing the cases forces you to decide what a good answer is. Test cases (10 inputs + criteria), highlighted. Prompt v1. Eval (grade + pass bar), highlighted. arrow from Test cases to Eval. arrow from Prompt v1 to Eval.

In this chapter

  1. 16.1Why evals come before prompts4 min read
  2. 16.2Defining success: criteria you can score4 min read
  3. 16.3Your first ten test cases4 min read
  4. 16.4How would you test this? A habit for every project4 min read

Chapter check

Already know this? Score 80% or more and you can skip ahead. Each attempt draws 4 questions from 12.

Loading check…