Dataset Builder¶
The Dataset Builder is the workflow for building a golden dataset from input data.
Workflow¶
- Bring inputs. Upload a CSV / JSON / JSONL / YAML file of input cases — no expected outputs required.
- Run candidates. clean-evals runs the inputs through the candidate models in parallel. Cost ceiling enforced.
- Review side-by-side. UI shows a grid: input on the left, model output as a column.
- Pick or edit. Select the best output, or edit one inline to fix it.
- Lock. Save → input + final output becomes a
Casewithexpectedset andlocked = True.
Optimistic concurrency¶
Multiple users editing the same dataset is supported. A Case row
carries a rev counter; the second writer to update sees a 409 and
re-fetches. No lost updates.
Locking semantics¶
A locked case is immutable. Editing a locked case is treated as a
dataset-version bump (v1 → v2); the old version stays addressable so
historical runs remain comparable.
Tagging a version locks the whole dataset.
CLI shortcut¶
Seeds an in-progress dataset row, then opens the Builder at
http://localhost:8080/builder/<id> so you can pick / edit / lock.