record_version
Load a fitted model from .inp, compute core diagnostics, and record the version in guion.json for reproducible model iteration tracking.
Instructions
Load, fit and record a model version in guion.json.
Loads the model from inp_path, fits it, extracts stats (loglik, AIC, BIC, Q-test, JB-test, extreme residuals) and appends an entry to guion.json. Creates guion.json if it does not exist.
Parameters
inp_path : .inp file with the estimated model guion_path : path to guion.json (created if absent) name : version name, e.g. "PC3"; auto-assigned ("PC{n}") if empty decision : brief note on what this model tests or concludes rationale : justification for the parameter choices problems_found : problems detected in the diagnosis next_version : description of the next version to try
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": {
"inp_path": "<inp_path>",
"guion_path": "<guion_path>"
},
"name": "record_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| decision | No | ||
| inp_path | Yes | ||
| rationale | No | ||
| guion_path | Yes | ||
| next_version | No | ||
| problems_found | No |