Repository navigation
v0.10.1
π Highlights
ML Detection Classifier β New DetectionClassifier combines lightweight ML models with keyword heuristics to gate expensive LLM detection calls. Temporal detection at 90.6% recall, comparison at 90.2% recall. Integrated into DetectionOrchestrator with full training pipeline.
Retrieval Quality Overhaul β Replaced asymmetric merge with proper Reciprocal Rank Fusion (k=60), removed min_relevance_score filter that was killing recall, and tuned HNSW ef_search=200 for better vector search accuracy.
SemanticMatcher Unification β Consolidated semantic classification under a single SemanticMatcher abstraction. Migrated CausalAttribution and ConflictAware detectors to use it.
π Added
- ML+keyword
DetectionClassifierwith training script and model artifacts (981b6e9,cc9b8c6) DetectionClassifierintegrated intoDetectionOrchestratorfor smart gating (2909e07,debacfa)- 32 unit tests for DetectionClassifier and orchestrator gating (
521905c) - Hybrid BM25+semantic retrieval wired into BEIR benchmark (
5fba5e3) - Widened entity graph expansion with corpus summary injection for thematic queries (
f1df503) - BEIR benchmark results and methodology docs (
ef0ec73,aedfc21) - Confirmed fiqa score for bge-m3: 0.2702 (
4a94ca1)
β‘ Performance
- Proper Reciprocal Rank Fusion (k=60) replacing asymmetric merge (
6c8f988) - Removed
min_relevance_scorefilter that was killing recall (d3ae3b0) - Set
hnsw.ef_search=200for vector search queries (c4924a9)
π Changed
- Unified semantic classification under
SemanticMatcher(0821132) - Migrated
CausalAttributionandConflictAwaretoSemanticMatcher(9c7c081) - Schema-driven feature extraction for governance classifier (
7abbcfe) - 5-fold CV for cascade classifier with safety-calibrated thresholds (
71ae026)
π§ Fixed
- Added
num_ctxsupport toOllamaEmbeddingfor context window control (65da2eb) - Updated tests for SemanticMatcher-backed constraint detection (
b94383f)