1265c233054907c1ad13633c5eb1a4bbf823619d
Three Layer-2 prerequisites, each one free call. HANDEDNESS — statsapi /sports/1/players carries batSide, pitchHand AND primaryPosition for every player: 1,316/1,316 in the live probe. Batter handedness was 100% absent, which made every platoon or switch-flavour archetype unbuildable; it is now populated from the same call that gives pitchers theirs, with statsapi as the authority and the movement feed as the fallback. ROLE — statsapi season pitching with playerPool=ALL returns 751 rows (the default returns only the ~57 qualified). Real usage: gamesStarted, gamesPitched, gamesFinished, saves, holds. roleDetail derives starter/closer/setup/reliever from that instead of the season-IP proxy, which drifts all year as innings accumulate and left 32 pitchers in a 60-80 IP trough. VELO — recovered from 53% to 99% (721/729 pitchers). The movement feed carries only each pitcher's PRIMARY pitch, so matching by position could never do better than one pitch each. The wide pitch-arsenals feed has one column per pitch type, matched BY TYPE: Skubal now has velo on all 5 of his pitches. Velo archetypes are therefore buildable rather than shelved. Migration 032 applied. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VCNgGSt5qvcLxaeQqa7Zpj
Description
No description provided
Languages
JavaScript
63.2%
TypeScript
16.7%
HTML
13.4%
Python
5.3%
CSS
0.7%
Other
0.6%