From 3fb07e201f2bb33e0740fca67786ce247cc306af Mon Sep 17 00:00:00 2001 From: Benjamin Admin Date: Thu, 26 Mar 2026 11:13:37 +0100 Subject: [PATCH] fix: V1 Enrichment Threshold auf 0.70 gesenkt (typische Top-Scores 0.70-0.77) Co-Authored-By: Claude Opus 4.6 --- backend-compliance/compliance/services/v1_enrichment.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend-compliance/compliance/services/v1_enrichment.py b/backend-compliance/compliance/services/v1_enrichment.py index 9223a0b..b444b33 100644 --- a/backend-compliance/compliance/services/v1_enrichment.py +++ b/backend-compliance/compliance/services/v1_enrichment.py @@ -20,7 +20,8 @@ from compliance.services.control_dedup import ( logger = logging.getLogger(__name__) # Similarity threshold — lower than dedup (0.85) since we want informational matches -V1_MATCH_THRESHOLD = 0.75 +# Typical top scores for v1 controls are 0.70-0.77 +V1_MATCH_THRESHOLD = 0.70 V1_MAX_MATCHES = 5