Matchup Engine

Pitcher vs. batter analysis with park and weather context

mock
live
06/01/26

TODO: Paste your existing MatchupEngine logic here

Wire MatchupSelector to analyticsService.fetchMatchup(pitcherId, batterId) and propagate result to split panels below.

NYY·RHP·ERA 3.12
LAD·RHB·AVG .301

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.

Matchup Score62/ 100
Pitcher Advantage

Gerrit Cole

NYY · RHP · Starting Pitcher

RHP
ERA3.12
FIP2.98
WHIP1.08
K/911.4
BB/92.1
SwStr%14.2%
GB%38.1%
HR/90.9

Manny Ramirez Jr.

LAD · RHB · Platoon splits vs RHP

RHB

Spray chart placeholder

TODO: Render real spray chart here

AVG vs RHP.288
OBP vs RHP.361
SLG vs RHP.498
wOBA vs RHP.368
K% vs RHP24.1%
BB% vs RHP11.3%
ISO vs RHP.210
Barrel%13.1%

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 Alert
Temp
74°F
Wind
14 mphOut to LF
Humidity
58%
Visibility
10 mi

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

Natural Grass·Open
Run108▲ Hitter
HR121▲ Hitter
Hit103— Neutral
K97— Neutral
BB101— Neutral

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.