Matchup Engine
Pitcher vs. batter analysis with park and weather context
TODO: Paste your existing MatchupEngine logic here
Wire MatchupSelector to analyticsService.fetchMatchup(pitcherId, batterId) and propagate result to split panels below.
TODO: Paste your existing MatchupEngine SplitPanel logic here
Replace mockPitcher and mockBatter with real data from analyticsService.fetchMatchup(). Advantage score should come from your matchup scoring algorithm.
Gerrit Cole
NYY · RHP · Starting Pitcher
Manny Ramirez Jr.
LAD · RHB · Platoon splits vs RHP
Spray chart placeholder
TODO: Render real spray chart here
TODO: Paste your existing MatchupEngine WeatherStrip logic here
Fetch real weather via analyticsService.fetchWeatherAndPark(venue). Park factors come from your park factors endpoint.
Yankee Stadium
Bronx, NY
Wind blowing 14 mph Out to LF — elevated HR environment. Adjust fly ball props accordingly.
Park Factors
Yankee Stadium · LF 318 · CF 408 · RF 314
Park factors indexed to 100 (neutral). Values above 100 favor hitters, below 100 favor pitchers. HR factor of 121 at Yankee Stadium significantly elevates HR prop value.