kcg-ai-monitoring/prediction/models
htlee dac4a3bda2 fix(prediction): features JSONB 중첩 구조 sanitize
AnalysisResult.to_db_tuple이 기존에 features dict 값을 모두 float로
변환했는데, dark_suspicion 구조를 넣으면서 dark_patterns(list) 등
비스칼라 타입이 포함되어 upsert 실패 (float argument not a list).

_sanitize 재귀 함수로 JSON 호환 타입(str/int/float/bool/list/dict/None)을
그대로 보존하도록 변경.
2026-04-09 07:56:04 +09:00
..
__init__.py feat: S2 prediction 분석 엔진 모노레포 이식 2026-04-07 12:56:51 +09:00
ais.py feat: S2 prediction 분석 엔진 모노레포 이식 2026-04-07 12:56:51 +09:00
result.py fix(prediction): features JSONB 중첩 구조 sanitize 2026-04-09 07:56:04 +09:00