Spaces:
Sleeping
Sleeping
Commit History
-
CockroachDB cutover + XGBoost evaluation fix + requirements cleanup
- All 6 runtime tables now CockroachDB-backed via SQLAlchemy (db.py full rewrite, remote_db.py lazy engine) - XGBoost evaluation pipeline: pd.read_sql(text(...)) read path fix + lineup_slot JOIN fix (xgb_hr_evaluation.py) - config/settings.py: removed dead DUCKDB_PATH constant - app.py: updated caption DuckDB → CockroachDB - requirements.txt: remove duckdb==1.1.2 (unused), add xgboost (required by shadow model) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>c884cb3 -
Batch 12.5D: XGBoost shadow model + evaluation pipeline + lineup_slot JOIN fix
- Add XGBoost HR/hit/TB2P models (trainer, dataset builder, shadow integration) - Add evaluation pipeline with 3-key JOIN (game_pk + batter_name + lineup_slot) - Fix lineup_slot schema in both DB tables with safe migration - Normalize lineup_slot in both logger paths for consistent JOIN - Add placeholder-odds disclaimer to Edge/ROI evaluation output - Add .gitignore excluding .claude/ and __pycache__ Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>71c16c1