# Evals — Detent

> A candidate prompt against the one in production, case by case, before it ships. Regressions open side by side, and shipping waits for a person to decide each one.

Canonical: https://detentui.com/blocks/evals
Last updated: 2026-11-10

## About

A candidate prompt against the one in production, case by case, before it ships. Regressions open side by side, and shipping waits for a person to decide each one.

## Details

- Each result lands in its row as the run goes, and the pass rate, time and cost count with it, each beside production’s figure.
- Above the table, every case as a pair of scores: a hollow dot where production stood, a solid one where the candidate lands, and the line between them drawn as its result comes in. A column opens its case.
- What got better is marked Fixed, what got worse Regressed, and an undecided regression keeps a red wash on its row; a tab narrows the table to just the regressions.
- A case opens side by side: what the customer wrote, what a good answer does, both versions’ answers and why the grader marked one down.
- A person decides each regression: accept it if the grader was too strict, or block the ship.
- The Ship button waits until every regression is decided, and a blocked one keeps it shut with the reason written under the header.
- Below 1152px the case opens in a sheet over the table; below 768px the totals stack.

## Install (Pro required)

```bash
npx shadcn add @detent-pro/evals
```

## Related
- [All blocks](https://detentui.com/blocks)
- [Pro](https://detentui.com/pro)
