From eca65fef4308f4171c22140055fa1778ba061a82 Mon Sep 17 00:00:00 2001 From: mtayfur Date: Tue, 4 Nov 2025 01:45:26 +0300 Subject: [PATCH] fix: increase SKIP_CATEGORY_MARGIN for skip category classification to 0.15 The SKIP_CATEGORY_MARGIN constant is raised from 0.10 to 0.15 to make skip category classification more selective, reducing false positives by requiring a higher margin above personal similarity. --- memory_system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memory_system.py b/memory_system.py index aebaa68..a6648c4 100644 --- a/memory_system.py +++ b/memory_system.py @@ -54,7 +54,7 @@ class Constants: LLM_RERANKING_TRIGGER_MULTIPLIER = 0.8 # Multiplier for LLM reranking trigger threshold # Skip Detection - SKIP_CATEGORY_MARGIN = 0.10 # Margin above personal similarity for skip category classification + SKIP_CATEGORY_MARGIN = 0.15 # Margin above personal similarity for skip category classification DEDUPLICATION_SIMILARITY_THRESHOLD = 0.90 # Similarity threshold for deduplication checks # Safety & Operations