kcg-monitoring/prediction/db
htlee 2534c9dbca fix: time_bucket 수집 안전 윈도우 도입 — incremental fetch 데이터 누락 방지
snpdb 5분 버킷 데이터가 적재 완료까지 ~12분 소요되는데,
기존 fetch_incremental이 상한 없이 미완성 버킷을 수집하여
_last_bucket이 조기 전진 → 뒤늦게 완성된 행 영구 누락.

- time_bucket.py 신규: safe_bucket(12분 지연) + backfill(3 bucket)
- snpdb.py: fetch_all_tracks/fetch_incremental에 safe 상한 + 백필 하한
- vessel_store.py: merge_incremental sort+keep='last', evict_stale time_bucket 우선
- config.py: SNPDB_SAFE_DELAY_MIN=12, SNPDB_BACKFILL_BUCKETS=3

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 15:11:20 +09:00
..
__init__.py feat: Python 어선 분류기 + 배포 설정 + 백엔드 모니터링 프록시 2026-03-20 12:10:21 +09:00
kcgdb.py feat: 어구 그룹 1h/6h 듀얼 폴리곤 + 리플레이 컨트롤러 개선 2026-04-01 11:52:38 +09:00
partition_manager.py feat: 어구 연관성 멀티모델 패턴 추적 시스템 (Phase 1 Core) 2026-03-30 10:36:43 +09:00
snpdb.py fix: time_bucket 수집 안전 윈도우 도입 — incremental fetch 데이터 누락 방지 2026-04-03 15:11:20 +09:00