Convert a single boxscore player's stats into the PlayerGameLogEntryShape
that adapters consume. NHL-only today.
Discriminator: presence of SV or SV% in the stats map = goalie.
Skater blocks ship G / A / S; goalie blocks ship SV / SV% /
GA. The two label sets don't overlap on the load-bearing keys, so
detection is cheap and reliable.
Field mapping mirrors the NHL gamelog parser branch — see
stat-adapters/nhl.ts for the full skater/goalie field-mapping
contract that adapters depend on.
Convert a single boxscore player's stats into the PlayerGameLogEntryShape that adapters consume. NHL-only today.
Discriminator: presence of
SVorSV%in the stats map = goalie. Skater blocks shipG/A/S; goalie blocks shipSV/SV%/GA. The two label sets don't overlap on the load-bearing keys, so detection is cheap and reliable.Field mapping mirrors the NHL gamelog parser branch — see stat-adapters/nhl.ts for the full skater/goalie field-mapping contract that adapters depend on.