"""Confidence feature pipeline for Intelligence Pipeline v3.

Provides calibrated extraction confidence from specialist scores,
symbol resolution, evidence validation, schema completeness,
model agreement, and historical calibration data. Replaces
generative model self-reported confidence with empirically
calibrated probabilities.
"""

from services.intelligence_pipeline_v3.confidence.artifacts import (
    load_artifact,
    save_artifact,
)
from services.intelligence_pipeline_v3.confidence.calibrator import ConfidenceCalibrator
from services.intelligence_pipeline_v3.confidence.defaults import get_default_confidence
from services.intelligence_pipeline_v3.confidence.features import ConfidenceFeatureExtractor
from services.intelligence_pipeline_v3.confidence.models import (
    CalibrationArtifactMetadata,
    ConfidenceFeatures,
    ConfidenceResult,
)

__all__ = [
    "CalibrationArtifactMetadata",
    "ConfidenceCalibrator",
    "ConfidenceFeatureExtractor",
    "ConfidenceFeatures",
    "ConfidenceResult",
    "get_default_confidence",
    "load_artifact",
    "save_artifact",
]
