Dataset Format
A dataset provides the set of test cases evaluated by a run profile.
Use this dataset with:
vigilo run test --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: []
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)task_type(string, required)case_group(string, optional): explicit run-profile case-group id to use for this case.input(object/value, required)expected(object/value, optional)context(object/value, optional)tags(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:
web/docs/configuration/run-profile.mdx - Example project:
example/README.md