Monitor and control the automated ingestion pipeline
Manually trigger the data ingestion pipeline. This will fetch recent games from the provider, parse first-half stats, calculate metrics, and update the database.
Provider Layer: Modular adapter pattern allows swapping mock provider with real API (e.g., ESPN, Sportradar, NCAA).
First-Half Parsing: Extracts periods 1-2 from play-by-play or box score data, isolating early game performance.
Stat Calculations: Estimates possessions, pace, efficiency metrics, and differentials specific to first half only.
Aggregation: Season averages auto-update after each game ingestion for instant team profile queries.
Scheduling: Can be triggered via cron, webhooks, or manual admin action. Edge function ready for production deployment.