Analyze classifier calibration
analyze_classifier_calibrationBuild a reliability diagram and calibration diagnostics for the Inoreader LLM classifier, binned by confidence with posterior intervals, ECE, monotonicity checks, and threshold/FNR bounds.
Instructions
Build a reliability diagram for the LLM classifier on the verified-recommended slice. Bins articles by CONFIDENCE score, computes per-bin Beta-Binomial posteriors with an empirical-Bayes prior from the marginal worth-it rate, and reports posterior mean + 95% credible interval per bin. Pool-adjacent-violators (isotonic regression, weighted by bin n) gives a monotone-smoothed curve for visualization; per-bin intervals are the source of truth for inference. Reports ECE, monotonicity violations, a threshold diagnostic (lowest-score recommend-read bin gives an upper bound on what's just below threshold by monotonicity), Manski-style FNR bounds (always identifiable), and an audit-conditional recall posterior via Monte Carlo when audit data exists. Optional per-feed and per-folder slices for multicalibration-lite. Calls extract_classifier_data internally; cost is the same as that call. Base costs exclude safe-read retries (up to 4 attempts, each counted); honor cached status/cooldown. Never blindly replay uncertain writes. See inoreader://usage for limits, URI examples and prompts.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "analyze_classifier_calibration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bins | No | Number of equal-width score bins on 0-100 (default 10). | |
| refresh | No | Forwarded to extract_classifier_data. | |
| min_bin_n | No | Bins below this n are reported as low-data (default 3). | |
| prompt_name | No | Forwarded to extract_classifier_data. | |
| breakdown_by | No | Additional slices to compute calibration on. Each slice with total n < min_bin_n is reported but flagged. | |
| prior_strength | No | Beta prior pseudo-observation count, allocated empirically from the marginal worth-it rate (default 4). Higher values shrink small-bin posteriors more aggressively toward the global mean. | |
| population_pages | No | Forwarded to extract_classifier_data. | |
| population_folder | No | Forwarded to extract_classifier_data. | |
| population_months | No | Forwarded to extract_classifier_data. | |
| decision_threshold | No | Score threshold for the diagnostic (default 50). Actual decisions are read from parsed RECOMMENDATION; this is only used to locate the diagnostic bin. | |
| include_population | No | Forwarded to extract_classifier_data. |