Skip to content

feat(ai-206): add policy-aware score calibration for AI appeal outputs#1

Open
khaadish wants to merge 1 commit into
mainfrom
feat/ai-206-score-calibration
Open

feat(ai-206): add policy-aware score calibration for AI appeal outputs#1
khaadish wants to merge 1 commit into
mainfrom
feat/ai-206-score-calibration

Conversation

@khaadish

Copy link
Copy Markdown
Owner

Summary

Separates raw model confidence from policy thresholds so fairness, review timing, and risk tolerances can be tuned without rewriting the AI pipeline.

Changes

  • ScoreCalibrationService — explicit inputs (rawScore, CalibrationPolicy) and outputs (band, action, needsHumanReview, appliedPolicy)
  • needsHumanReview=true whenever confidence < humanReviewThreshold — hard review boundary
  • biasCorrectionFactor enables fairness tuning without touching model code
  • Types exported from @devconsole/api-contracts
  • Operator reference doc at docs/ai-206-score-calibration.md

Acceptance Criteria

  • Explicit inputs/outputs, no hidden heuristics
  • All thresholds in CalibrationPolicy — measurable and safe to tune
  • needsHumanReview + appliedPolicy enable human inspection and audit replay

Closes Ibinola#423

- ScoreCalibrationService decouples raw model confidence from policy thresholds
- CalibrationPolicy exposes approveThreshold, rejectThreshold, humanReviewThreshold, biasCorrectionFactor
- needsHumanReview=true whenever confidence < humanReviewThreshold (explicit review boundary)
- appliedPolicy + rawScore preserved in every output for audit/replay
- Corresponding types exported from @devconsole/api-contracts
- Spec covers approve/escalate/reject bands, bias correction, clamping, and traceability

Closes Ibinola#423
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[AI-206] Add policy-aware score calibration for AI appeal outputs

1 participant