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.
This commit is contained in:
mtayfur
2025-11-04 01:45:26 +03:00
parent 8997f71f05
commit eca65fef43

View File

@@ -54,7 +54,7 @@ class Constants:
LLM_RERANKING_TRIGGER_MULTIPLIER = 0.8 # Multiplier for LLM reranking trigger threshold LLM_RERANKING_TRIGGER_MULTIPLIER = 0.8 # Multiplier for LLM reranking trigger threshold
# Skip Detection # 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 DEDUPLICATION_SIMILARITY_THRESHOLD = 0.90 # Similarity threshold for deduplication checks
# Safety & Operations # Safety & Operations