MLB/Scores/PIT at PHI
April 22, 2018 · 2018 · Regular season

01/Line score

11 innings
Runs by inning
Club1234567891011R
PIT000020000002
PHI000020000013
X marks a half-inning that was never played

02/Box score

20 lines
Both sides
PITTSBURGH PIRATES 2
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Trevor WilliamsP172100570.059
Elias DíazC51212010.400
Starling MarteLF50100011.200
Adam Frazier2B10000000.000
Josh Bell1B101000001.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Trevor Williams6.01257233.001.00
Edgar Santana1.0100140.001.00
George Kontos1.0200050.002.00
Kyle Crick1.0100150.001.00
Michael Feliz1.0100340.001.00
Richard Rodríguez0.12100327.006.00
PHILADELPHIA PHILLIES 3
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Nick PivettaP222510270.227
Carlos Santana1B40000110.000
Rhys Hoskins1B40100130.250
J.P. CrawfordSS30000110.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Nick Pivetta6.15227242.841.11
Víctor Arano2.01021100.001.50
Tommy Hunter1.0000130.000.00
Yacksel Ríos1.0100150.001.00
Edubray Ramos0.2000120.000.00

The line score is derived from the play log rather than read from a stored innings table, because the play log covers 2015 onward where that table starts in 2023. The two were compared on their overlap and agree on every inning-half except the ones the stored table marks unplayed, which is the case shown as X above: when the home club leads after the top of the last inning it does not bat, and printing a zero there would say it batted and failed to score. Games before 2015 have no play log and so no line score, only the final. Batting average in the hitting table is this game alone, not the season. Earned run average and WHIP in the pitching table are likewise this appearance, which is why a one-inning reliever who allowed a run reads 9.00. Innings come from the out count rather than the stored decimal: “6.1” means six innings and one out. No venue is shown because no MLB fixture in this database carries one.