# Build an eval and dataset

The eval judges your agent against the rubric, and the dataset holds the dataset items it runs. Zhanla drafts both for you to approve.

## The eval

Each eval item is a judge prompt. An eval item for a rubric item judged on the trajectory can instead be a code check, a fixed rule that runs without a model call.

An eval is **simple** (one score), **checklist** (one per rubric item) or **tree** (weights and must-pass eval items). If a must-pass eval item fails, every eval item under it is skipped and scores 0.

## The dataset

A single-turn dataset item has an input, an example reply and expected verdicts. The example reply and expected verdicts are for tuning the judge, not for comparing with your agent's reply.

A multi-turn dataset item describes a [simulated user](https://zhanla.vercel.app/docs/test/multi-turn). If your app sends extra fields with each message, every dataset item also carries a request context.

Zhanla plans at least two dataset items per rubric item judged on the response. Rubric items judged on the trajectory are judged on every dataset item.

Zhanla then writes each dataset item in its own call, six at a time, saving each as it goes, so an interrupted generation resumes.

![The dataset review card](https://zhanla.vercel.app/docs-media/demo/dataset.png)

> Generated datasets aren't quality-checked automatically. Read them before you trust a verdict.

Adding dataset items keeps the expected verdicts you set by hand. Only regenerating replaces the dataset.

---

Source: https://zhanla.vercel.app/docs/test/eval-and-dataset
Updated 2026-11-24. Checked against release candidate b60cdc94.
