flow_validate
Validate a trained Flow model against real data using statistical tests. Returns a job ID for asynchronous progress monitoring.
Instructions
Validate a trained Flow model against real data. Generates paths and compares them to historical distributions using Wasserstein distance, KS tests, coverage tests, and marginal distribution checks. Returns immediately with a job_id — validation runs asynchronously (~3-5 min). Use check_flow_job(job_id=..., job_type='validate') to monitor progress. Requires a trained Flow model (run train_flow_model first).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"model_group_id": "<model_group_id>"
},
"name": "flow_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| horizon | No | Validation horizon (defaults to training horizon) | |
| n_paths | No | Number of paths to generate for validation (default 500) | |
| model_group_id | Yes | UUID of the model group with a trained Flow model |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |