*.dataset.ts*.test-case.ts*.evaluator.ts*.run-config.ts
Create a Dataset
Datasets do not contain cases directly. They select discoveredTestCase exports by tags and/or file paths.
name is the stable id used by discovery and CLI commands. Use displayName for a human-facing label.
Add Test Cases
Test cases provide typed input, optional expected output, and optional tags.TestCase.describe(...) results.
Add an Evaluator
Evaluators receive the resolved case input, optional expected output, middleware context, and run metadata. Return scores and optional metrics.createError(...) inside evaluate when a failed evaluator should include structured error details in the artifact.
Add a Run Config
Run configs group one or more dataset/evaluator jobs under a stable name.Run It
--concurrency, -c Nlimits concurrent test-case executions.--experiment <name>addsmeta.experimentNameto every evaluator call.--ciexits with code1when any test case fails.
.eval-results unless you override the artifact directory.
