- kcgdb.get_conn()을 with문 없이 사용 → cursor 에러 - with kcgdb.get_conn() as conn: 으로 수정 - 디버그 로그 추가 (rows 수, track 매칭 수, vessel_store 크기) - 결과: 47 vessels, 47 with track data (25567#1 그룹) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| algorithms | ||
| cache | ||
| chat | ||
| data | ||
| db | ||
| models | ||
| pipeline | ||
| scripts | ||
| config.py | ||
| env.example | ||
| fleet_tracker.py | ||
| main.py | ||
| README.md | ||
| requirements.txt | ||
| scheduler.py | ||
KCG Prediction Service
FastAPI 기반 예측 서비스 (향후 구현 예정)
실행
cd prediction
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
uvicorn main:app --reload --port 8000
엔드포인트
GET /health- 헬스 체크