feat(F071,F068,F070): Welle 2 — Refactor-Audit, Stabilitaets-Monitor, Contract-Test-Framework @implements: [F-071] [F-068] [F-070]
This commit is contained in:
@@ -56,6 +56,7 @@ class ClassificationResult:
|
||||
llm_verified: bool = False
|
||||
"""True, wenn das Ergebnis durch LLM-Verifikation bestätigt wurde."""
|
||||
|
||||
# TODO: DEAD CODE - F071
|
||||
def is_confident(self, threshold: float = CONFIDENCE_THRESHOLDS["AUTO_ROUTE"]) -> bool:
|
||||
"""True wenn die Konfidenz über dem Schwellenwert für automatisches Routing liegt."""
|
||||
return self.confidence >= threshold
|
||||
@@ -704,6 +705,7 @@ class IntentClassifier:
|
||||
return self._initialized
|
||||
|
||||
@property
|
||||
# TODO: DEAD CODE - F071
|
||||
def init_error(self) -> Optional[str]:
|
||||
"""Error message from initialization, or None."""
|
||||
return self._init_error
|
||||
@@ -714,6 +716,7 @@ class IntentClassifier:
|
||||
return len(self._category_vectors)
|
||||
|
||||
@property
|
||||
# TODO: DEAD CODE - F071
|
||||
def cache_size(self) -> int:
|
||||
"""Number of cached message embeddings."""
|
||||
return len(self._message_cache)
|
||||
Reference in New Issue
Block a user