ops(triage): event_kind_hint diagnostic logging cleanup (PR-4B Apply 영구 보류)
chore-memo-NULL-backfill 6/6 H1 (historical artifact) 확정 후 Apply PR 영구 보류.
406b810 의 8-line logger.info 블록 제거 (behavior 변경 0, 진단 데이터 더 이상 불필요).
backup: app/workers/classify_worker.py.pre-eventkind-cleanup (7일 안전망 ~2026-05-25)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -687,14 +687,6 @@ async def _apply_triage_result(
|
||||
# 허용 enum 외 값이면 무시 (DB enum 제약). AI worker 는 events row 직접 생성 X.
|
||||
valid_kinds = {"note", "task", "calendar_event", "activity_log", "reference"}
|
||||
hint = (triage_out.event_kind_hint or "").strip().lower() or None
|
||||
logger.info(
|
||||
"[triage] event_kind_hint id=%s raw=%r normalized=%r in_valid=%s confidence=%r",
|
||||
document_id,
|
||||
triage_out.event_kind_hint,
|
||||
hint,
|
||||
hint in valid_kinds,
|
||||
triage_out.event_kind_confidence,
|
||||
)
|
||||
if hint in valid_kinds:
|
||||
doc.ai_event_kind = hint
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user