feat(scoring): composite recency decay and severity weights persisted in DB [FASE-5.1]
This commit is contained in:
@@ -72,9 +72,12 @@ class Settings(BaseSettings):
|
||||
|
||||
# ── Scoring weights (must sum to 100) ────────────────────────────
|
||||
SCORING_WEIGHT_TESTS: int = 40
|
||||
SCORING_WEIGHT_DETECTION_RULES: int = 20
|
||||
SCORING_WEIGHT_DETECTION_RULES: int = 25
|
||||
SCORING_WEIGHT_D3FEND: int = 15
|
||||
SCORING_WEIGHT_FRESHNESS: int = 15
|
||||
SCORING_WEIGHT_RECENCY: int = 10
|
||||
SCORING_WEIGHT_SEVERITY: int = 10
|
||||
# Legacy env names (mapped in scoring_config_service)
|
||||
SCORING_WEIGHT_FRESHNESS: int = 10
|
||||
SCORING_WEIGHT_PLATFORM_DIVERSITY: int = 10
|
||||
|
||||
class Config:
|
||||
|
||||
Reference in New Issue
Block a user