Calibration Explorer
v0.2.0Check classifier confidence against accuracy, fit temperature scaling and save local reports.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
load_predictions
Load one explicit local CSV/JSON path or the bundled digits reference. Returns metadata only; test outcomes stay unopened. Maximum 16 loaded runs per process.
| Parameter | Type | Description |
|---|---|---|
path | string | |
reference | boolean |
assess_predictions
Measure an explicit non-test split using the recorded fit. Returns aggregates, never individual observations.
| Parameter | Type | Description |
|---|---|---|
revision * | integer | |
run * | string | |
split * | string | |
bins | integer | |
group | string | |
strategy | string |
fit_temperature
Fit temperature using calibration logits only. Changing a fit invalidates any locked policy. Test results are not returned.
| Parameter | Type | Description |
|---|---|---|
revision * | integer | |
run * | string |
set_policy
Evaluate an explicit threshold on full policy_validation, optionally locking the recorded temperature and threshold. Does not optimise thresholds.
| Parameter | Type | Description |
|---|---|---|
revision * | integer | |
run * | string | |
threshold * | number | |
lock | boolean |
review_test
Explicitly reveal test outcomes after a user decision through the client's elicitation interface. Without a lock the assessment becomes exploratory. Clients without elicitation cannot reveal test data.
| Parameter | Type | Description |
|---|---|---|
revision * | integer | |
run * | string | |
bins | integer | |
strategy | string |
create_report
Write matching HTML and JSON into a new folder under a configured output root. Optional CSV contains selected-split row IDs; optional source data contains all splits/provenance. Raw exports require client elicitation. Never overwrites.
| Parameter | Type | Description |
|---|---|---|
directory * | string | |
revision * | integer | |
run * | string | |
includeRows | boolean | |
name | string | |
predictionCsv | boolean |