Dataset Format
A provides the set of evaluated by a .
Use this dataset with:
vigilo run validate --profile-file <profile.yaml> --dataset-file <dataset.yaml>
File Format
The CLI accepts YAML or JSON.
Recommended filename:
dataset.yaml
Top-level shape:
dataset_id: 018f1111-1111-7111-8111-111111111111
dataset_version: 1.0.0
cases: []
Dataset uploads accept this document through vigilo dataset upload with an
explicit size cap, or use the versioned JSONL representation for large inputs.
See Dataset Ingestion
for framing, limits, identity preservation, and resume behavior.
Top-Level Fields
dataset_id(UUID, required)dataset_version(string, optional)cases(array, optional; empty array if omitted)
cases[]
Each case should map to a task type expected by at least one profile case group.
cases:
- id: 018f1111-1111-7111-8111-111111111101
task_type: classification
case_group: classification
input:
user_message: "I love this product."
expected:
label: positive
context: {}
tags: [smoke, easy]
metadata:
source: synthetic
Fields:
id(UUID, required)- (string, required)
- (string, optional): explicit run-profile case-group ID to use for this case.
- (object/value, required)
- (object/value, optional)
context(object/value, optional)- (string[], optional)
metadata(object, optional)
Alignment with Run Profile
- When
case_groupis omitted,cases[].task_typeshould matchcase_groups[].applies_to.task_type. - When
case_groupis omitted,cases[].tagscan be matched againsttags_anyandtags_all. - When
case_groupis supplied, it is an explicit routing override. Vigilo selects the profilecase_groups[].idwith that exact value and does not fall back to task/tag matching if the id is missing. - When
case_groupis omitted, Vigilo selects matching profile case groups fromtask_type,tags_any, andtags_all. case_groupis part of immutable case content. Changing onlycase_groupchanges the case hash because it changes evaluator selection and aggregation behavior.
Dataset case content is stored as immutable case blobs for reproducibility and retry execution. Run profile persistence.mode: summary redacts execution-level case snapshots, but it does not remove the underlying dataset case blobs needed by workers.
Example
See the repository sample dataset:
example/dataset.yaml
Related
- Run profile configuration
- Glossary
- Repository example:
example/README.md