Out-of-trend check
stab_detect_ootDetect out-of-trend stability results that remain within specification by comparing new batch data against historical batches using regression, time-point, or slope controls.
Instructions
Flag stability results that are within specification but out of trend versus historical batches.
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": {
"new_points": "<new_points>"
},
"name": "stab_detect_oot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alpha | No | Two-sided alert level (0.01 = 99% prediction interval). | |
| method | No | regression_control: prediction interval around the historical regression; by_time_point: historical results at the same time point; slope_control: new batch slope vs historical slopes. | regression_control |
| historical | No | Long-term results, one per row. | |
| new_points | Yes | Results to check (new batch / latest pull). | |
| attribute_name | No | attribute | |
| historical_csv | No | Alternative to points: CSV with header batch,time_months,value. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alpha | Yes | ||
| checks | Yes | ||
| method | Yes | ||
| summary | Yes | One or two sentence plain-language answer. | |
| findings | No | ||
| citations | Yes | ||
| disclaimer | No | Decision support only. Verify against the current guideline and your site SOPs. | |
| provenance | Yes | ||
| assumptions | No | ||
| n_historical | Yes |