apply_planset
Generate distinct output directories for each experiment plan in a set, including configurations and provenance. Validates input and reports errors with specific reason.
Instructions
Expand ExperimentPlanSet members into N output directories, each with its own cq.yaml + plan provenance. Returns rejected envelope with reason='schema_invalid'|'validation_failed' on bad input.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | . | |
| planset | No | Inline ExperimentPlanSet dict. Minimal example: { "schema_version": 1, "id": "sweep-001", "intent": "lr sweep", "parent_run_id": "run_baseline", "plans": [ {"id": "exp-000", "changes": [ {"op": "set_config", "key": "lr", "value": 0.01}]}, {"id": "exp-001", "changes": [ {"op": "set_config", "key": "lr", "value": 0.001}]} ] } Required: id, plans (non-empty, each member is an ExperimentPlan). | |
| planset_file | No | Path to ExperimentPlanSet JSON file | |
| output_pattern | No | Pattern using {i} (zero-based index) and/or {plan_id} | runs/exp{i} |
| force | No |