ConfidenceCalibrate
Aligning subjective confidence with objective frequency
Mechanism
Track Record Alignment: For claims rated 70% confident, ~70% should be true. Track predictions vs outcomes. If 90% claims are right only 60% of time, you are overconfident—widen uncertainty. If 90% claims are right 99% of time, you are underconfident—tighten. It adjusts the internal probability model using BayesUpdate on historical accuracy data, ensuring BaseRateInclude is respected.
Invariants
- Calibrates against a recorded track record of predictions and their outcomes.
- Expected calibration error stays within `calibration_target`.
- The adjusted confidence-to-frequency mapping is monotonic non-decreasing.
Parameters
- bin_count: type=Integer, range=[5, 20], description=Resolution of calibration measurement
- calibration_target: type=Float, range=[0.02, 0.15], description=Max expected calibration error, ECE
Failure modes
- Over-correction: the Agent becomes under-confident to avoid being wrong, refusing to act on strong signals.
- Thin record: calibrating across `bin_count` bins on too few predictions fits noise, not bias.
Where this came from
—
Builds on
- BaseRateInclude references
- BayesUpdate references
- Agent references
Used by
- Certaintyclap references
- UncertaintyMap references
Related
Identity
- Ref:
ConfidenceCalibrate#e357 - Hash: sema:ConfidenceCalibrate#mh:SHA-256:e3570290d420b5bf59848ccc1d269530bbb3124b2e1a4583e62dc2a901ab16ac
- Library: bootstrap 0.11.0, root a6a3d1ff0f98
- License: Not stated; check the repository