- match_for_date(d) → match_up_to(today) 로 시맨틱 변경: target_date == d 대신 target_date <= today AND outcomes 미존재 전부 후보로 - 각 후보마다 ohlcv_daily 에서 target_date 이상 today 이하 범위의 최초 거래일 행을 actual_close 로 매칭 → 주말/공휴일 자동 이월 - user_triggered 필터 제거: chronos/lgbm shadow 행도 함께 매칭됨 - prediction_outcomes.target_date 에는 실제 매칭된 거래일을 기록 - 하위 호환: match_for_date(d) 는 match_up_to(d) 별칭으로 유지 리뷰어 지적 2번 (공휴일/주말이면 target_date 일치 행이 영원히 미매칭) 해결. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
6.1 KiB
6.1 KiB