# File: src/noveler/domain/services/ml_quality/__init__.py
# Purpose: ML quality optimization services module exports
# Context: Provides ML-enhanced quality evaluation services

"""
ML Quality Optimization Services.

This module provides ML-enhanced quality evaluation services including:
- MLQualityOptimizer: Orchestrator for ML-based optimization
- CorpusAnalyzer: Extract baseline metrics from similar works
- DynamicThresholdAdjuster: Auto-tune quality gate thresholds
- WeightOptimizer: Learn optimal aspect weights
- SeverityEstimator: Context-aware severity estimation

Contract: SPEC-QUALITY-140
"""

from noveler.domain.services.ml_quality.corpus_analyzer import (
    CorpusAnalyzer,
    CorpusMetrics,
    Percentiles,
    PunctuationMetrics,
    RhythmMetrics,
)
from noveler.domain.services.ml_quality.dynamic_threshold_adjuster import (
    AdjustedThresholds,
    AdjustmentPolicy,
    DynamicThresholdAdjuster,
)
from noveler.domain.services.ml_quality.ml_quality_optimizer import (
    LearningMode,
    MLQualityOptimizer,
    OptimizedQualityResult,
    ProjectContext,
)
from noveler.domain.services.ml_quality.severity_estimator import (
    SeverityEstimate,
    SeverityEstimator,
)
from noveler.domain.services.ml_quality.weight_optimizer import (
    OptimizationObjective,
    OptimizedWeights,
    WeightOptimizer,
)

__all__ = [
    "AdjustedThresholds",
    "AdjustmentPolicy",
    # Corpus analysis
    "CorpusAnalyzer",
    "CorpusMetrics",
    # Threshold adjustment
    "DynamicThresholdAdjuster",
    "LearningMode",
    # Main orchestrator
    "MLQualityOptimizer",
    "OptimizationObjective",
    "OptimizedQualityResult",
    "OptimizedWeights",
    "Percentiles",
    "ProjectContext",
    "PunctuationMetrics",
    "RhythmMetrics",
    "SeverityEstimate",
    # Severity estimation
    "SeverityEstimator",
    # Weight optimization
    "WeightOptimizer",
]
