Create Performance Definition
create_performance_definitionConfigure project model performance monitoring over time from period CAS tables, including scoring, drift bins, and champion or challenger tracking.
Instructions
Define how a project's models are monitored over time (a performance definition).
The data comes as one CAS table per period in data_caslib, named
<data_prefix>_<n>_<label>: CREDIT_1_Q1, CREDIT_2_Q2, ... Each
holds the model's inputs and the actual target. With score_data
(the default) Model Manager scores them itself; otherwise they must
already hold the model's outputs. Results go to the
ModelPerformanceData caslib, and run_performance_definition
computes them.
The project needs its target fields and a champion first:
set_project_champion sets both. A project has one performance
definition: when it has one already, that one is returned, and
replace changes it to these settings instead (it keeps its ID).
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": {
"project_id": "<project_id>",
"data_caslib": "<data_caslib>",
"data_prefix": "<data_prefix>"
},
"name": "create_performance_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Definition name (default: "<project> performance"). | |
| replace | No | Change the project's existing definition to these settings. | |
| max_bins | No | Bins for the drift statistics (default 10). | |
| model_ids | No | Models to monitor (default: the project's champion). | |
| project_id | Yes | The project. | |
| score_data | No | Score the period tables first (default true). | |
| data_caslib | Yes | Caslib of the period tables. | |
| data_prefix | Yes | Their common prefix. | |
| input_variables | No | Inputs to check for drift (default: the first model's inputs). | |
| monitor_champion | No | Also follow whichever model is champion later. | |
| output_variables | No | Outputs to assess (default: the event probability variable, else the model's outputs). | |
| monitor_challengers | No | Also monitor the project's challengers. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||