MLB/Scores/PHI at BOS
July 31, 2018 · 2018 · Regular season

01/Line score

9 innings
Runs by inning
Club123456789R
PHI0101000013
BOS0000010001
X marks a half-inning that was never played

02/Box score

16 lines
Both sides
PHILADELPHIA PHILLIES 3
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Carlos Santana1B50201010.400
Jorge AlfaroC30101010.333
Rhys Hoskins1B31100210.333
Seranthony DomínguezP30000120.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Jake Arrieta7.06107271.290.86
Seranthony Domínguez1.0001250.001.00
Tommy Hunter1.0000030.000.00
BOSTON RED SOX 1
HITTING
PlayerPOSABRHHRRBIBBSOSBAVG
Drew PomeranzP172400430.235
Andrew BenintendiLF40100011.250
Xander BogaertsSS30101000.333
Mookie BettsSS10000000.000
PITCHING
PlayerIPHERBBSOBFERAWHIP
Drew Pomeranz5.04243243.601.60
Heath Hembree1.0001240.001.00
Hector Velázquez1.0310069.003.00
Joe Kelly1.0100030.001.00
Matt Barnes1.0201360.003.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.