fix: pre-match scoring seems inverted #3

Open
opened 2026-03-30 07:27:17 -04:00 by josh · 0 comments
Owner

Penguins v Islanders definitely should not be last here. It's the most important... right?

{"final_games":[],"intermission_games":[],"live_games":[],"pre_games":[{"Away Logo":"https://assets.nhle.com/logos/nhl/svg/VAN_light.svg","Away Power Play":"","Away Record":"21-43-08","Away Score":"N/A","Away Shots":0,"Away Team":"Canucks","Game State":"PRE","Game Type":2,"Home Logo":"https://assets.nhle.com/logos/nhl/svg/VGK_light.svg","Home Power Play":"","Home Record":"32-26-16","Home Score":"N/A","Home Shots":0,"Home Team":"Golden Knights","Hype Breakdown":{"base":0,"closeness":0,"comeback":0,"importance":63,"importance_playoff_relevance":0.6,"importance_rivalry":1.4,"importance_season_weight":0.71,"matchup_bonus":0,"power_play":0,"time":0,"total":63},"Intermission":"N/A","Last Period Type":"N/A","Period":0,"Priority":63,"Start Time":"10:00 PM","Time Remaining":"20:00","Time Running":"N/A"},{"Away Logo":"https://assets.nhle.com/logos/nhl/svg/CGY_light.svg","Away Power Play":"","Away Record":"31-34-08","Away Score":"N/A","Away Shots":0,"Away Team":"Flames","Game State":"PRE","Game Type":2,"Home Logo":"https://assets.nhle.com/logos/nhl/svg/COL_light.svg","Home Power Play":"","Home Record":"48-14-10","Home Score":"N/A","Home Shots":0,"Home Team":"Avalanche","Hype Breakdown":{"base":0,"closeness":0,"comeback":0,"importance":53,"importance_playoff_relevance":0.6,"importance_rivalry":1.2,"importance_season_weight":0.695,"matchup_bonus":0,"power_play":0,"time":0,"total":53},"Intermission":"N/A","Last Period Type":"N/A","Period":0,"Priority":53,"Start Time":"8:30 PM","Time Remaining":"20:00","Time Running":"N/A"},{"Away Logo":"https://assets.nhle.com/logos/nhl/svg/STL_light.svg?season=20252026","Away Power Play":"","Away Record":"31-30-11","Away Score":"N/A","Away Shots":0,"Away Team":"Blues","Game State":"PRE","Game Type":2,"Home Logo":"https://assets.nhle.com/logos/nhl/svg/SJS_light.svg","Home Power Play":"","Home Record":"33-31-07","Home Score":"N/A","Home Shots":0,"Home Team":"Sharks","Hype Breakdown":{"base":0,"closeness":0,"comeback":0,"importance":51,"importance_playoff_relevance":0.6,"importance_rivalry":1.2,"importance_season_weight":0.666,"matchup_bonus":0,"power_play":0,"time":0,"total":51},"Intermission":"N/A","Last Period Type":"N/A","Period":0,"Priority":51,"Start Time":"10:00 PM","Time Remaining":"20:00","Time Running":"N/A"},{"Away Logo":"https://assets.nhle.com/logos/nhl/svg/TOR_light.svg","Away Power Play":"","Away Record":"31-30-13","Away Score":"N/A","Away Shots":0,"Away Team":"Maple Leafs","Game State":"PRE","Game Type":2,"Home Logo":"https://assets.nhle.com/logos/nhl/svg/ANA_light.svg","Home Power Play":"","Home Record":"41-28-04","Home Score":"N/A","Home Shots":0,"Home Team":"Ducks","Hype Breakdown":{"base":0,"closeness":0,"comeback":0,"importance":46,"importance_playoff_relevance":0.6,"importance_rivalry":1.0,"importance_season_weight":0.725,"matchup_bonus":0,"power_play":0,"time":0,"total":46},"Intermission":"N/A","Last Period Type":"N/A","Period":0,"Priority":46,"Start Time":"10:00 PM","Time Remaining":"20:00","Time Running":"N/A"},{"Away Logo":"https://assets.nhle.com/logos/nhl/svg/PIT_light.svg","Away Power Play":"","Away Record":"36-21-16","Away Score":"N/A","Away Shots":0,"Away Team":"Penguins","Game State":"PRE","Game Type":2,"Home Logo":"https://assets.nhle.com/logos/nhl/svg/NYI_light.svg","Home Power Play":"","Home Record":"42-27-05","Home Score":"N/A","Home Shots":0,"Home Team":"Islanders","Hype Breakdown":{"base":0,"closeness":0,"comeback":0,"importance":16,"importance_playoff_relevance":0.15,"importance_rivalry":1.4,"importance_season_weight":0.725,"matchup_bonus":0,"power_play":0,"time":0,"total":16},"Intermission":"N/A","Last Period Type":"N/A","Period":0,"Priority":16,"Start Time":"7:00 PM","Time Remaining":"20:00","Time Running":"N/A"}]}
Penguins v Islanders definitely should not be last here. It's the most important... right? ```json {"final_games":[],"intermission_games":[],"live_games":[],"pre_games":[{"Away Logo":"https://assets.nhle.com/logos/nhl/svg/VAN_light.svg","Away Power Play":"","Away Record":"21-43-08","Away Score":"N/A","Away Shots":0,"Away Team":"Canucks","Game State":"PRE","Game Type":2,"Home Logo":"https://assets.nhle.com/logos/nhl/svg/VGK_light.svg","Home Power Play":"","Home Record":"32-26-16","Home Score":"N/A","Home Shots":0,"Home Team":"Golden Knights","Hype Breakdown":{"base":0,"closeness":0,"comeback":0,"importance":63,"importance_playoff_relevance":0.6,"importance_rivalry":1.4,"importance_season_weight":0.71,"matchup_bonus":0,"power_play":0,"time":0,"total":63},"Intermission":"N/A","Last Period Type":"N/A","Period":0,"Priority":63,"Start Time":"10:00 PM","Time Remaining":"20:00","Time Running":"N/A"},{"Away Logo":"https://assets.nhle.com/logos/nhl/svg/CGY_light.svg","Away Power Play":"","Away Record":"31-34-08","Away Score":"N/A","Away Shots":0,"Away Team":"Flames","Game State":"PRE","Game Type":2,"Home Logo":"https://assets.nhle.com/logos/nhl/svg/COL_light.svg","Home Power Play":"","Home Record":"48-14-10","Home Score":"N/A","Home Shots":0,"Home Team":"Avalanche","Hype Breakdown":{"base":0,"closeness":0,"comeback":0,"importance":53,"importance_playoff_relevance":0.6,"importance_rivalry":1.2,"importance_season_weight":0.695,"matchup_bonus":0,"power_play":0,"time":0,"total":53},"Intermission":"N/A","Last Period Type":"N/A","Period":0,"Priority":53,"Start Time":"8:30 PM","Time Remaining":"20:00","Time Running":"N/A"},{"Away Logo":"https://assets.nhle.com/logos/nhl/svg/STL_light.svg?season=20252026","Away Power Play":"","Away Record":"31-30-11","Away Score":"N/A","Away Shots":0,"Away Team":"Blues","Game State":"PRE","Game Type":2,"Home Logo":"https://assets.nhle.com/logos/nhl/svg/SJS_light.svg","Home Power Play":"","Home Record":"33-31-07","Home Score":"N/A","Home Shots":0,"Home Team":"Sharks","Hype Breakdown":{"base":0,"closeness":0,"comeback":0,"importance":51,"importance_playoff_relevance":0.6,"importance_rivalry":1.2,"importance_season_weight":0.666,"matchup_bonus":0,"power_play":0,"time":0,"total":51},"Intermission":"N/A","Last Period Type":"N/A","Period":0,"Priority":51,"Start Time":"10:00 PM","Time Remaining":"20:00","Time Running":"N/A"},{"Away Logo":"https://assets.nhle.com/logos/nhl/svg/TOR_light.svg","Away Power Play":"","Away Record":"31-30-13","Away Score":"N/A","Away Shots":0,"Away Team":"Maple Leafs","Game State":"PRE","Game Type":2,"Home Logo":"https://assets.nhle.com/logos/nhl/svg/ANA_light.svg","Home Power Play":"","Home Record":"41-28-04","Home Score":"N/A","Home Shots":0,"Home Team":"Ducks","Hype Breakdown":{"base":0,"closeness":0,"comeback":0,"importance":46,"importance_playoff_relevance":0.6,"importance_rivalry":1.0,"importance_season_weight":0.725,"matchup_bonus":0,"power_play":0,"time":0,"total":46},"Intermission":"N/A","Last Period Type":"N/A","Period":0,"Priority":46,"Start Time":"10:00 PM","Time Remaining":"20:00","Time Running":"N/A"},{"Away Logo":"https://assets.nhle.com/logos/nhl/svg/PIT_light.svg","Away Power Play":"","Away Record":"36-21-16","Away Score":"N/A","Away Shots":0,"Away Team":"Penguins","Game State":"PRE","Game Type":2,"Home Logo":"https://assets.nhle.com/logos/nhl/svg/NYI_light.svg","Home Power Play":"","Home Record":"42-27-05","Home Score":"N/A","Home Shots":0,"Home Team":"Islanders","Hype Breakdown":{"base":0,"closeness":0,"comeback":0,"importance":16,"importance_playoff_relevance":0.15,"importance_rivalry":1.4,"importance_season_weight":0.725,"matchup_bonus":0,"power_play":0,"time":0,"total":16},"Intermission":"N/A","Last Period Type":"N/A","Period":0,"Priority":16,"Start Time":"7:00 PM","Time Remaining":"20:00","Time Running":"N/A"}]} ```
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: josh/NHL-Scoreboard#3