A test set is a collection of examples: real requests with their stored responses, taken from Logs. Evaluators score these responses in scoring runs, and checks use them to test a prompt version before it is released.

  • From Logs - tick the requests you want in Logs › Requests, choose Add to test set, then a Draft of an existing test set or A new test set and its name (and, optionally, why they were added), the Partition, and Add N to the draft. Each example is the whole request and its stored response; a request whose content isn't stored (its key doesn't log prompts and responses) is skipped and named.
  • Partitions - every example is in one partition: Train and Dev, used by scoring runs, or Test, used by checks only and held out so scoring runs don't score it. When you add examples, choose Even split (70/15/15) across train, dev and test, or put them all in Train, Dev or Test.
  • Versions - Freeze the draft… freezes the draft's examples, with their partitions and annotations, as the next version (v1, v2, …); the dialog says how many test examples it will hold. A frozen version can't change, so scoring runs on it can be compared, and only frozen versions can be scored. The new draft starts as a copy of the version you froze.
  • Annotations - Pass (P), Fail (F) or Skip (S), with an optional note on what's right or wrong, and an expected answer for evaluators that compare against it. Examples annotated Fail show in Failures. A frozen version can't change: expected answers and annotations are written on the draft.

You can also start empty: Evaluate › Test sets › New test set asks for a name, a description and a project. A test set's page shows the version (Draft or vN · frozen) and its examples, with Freeze the draft…, Add from Logs, Start a scoring run… and More, then the project, the scoring runs and checks that use it, the annotation progress (Annotated 3 of 3 · pass 3 · fail 0 · skip 0) and the examples table with each example's request, response, expected answer, model, partition, annotation and when it was added.