fix: improve confidence calibration for uncertainty quantification - #363
Conversation
|
@hardeyshorlar12 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Strict review blocker: no required CI checks are currently reported for this PR. Please run and pass the repository checks before requesting merge. |
|
@hardeyshorlar12 this PR has merge conflicts with the |
Overview
This PR adds an AI-style Confidence Calibration and Uncertainty Quantification system that calibrates confidence scores against ground-truth accuracy, adjusts predictions based on evidence quality and quantity, provides claim-level confidence granularity, applies temperature scaling and Platt scaling techniques, expresses uncertainty appropriately in user-facing responses, defers low-confidence topics to expert review, and tracks calibration metrics continuously — with a walk-forward ECE target of <0.05.
Related Issue
Changes
🎯 Confidence Calibration Engine
[MODIFY]
main.py[MODIFY]
verifier.pyVerification Results
Closes #165