fix(bot-detector): FEATURES_BASE → FEATURES import name mismatch

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
toto
2026-04-09 22:42:32 +02:00
parent 1fa6aec784
commit de6d8da931

View File

@ -14,7 +14,7 @@ from .config import (
)
from .log import log_info, log_decision
from .infra import get_client, set_healthy
from .preprocessing import preprocess_df, FEATURES_BASE, FEATURES_COMPLET
from .preprocessing import preprocess_df, FEATURES, FEATURES_COMPLET
from .pipeline import run_semi_supervised_logic
@ -238,7 +238,7 @@ def fetch_and_analyze():
})
# ── Features par modèle (voir DOCUMENTATION.md §4) ───────────────────────
feats = FEATURES_BASE
feats = FEATURES
feats_complet = FEATURES_COMPLET
# ── Analyse fenêtre 1h ────────────────────────────────────────────────────