Calibration Explorer

v0.2.0
io.github.m-sanchez/calibration-explorer Checked 1 hour ago Published 1 month ago

Check 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.

ParameterTypeDescription
pathstring
referenceboolean

assess_predictions

Measure an explicit non-test split using the recorded fit. Returns aggregates, never individual observations.

ParameterTypeDescription
revision *integer
run *string
split *string
binsinteger
groupstring
strategystring

fit_temperature

Fit temperature using calibration logits only. Changing a fit invalidates any locked policy. Test results are not returned.

ParameterTypeDescription
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.

ParameterTypeDescription
revision *integer
run *string
threshold *number
lockboolean

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.

ParameterTypeDescription
revision *integer
run *string
binsinteger
strategystring

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.

ParameterTypeDescription
directory *string
revision *integer
run *string
includeRowsboolean
namestring
predictionCsvboolean