{{ card.label }}
+{{ card.value }}
+{{ card.caption }}
++ See whether a team is outscoring its opponents, and whether its record + reflects that. +
+Import a team-season, then reload this page:
+{{ import_command }}
+ {{ not_found_message }}
+Import it with:
+{{ import_command }}
+ + {{ games_missing }} of the {{ games_total }} stored games for + {{ selected_team.team_name }} in {{ selected_season }} have no + opponent line, so runs allowed is unknown for them. +
++ Runs allowed is not a stored column and not a separate MLB request. It + is the opponent's own runs scored in the same game, read from the + opponent's record — which a single-team import never fetches. Import + the league season to pair every game: +
+{{ league_import_command }}
+ + The hits, batting strikeouts, runs, and baserunners charts read only + this team's own rows, so they are unaffected and still work for this + team-season. +
+{{ analysis.season }} regular season
+{{ card.label }}
+{{ card.value }}
+{{ card.caption }}
++ Each bar is one completed game's margin: the runs + {{ analysis.team_name }} scored minus the runs they allowed. Bars + above the zero line are wins, bars below it are losses. A completed + MLB game cannot end tied, so every game is one or the other. The + {{ rolling_average_label|lower }} covers that game and the + {{ analysis.rolling_window - 1 }} games before it, and early-season + points use every game played so far. The dashed line is the team's + average margin across the completed games currently stored for this + season. +
++ Runs allowed is not fetched from MLB as its own statistic. It is the + opponent's runs scored in the same game, read from the opponent's + own stored record, which is why this page needs a league-wide + import while the other charts do not. +
+{{ pythagorean_note }}
++ The other charts draw a dotted MLB reference line. This one does not, + and that is not an omission: league-wide run differential is exactly + zero, because every run scored by one team is a run allowed by + another and the totals cancel. The zero line already on the chart + is the MLB average. +
++ It weights a twelve-run win the same as twelve one-run wins, which + is why a team's margin and its record can disagree. It also says + nothing about how the runs were scored or prevented — hitting, + pitching, and defense all land in the same number. +
+