Changelog archive
Releases before 0.2.0. The newest are on the Changelog.
0.2.0b1 Release: October 26, 2026
Highlights
0.2.0b1 is the beta of 0.2.0, the first release since 0.1.4 (0.1.5 was never published; its changes are folded
in here). Install it with pip install --pre sportsdataverse; the 0.2.0 migration guide
covers the sixteen breaking changes.
- Failed fetches raise.
AssetFetchError(the fetch failed),NoDataError(nothing there) andValueError(a bad request) replace empty frames across ESPN, stats.nba.com, the generated flat APIs and HockeyTech. - polars 2 and Int64 ids. polars
>=2.0,<3is required, and parser id columns are Int64 at the boundary. - A reorganised package. Side leagues and EuroLeague live under
sportsdataverse.basketball, cross-sport providers undersportsdataverse.providers, and the analytics helpers undersportsdataverse.analytics; the old import paths warn and keep working until 0.4.0. The G League gains its ownnbagl_stats_*wrappers. - New sources. The PFF Developer API, Formula 1, EuroLeague, 24 international basketball and 12 European hockey families, kloppy soccer event data with SPADL and Expected Threat, Polymarket and Kalshi.
- A rebuilt docs site. Pages titled by league name, returns tables in polars types, grouped leagues on the home
page, new sdvplot charts in the tutorials, and an MCP docs server (
sportsdataverse[mcp]).
Breaking changes
- 247Sports site pages:
primary_color,jerseyandpostal_codeare String (were Int64 when every value was digits, so event"000000"was0); a (0, 0)latitude/longitudepair, 247's no-location sentinel, is null. (#928) build_nfl_seasoncache:PIPELINE_VERSIONis 2, so per-game frames cached earlier (String*_player_id, Int32pos_team) are rebuilt instead of concatenated with the new Int64 ones, wherediagonal_relaxedwould turn those columns back into String. (#981)fox_nfl_pbp/fox_cfb_pbp:play_teamis now the club code of the drive group the play is filed under (e.g."NYG"); it held the name of the player Fox credits the play to, which moves to the newplay_playercolumn. (#922)ncaa_{mbb,wbb}_play_by_play/ncaa_{mbb,wbb}_box_scoresraiseAssetFetchErrorwhen a fetch fails (a ban, an exhausted pool, an uncleared challenge) instead of dropping that game, which made a ban read as a smaller season;errors="skip"keeps going and adds ascrape_statuscolumn with one row per dropped game saying why. (#924)nfl.update_config(cache_mode=...)raisesValueErrorfor a mode other than"memory","filesystem"or"off"(an unknown mode used to switch caching off silently). (#899)nfl_players_crosswalk()raisesAssetFetchErrorwhen the nflverse players master cannot be fetched; it used to return a zero-row frame ("never a raise"), which nulled every id in a join. An absent asset still gives zero rows, and a failed DynastyProcess load now warns (yahoo/cbs ids null). (#899)nhl_player_props/pwhl_player_props:game_idandplayer_idareInt64(were Utf8), so the props join the NHL parser / EDGE and HockeyTech frames onplayer_id; compare them to ints (player_id == 8478402). (#986)- Bart Torvik:
torvik_player_stats()/parse_torvik_player_stats()returnnumberas String (was Int64); the 8"00"jerseys of 2025 no longer merge into the 2910rows. (#928) - Basketball-Reference:
bref_team_roster()returnsnumberas String (was Float64), so Robert Parish's"00"is no longer0.0; any other zero-padded column also stays String. (#928) - ESPN game rosters:
espn_<lg>_game_rosters(raw=True)(mbb, wbb, nba, wnba, nfl, nhl, cfb) returns the Core v2 competitors payload (a dict);raw=was accepted and ignored, so it returned the parsed frame. (#878) - ESPN hand-written families:
espn_<lg>_schedule(id,game_id,*_id,home_/away_id,*_venue_id,*_conference_id,groups_id;game_idwas Int32),espn_<lg>_teams(team_id) andespn_<lg>_game_rosters(every*_id;team_id/game_id/position_idwere Int32) areInt64. (#981) - ESPN parsers: every
id/*_idcolumn from_common_espn_parsers(theespn_<lg>_<short>wrappers) isInt64, where it was String, or Float64 when the pandas hop met a missing value, soparse_fpijoinsparse_weekly_powerindex;now_id("1-44686270") is not an integer and stays String. (#981) - ESPN parsers: not yet in this release are the soccer leagues'
scoreboard,standings,summary,teams_siteandteam_rosterand the cricket leagues'scoreboard,standingsandsummarywrappers, whose parsers do not cast: their ids stay String; those leagues' other wrappers (news,injuries, ...) areInt64. (#981) - ESPN schedules: the six copies that sent
seasonTypenow sendseasontype. ESPN ignored the camelCase key, soseason_type=withdates=YYYY&week=N(NFL, NHL, WNBA, NBA, MBB, WBB) never filtered; it does now, and those calls return different rows. (#855) - ESPN snapshots / content / crosswalks:
espn_injuries_snapshot/espn_depthcharts_snapshotids, theparse_espn_contentidandncaa_espn_team_crosswalkespn_team_id/espn_conference_idareInt64(were Utf8);load_{nba,wnba,mbb,wbb}_{team,player,schedule}_crosswalkcast theirespn_*ids toInt64. (#981) - ESPN snapshots: the injuries / depth-chart snapshots read an id that is not an integer (text,
"007") as null with aSchemaDriftWarningnaming the field. (#981) - ESPN, pandas output: with
return_as_pandas=Truethe same ids are pandas' nullableInt64(wasobject, orfloat64such as150.0where a value was missing); the Arrow-backedparse_fpi,parse_weekly_powerindexand the generatedload_*_crosswalkloaders carry them asint64[pyarrow]. (#981) - ESPN:
espn_<league>_leaders()drops its one-row envelope columns (pagination_*,league_*,current_season_*, theathletes/glossary/categoriescells) for one row per athlete; leagues without a leaderboard give zero rows. Page counts and ESPN's per-stat ranks stay inreturn_parsed=False. (#1018) - HockeyTech: game-summary
home_team_id/away_team_id/game_season_idare null, not"", when unavailable; pandas output carries nullableInt64(wasfloat64such as1.0, orstr); a non-integer id stays String and warnsSchemaDriftWarning. (#988) - HockeyTech: the PWHL and 19-league parsers,
<lg>_pbp, schedules, rosters, leaders and summaries emit everyid/*_idasInt64(player_idwas Float64 in pbp,team_id/game_idString or the caller's dtype). (#988) - KenPom: the jersey column is String on every page and renamed to
jersey:team/team_players_expandedplayer_table*column_0->jersey(was Float64) andboxtable_*column_0_rk->jersey(was Int64). A season of pages stacks without a String / Float64 clash, and no jersey reads"2.0". (#928) - NBA / WNBA / MBB / WBB pbp:
espn_<lg>_pbpkeepscoordinate.x/coordinate.ybut changes their meaning: they were ESPN's raw feet (hoop at (25, 0)) and are now the hoopR / wehoop full-court frame (x = y - 41.75,y = x - 25, both negated on home-team plays), always Float64. (#844) - NBA / WNBA / MBB / WBB pbp: ESPN's missing-location sentinel reads about +-2.1e8 after the transform; filter on
coordinate_x_raw > nba_game_page.COORD_SENTINEL. The release converters (helper_<lg>_play_by_play) rebuild from the raw pair, so a processed payload converts once. (#844) - NBA / WNBA / MBB / WBB pbp: ESPN's values move to the new
coordinate.x.raw/coordinate.y.raw(coordinate_x_raw/coordinate_y_rawsnake-cased); on the NBA / WNBA free throws hoopR / wehoop's "Free Throw" match finds, the raw pair holds the pinned (25, 13.75), as in the published files. (#844) - NFL processor:
NFLPlayProcess's*_player_idcolumns (String) andpos_team,lag_pos_team,lead_pos_team,lead_pos_team2,start.pos_team.id(Int32) areInt64, as in the CFB processor; a source whose ids are not integers (NFL.com gsis"00-0034796") keeps them String. (#981) - NFL, CFB: processed plays keep their documented Float64 for the EP/WP family,
first_down_prob,prob_2ptanddrive_start(they were Float32 when a model scored), with no value change, and NFLteamParticipantshas one struct field order;create_box_score(plays_frame)still reproducesadvBoxScoreexactly. (#797) - NFL:
sportsdataverse.nfl.model_vars.qbr_varsis in the QBR trainer's order (qbr_epa,pass_epa,rush_epa,sack_epa,pen_epa,spread), andnfl/models/qbr_model.ubjis re-saved with those feature names (same trees), so a frame in the old column order raises instead of scoring permuted inputs. (#795) - NFL: the season flips on the Wednesday after Labor Day and week 1 starts the Thursday after (nflreadr's rules;
week read one high in 2015-16, 2020-22, 2026-27).
most_recent_nfl_seasonandget_current_weekshare that rule, so from September 1 to that Wednesday they give the previous season (week 22), not the new one. (#791) - NHL API parsers:
parse_nhl_web_*,parse_nhl_records,parse_nhl_stats_rest,parse_nhl_edge_*andnhl_edge_skating_valueemit everyid/*_idasInt64(was Float64 / String by payload,player_ida Utf8 pin); stats-restformatted_season_idand the countryidare text and stay String. (#986) - NHL API parsers: pandas output carries the ids as nullable
Int64(wasfloat64/object); any other id that is not an integer keeps its column String and warnsSchemaDriftWarningnaming it, as the ESPN parsers do. (#986) - polars 2 required. The runtime pin is now
polars>=2.0,<3(conda recipe mirrored); polars 1.x is no longer supported, so code may use 2.x-only API such as thebin_*replacements forcut/qcut. The lock already resolved polars 2.0 on every supported Python, so nothing tested 1.x. (#776) - Producers, RDS:
pyreadr.write_rdscannot write pandas' nullableInt64with a missing value. For that write only, cast id columns to nullableInt32when every id fits in 32 bits (df[id_cols].astype("Int32"): R integer,NAkept), else tofloat64(R double); the parquet and the frame stay Int64. (#981) - Producers, RDS:
sportsdataverse._rds.write_rdswrites nullable Int64 as R integer, but only for a flat frame: it raisesValueErroron a nested column, which every ESPN schedule frame has (List(Struct)linescores, records, highlights). (#981) - Producers: before the first post-upgrade run, cast stored ids once (
pl.col(c).cast(pl.Int64)) or rebuild every season; otherwisepd.concat/to_parquetfails on a mixed column, andpl.concat(how="diagonal_relaxed")silently turns the ids back into String. (#981) - Producers: move stored and republished ids to
Int64now, not back to String, and rewrite the stored history in one pass so every season of a release carries the same integer ids. Update (or pin to a pre-release commit) every producer that writes these frames first, then upgrade to this release. (#981) - Producers: that covers the snapshot histories, the ESPN schedule season masters, and the PWHL schedule master and
per-game final JSON, whose seasons mix text (
"1") and integer (1) ids until the JSON is reprocessed. (#981) - PWHL:
pwhl_player_box(game_id)returns{"skaters": DataFrame, "goalies": DataFrame}, as fastRhockey'spwhl_player_boxdoes and as thefastRhockey-pwhl-rawproducer reads it. It used to return a single (always empty) DataFrame. (#851) - R packages: releases rebuilt from these parsers (the ESPN schedule seasons of the hoopR / wehoop raw repos, the PWHL schedule and pbp releases) carry integer ids that hoopR, wehoop and fastRhockey document as character in places; republish every season in the same pass and update the R documentation to match. (#981)
- Release loaders: Int32 ids (
team_idin those rosters,load_pwhl_rosters,load_pwhl_xg_pbp) join Int64 ones as they are. Code that relied on String ids can cast back withpl.col("team_id").cast(pl.String)(pandas:.astype("string")); anInt64id stringifies as"123", never"123.0". (#981) - Release loaders: String ids also remain in
load_{mbb,nba,wbb,wnba}_rosters(athlete_id,position_id,status_id) andload_{mbb,nba,wnba}_game_rosters(game_id); joining one to live parser output raisesSchemaError, so cast first:release.with_columns(pl.col("game_id").cast(pl.Int64)). (#981) - Release loaders: they keep their published dtypes, so String ids remain in
load_pwhl_schedules(game_id,home_team_id,away_team_id),load_pwhl_pbp(team_id,player_team_id,home_team_id,away_team_id,game_season_id) and the PWHL box scores'player_id. (#981) - Spring football EP/WP:
build_spring_football_pbp(..., league="cfl")andenrich_spring_football_pbp(..., league="cfl")raiseValueError; they scored CFL plays (110-yard field, three downs) with the NFL boosters, whose support isyardline_1001-99.get_sf_constants("cfl")still returns the CFL rule constants. (#1010) - stats.ncaa.org fetch layer: a real 404 raises
NoDataErrorafter one request; a banned or exhausted proxy pool, an uncleared bm-verify challenge or the Terms gate raisesAssetFetchErrornaming which. Both wereRuntimeError; catchAssetFetchErrorinstead (a missing proxy configuration is stillRuntimeError). (#920) - Errors: a failed fetch in generated flat-API wrappers (
espn_*,fox_api_*,cbs_*,mlb_api_*, NHL,asa_*) and other getters (mlb_statcast_*,torvik_*,kenpom_*,on3_*,yahoo_*,nfl_api_*, ...) raisesAssetFetchError(400 / 422:ValueError), never "no data". - ESPN (cross-league): the hand-written scrapers (
espn_<league>_schedule/_teams/_pbp,espn_*_player_stats,bref_*,build_nfl_players, ...) raiseAssetFetchErroron a failed fetch andValueErroron 400 / 422 instead of parsing the error body as data. - HockeyTech: season names read as their end year, so
season=can pick another season (WHL / KIJHLseason=2026is now 2025-26); one-year preseasons answer to the next year, exhibitions aregame_type="exhibition", the default is the newest regular season, andseason_yrisInt64. - HockeyTech:
hockeytech_api(PWHL and the 19 other leagues) raisesAssetFetchErroron a failed fetch or HTTP-200 error sentinel andNoDataErroron a 404 instead of returning an empty frame, as do season-defaulting wrappers whose seasons lookup fails. - MLB:
mlb_statcast_search/_search_minors/_search_wbcpin the 14 MLBAM id columns to nullableInt64:on_1b/on_2b/on_3bwere Float64 (660271.0), and pandas output fromparse_mlb_statcast_searchgives nullableInt64instead of numpyint64. - NBA / WNBA:
nba_stats_*/wnba_stats_*raiseAssetFetchErrorinstead of returning{}(404:NoDataError, 400 / 422:ValueError);nba_live_*/nba_l2m*/nba_referee_assignmentsnow raiseValueErroron 400 / 422;wnba_on_court/wnba_possessionsraise on a failed rotation fetch. - NBA / WNBA:
nba_stats_*/wnba_stats_*season arguments default to the latest season with rows and each league's own default ids, so endpoints that summed every season (drafthistory,leaguegamefinder,playergamestreakfinder, ...) return one season. - NFL: the 11 per-type loaders deprecated since 0.0.68 (
load_nfl_ngs_passing/_rushing/_receivingand eightload_nfl_pfr_*per-type and weekly variants) are removed, with theirsportsdataverse.parsed.nflaliases. - NFL: fantasy-football id columns are
Utf8(wereInt64):load_nfl_ff_playerids(mfl_id,fantasypros_id,pff_id,nfl_id, ...),load_nfl_ff_rankings(kind="draft")idandkind="week"fantasypros_id; zero-padded ids such as"0156"keep their padding. - Soccer / EuroLeague: the ASA, FIFA, FotMob, UEFA, MLS, NWSL and EuroLeague frames keep
nullable types: a nullable boolean is
Boolean(was a string with"nan"), a nullable integer isInt64(wasFloat64), and an all-null column isUtf8.
Upgrade notes —
-
Errors: catch
AssetFetchErrorwhere a loop must keep going;except NoDataErrorkeeps skipping absent resources;except SportsDataverseErrorcatches both, timeouts included; aValueErrormeans the call itself needs fixing.EmptyResponseWarningnow fires only for a 2xx with an empty object. Code that caughtrequests.HTTPErrorfromnfl_api_*or readexc.responsemust catch the new types (read the status from the message). HockeyTech wrappers that default the season raise when the seasons lookup fails; passseason_id=to skip it:import sportsdataverse as sdvfrom sportsdataverse.errors import AssetFetchError, NoDataErrortry:df = sdv.ahl_schedule()except NoDataError:df = None # the fetch worked and there is nothing there: skip itexcept AssetFetchError:raise # the fetch failed: retry later, never record it as empty -
HockeyTech seasons: a caller who passed the start year to get a season should pass the end year; preseasons answer to the next year (
resolve_season_id("ohl", season=2027, game_type="preseason")is the "2026 Pre-season"); passseason_id=where divisions listed side by side for one year are not told apart (e.g. BCHL 2024). -
nba_stats / wnba_stats: pass
seasonexplicitly for a lockout or pandemic calendar; for every season pass an empty one (season_year_nullable=""fordrafthistory,season_nullable=""forleaguegamefinder/playergamestreakfinder). -
NFL loaders: replace
load_nfl_ngs_passing,load_nfl_ngs_rushingandload_nfl_ngs_receivingwithload_nfl_nextgen_stats(seasons, stat_type=...), andload_nfl_pfr_pass,load_nfl_pfr_weekly_pass,load_nfl_pfr_rush,load_nfl_pfr_weekly_rush,load_nfl_pfr_rec,load_nfl_pfr_weekly_rec,load_nfl_pfr_defandload_nfl_pfr_weekly_defwithload_nfl_pfr_advstats(seasons, stat_type=..., summary_level=...). -
NFL fantasy ids: code that joined or compared these ids as integers should cast its own side to
pl.Utf8; callsportsdataverse.nfl.clear_cache()after upgrading, since cached frames keep their old dtypes (above all withcache_mode="filesystem").
Added
fox_nfl_pbp/fox_cfb_pbp: newplay_playercolumn, the player Fox credits the play to. (#922)- Basketball crosswalks:
_crosswalk_alt.with_alt_game_legs()/fill_game_legs()fill a schedule crosswalk's null Fox game and team ids (and a null Yahoo game id) from the parsed*-alt-datahistory; on the NBA crosswalks that is 1,260 of 1,379 games for 2002. The rest are preseason and All-Star games, which Fox does not list. (#825) - Basketball crosswalks:
genius_game_crosswalk,genius_team_crosswalk,ibba_segev_game_crosswalkandpleague_team_crosswalk(exported from the genius, ibba and plg homes) map provider ids onto the Genius, Segev and Preciser ids by shared keys, never by name. (#862) - Basketball crosswalks: the Fox and Yahoo legs are opt-in and fail-soft: any Fox or Yahoo failure logs a warning and leaves the columns null. (#793)
- Basketball: each minted function takes an END-year
season;comp=(FIBA),comp_id=(Genius) orseason_id=/competition_id=(Atrium) override it. (#862) - Basketball: nine more FIBA competition families, verified against the live GDAP API:
fiba_eurobasket_*,fiba_americup_*,fiba_asiacup_*,fiba_icup_*(Intercontinental Cup) andfiba_bcla_*(BCL Americas). (#864) - Basketball: per-competition functions minted from
tools/codegen/basketball_competitions.yaml:fiba_wc_*,fiba_oly_*,fiba_bcl_*and more (FIBA),wbbl_*,bal_*,lfb_*and more (Genius),lnb_*,nbl1_*,lpb_*and more (Atrium). (#862) - Basketball: the women's FIBA families
fiba_ecw_*(EuroCup Women),fiba_wamericup_*,fiba_wasiacup_*andfiba_wafrobasket_*. (#864) - CFB / NFL: on a slice of
plays_frame(Game on Paper's quarter and half boxes), a drive is valued at its first snap of the whole game, so a carried-over drive keeps its real start; a drive with no scrimmage snap is not averaged. Theespn_{cfb,nfl}_adv_drivesreleases pick it up on their next rebuild. (#836) - CFB / NFL: the
espn_{cfb,nfl}_adv_team(and CFBadv_team_gamelog) releases pick upyards_per_dropbackon their next rebuild. (#740) - CFB / NFL: the advanced box's
drivesrows carryavg_start_ep, the team's average drive start in expected points: each drive's first scrimmage snap valued on the league's bundled field-position curve (cfb_field_position_ep/nfl_field_position_ep). It is Game on Paper's Drives-table EP row, moved here. (#836) - CFB / NFL: the advanced box's team rows carry
yards_per_dropback, sack-inclusive yards per dropback ((pass_yards + sack_yards) / passes, over the same dropbacks asyards_per_pass, which still counts a sack as 0 yards). It is the basis of SDV'syardsdropbackpercentiles. (#740) - CFB / NFL: the advanced box's turnover rows carry
passes_defended, the opponent's ESPN box passes defended against the team's throws (CFB addsInt; ESPN's college PD excludes it), null where the box has none. (#737) - CFB CBS ids: the CBS scoreboard resolver reads FCS and postseason pages for the id map, a new
offline
_match_cbs_cardjoins a season's stored CBS cards to ESPN games (either home/away order, within three days), and the ESPN -> CBS team map gains five FCS schools (325 teams). (#815) - CFB crosswalks:
_crosswalk_alt.match_season(known_teams=)takes fixed ESPN -> provider team pairs for teams that share every game date (an FCS team with one FBS opponent, any team early in a season);known_teams("cbs", "cfb")serves the CBS resolver's map, so CBS CFB games match 99% of ESPN's schedule in most seasons. (#835) - CFB models:
fg_model/two_pt_model/xpass_modelcards record the rows actually fitted (42,617 / 1,628 / 1,902,481) instead of the training frame's height, andcfb_cp_model_air_yardsgains the card it shipped without. (#847) - CFB models: each booster ships
<model>.importance.json(gain / cover / split counts read off the booster bytools/cfb_model_importance.py). (#847) - CFB models: every bundled model card states its holdout status:
qbr_modelnames its disjoint holdout (2026 regular season, weeks 1-4),wp_ot_reachalready did, and the other nine sayin_sample: truewith the reason (fit on every season they score). No model bytes changed. (#847) - CFB play-by-play:
errors.PlayOrderWarning, warned when the processed plays step back a period (the row order or ESPN's period label is wrong there; 401628439 files an overtime touchdown as period 2). (#837) - CFB: an
overUnderAvailableplay column and payload key say whetheroverUnderis a market total or the 55.5 default (a line with a spread and no total).odds_overrideaccepts it (a missing key is unknown: a null flag), so a rebuild keeps it and warnsDefaultOddsWarningagain instead of relabelling the default as injected. (#895) - Cricket:
cricket_win_probabilityselects the ODI fielding-restriction regime from the match date (cricket_model_constants.ODI_REGIMES/cricket_regime: pre-2005, 2005 powerplays, 2011 window, 2012 two new balls, 2015+);cricket_match_statecarriesmatch_dateand the output gainsregime. (#743) - Cricket: a regime applies whole (its own resource grid and
REGIME_CONSTANTSpar/sigma), or falls back to the pooled 2002-2026 fit when its grid has fewer than 100 cells of 30+ states or it has no fitted constants (the 2011 window). (#743) - Crosswalk history harvest: private
sportsdataverse._crosswalk_historycaptures Fox, Yahoo and CBS raw game listings and per-game box payloads into the*-alt-rawrepos: resumable, atomic, season-checked, and paced byXWALK_RPS/XWALK_<PROVIDER>_RPSonly; a 403 or 429 stops the run. (#805) - Crosswalks: the private
sportsdataverse._crosswalk_altparses stored Fox / Yahoo / CBS payloads into per-seasongames/game_rostersparquet and matches them to ESPN: teams by (date, side), games by (US-Eastern date, team pair), players within each game and team, voted across the season. (#817) - Czech Extraliga: 9
elh_*wrappers insportsdataverse.hockey.elh(play-by-play, shots, events, scoreboard), pluselh_game_ids. (#826) - Dependencies:
pyyamljoins theallextra. (#752) - Docs: the CFB, NFL, NBA, WNBA, NHL and soccer tutorials each draw a chart with sdvplot: team-coloured win probability (CFB, NFL), a season shot chart on the court (NBA, WNBA), a rink shot map (NHL) and a pitch shot map (soccer). Without the plotting extras the cell prints a one-line install hint instead of a traceback. (#1021)
- Errors:
sportsdataverse.errors.SchemaDriftWarning. The NHL api-web / EDGE / Stats REST / Records, MLB Stats API, stats.nba.com and ESPN parsers still return zero rows for a payload shape they do not recognise, but warn naming the parser and payload path, so an upstream schema change no longer reads as "no data". (#907) - Errors:
warnings.filterwarnings("error", category=SchemaDriftWarning)turns schema drift into a failure. (#907) - ESPN Core v2 lists: every wrapper
parse_itemsparses (athletes_index,venues,season_athletes, ...) returns two Int64 page-envelope columns,count(items across every page) andpage_count, polars and pandas alike, so one page of several shows in the frame; null where the payload has no envelope (athlete_statisticslog). (#906) - ESPN international basketball wrappers: ESPN's
nblhas box scores but no play-by-play for 2025-26 (the NBL changed stats provider); the NBL Rosetta family fills that gap. (#849) - ESPN international basketball wrappers: ten more ESPN basketball leagues get the universal
espn_<prefix>_*family:nbl(Australian NBL),fiba(FIBA events),olympics_mbk/olympics_wbk, and the NBA Summer League sitesnbasl_lv,nbasl_ut,nbasl_ca,nbasl_sac,nbasl_orl,nbasl_gs. Every slug was checked live. (#849) - ESPN soccer:
parse_soccer_scoreboard(everyespn_<league>_scoreboard) carries the event'sseason_typeandseason_slug, and it and the summaryheaderframe carry a derivedtournament("apertura"/"clausura", null for single-tournament leagues), so Liga MX's two competitions per ESPN season id can be split. (#742) - eSports hokejovyzapis: 41 wrappers over the DEL (12), ICE Hockey League (12), EIHL (9) and
Metal Ligaen (8) feeds, in
sportsdataverse.hockey.{del_,icehl,eihl,metal}. (#826) - G League:
sportsdataverse.nbagl.nbagl_statswraps the 94 stats.nba.com endpoints live for the G League (LeagueID=20, sent by default), with returns tables built from real G League captures. Its default ids come from the capture sweep and have not been called live;shotchartlineupdetailrequiresgroup_id. (#1020) - Game pages:
sportsdataverse.nba.nba_game_pagescores WNBA, men's and women's college basketball game pages as well as the NBA's, chosen by aleagueargument ("nba", "wnba", "mbb", "wbb";league_id="00"/"10"still work), with the college in-game models and priors and the men's college period clock. (#848) - Game pages: new warehouse-path and fetch-pair helpers for the sdv-db stage and the Game on Paper processor. (#848)
- Game pages: regulation periods are read per game (the WNBA before 2006 and women's college before 2015-16 played halves, men's college always does); a neutral site gets no home-court advantage (prior source "neutral"); college free throws stay off the shot chart. (#848)
- Game pages: women's college turnovers follow their eras: 2009-12 from team turnovers, null before 2009 and for any game whose two teams together show fewer than 5 turnovers. (#848)
- Hockey:
khl_club_crosswalk(KHL club id <-> per-tournament team-season id, read from a covering set of game headers),khl_club_crosswalk_from_frames, andha_player_crosswalk(HockeyAllsvenskan player id == SHL isa id, plus the SHL athlete uuid). (#865) - Hockey:
sihf_standingscounts every game by default (venue="All"; unasked, SIHF answers the away-games table), and a table body with fewer rows than it announces raisesAssetFetchError. (#779) - Hockey:
sportsdataverse.hockey.sihfwraps the keyless Swiss Ice Hockey Federation statistics API (data.sihf.ch) for every SIHF league (National League, Swiss League, MyHockey League, amateur, junior and women's leagues), with elevensihf_*wrappers. (#779) - Hockey: per-game
sihf_pbp(goals, penalties, goaltender changes, revoked goals, shootout attempts),sihf_game_info,sihf_game_player_stats,sihf_game_goalie_stats,sihf_game_team_statsandsihf_game_lineups. (#779) - Hockey: season tables
sihf_results,sihf_standings,sihf_player_statsandsihf_goalie_statstake aphase_id;sihf_phaseslists a league and season's phases (ids differ by league, season and table) with names and game counts. (#779) - Hockey: SIHF answers an unknown season, league or phase with another one (
Season=1890gives the current season); the runtime compares the body's filter echo with the request and raisesNoDataErrorwhen they differ. (#779) - HockeyAllsvenskan: 11
ha_*wrappers insportsdataverse.hockey.ha(schedule, play-by-play, standings, skater/goalie/team stats, leaders, players). (#826) - International basketball: 530 wrappers over 24 providers (28 flat-API stems), each family in its own
sportsdataverse.basketball.<home>package with parsers and a throttled runtime. Payloads are fetched from public sources, not redistributed; each family's docstring notes carry its terms-of-use flag. (#859) - International basketball: providers are FIBA (
fiba_gdap,fiba_gamepage), Genius Sports, Sportradar Atrium, NBL Australia, FEB, BBL/DBBL (scb), Lega Basket, ACB, IBBA, KZS, LKL, ABA, BNXT (sportpress), Basketligaen (sportality), VTB, W League, KBL, B.LEAGUE, CBA, TBF, CEBL, TPBL, P. LEAGUE+ and EASL. (#859) - KHL: 23 wrappers in
sportsdataverse.hockey.khl: 14khl_*over the khl.ru REST and 9khl_webcaster_*over the webcaster API. (#826) - Ligue Magnus: 11
magnus_*wrappers insportsdataverse.hockey.magnus(competitions, schedule, standings, game sheet, play-by-play, lineups, shootout). (#826) - Liiga: 23
liiga_*wrappers insportsdataverse.hockey.liiga(schedule, box scores, shot map, standings, team and player stats). (#826) - MBB:
sportsdataverse.mbbnow exports (and the docs list) the NCAA league-RAPM helpers ofmbb_ncaa_rapm_input/mbb_ncaa_rapm_league(resolve_possessions,aggregate_stints,solve_rapm_league, ...) pluscurrent_ncaa_team_altsandsides_from_box; they were public module functions no page documented. (#987) - MLB:
load_mlb_schedule(seasons)reads themlb_schedulesrelease (statsapi schedule, every game type, 1988+). (#794) - MLB:
load_mlb_statcast(seasons)reads themlb_statcastrelease (Baseball Savant pitch-level data, one parquet per season, 2015+; spring training and exhibition pitches included). Theon_1b/on_2b/on_3brunner ids are published as floats and cast to Int64 at the loader boundary. (#794) - Model lineage: a new Model lineage docs page records the fitting script of every bundled booster (26
.ubjfiles) and fitted constant, which boosters are byte-identical to their release asset, and which cited fitting scripts are lost or untracked. (#984) - Model lineage: the NCAA RAPM ridge-lambda and NBA shot-talent shrinkage fitters move into
tools/(fit_ncaa_rapm_lambda.py,fit_nba_shot_shrinkage_k.py);TALENT_SHRINKAGE_K["10"](WNBA) is documented as a seeded placeholder, and the NFL prediction constants say their fitting scripts are lost. (#984) - National League: 17
nl_*wrappers insportsdataverse.hockey.nl(games, box scores, shots with xG, standings, player and team stats). (#826) - NBA / WNBA / MBB / WBB crosswalks:
{nba,wnba,mbb,wbb}_schedule_crosswalk(fox=True)fillsfox_game_id(and the NBA / WNBAfox_home_team_id/fox_away_team_id) from Fox's per-date scoreboard, matched on US-Eastern date and teams in either home/away order; a late tip ESPN files at 23:59 ET matches Fox's 00:00 ET a day apart. (#793) - NBA / WNBA crosswalks:
nba_crosswalks_from_archive()/wnba_crosswalks_from_archive()takealt_root=, an*-alt-datacheckout whose parsed Fox / Yahoo history fills the player crosswalk's nullfox_athlete_id/fox_player/yahoo_player_id/yahoo_player_nameoffline. (#817) - NBA / WNBA crosswalks:
nba_crosswalks_from_archive/wnba_crosswalks_from_archive(fox_games=True)fill the Fox game and team ids for any season Fox serves. (#793) - NBA / WNBA crosswalks:
nba_crosswalks_from_archive/wnba_crosswalks_from_archivetakefox=True:fox_team_idby team name for any season, and the Fox player columns for the current season only (Fox rosters are today's). A failed Fox fetch warns and leaves them null. (#786) - NBA / WNBA stats:
SDV_PY_NBA_STATS_PROXYroutes everynba_stats_*/wnba_stats_*call through a proxy (http://user:pass@host:port) when the call passes noproxy_url;proxy_url=""bypasses it. stats.nba.com and stats.wnba.com hang on cloud IPs, so thetutorials-refreshworkflow sets it from a proxy pool. (#1017) - NBA / WNBA:
league_idpicks NBA 48-minute or WNBA 40-minute regulation; only"00"and"10"are scored, and anything else raisesValueError. (#749) - NBA / WNBA:
nba_crosswalks_from_archive()/wnba_crosswalks_from_archive()build a past season's team, schedule and player crosswalks offline from the ESPN schedule and game-roster parquet plus the local stats box-score archive; the live builders only reach the current season. (#773) - NBA / WNBA:
sportsdataverse.nba.nba_game_pagescores a game page: per-play in-game win probability with deltas and an overtime regime, the pregame prior from the spread, court-frame shot coordinates, team four factors / ratings / pace and player TS% / usage. (#749) - NBA / WNBA: a null play score is carried forward before scoring, and
game_page_framesreturns the rate frames with their documented columns (zero rows) before both team box rows exist. (#749) - NBA / WNBA: team turnovers repair ESPN's duplicated pre-2013 team turnover and its null 2018
total_turnovers, and the win probability settles to 1.0 / 0.0 on the "End Game" / "End Period" row of a decided game from Q4 on. (#749) - NBA:
load_nba_stats_draft(seasons)reads thenba_stats_draftrelease;seasonsis the draft year. (#780) - NBA: loaders for the multi-file
nba_statsreleases:load_nba_stats_synergy,_hustle_player/_team,_matchups/_matchups_rollupand five_draft_combine_*tables. Each unions a season's files, stampsseason_type/per_modefrom the file name where rows lack them, and takes START-yearseasons. (#780) - NBA: the team and schedule crosswalks now compute
yahoo_team_id(nba.t.{espn id}) andyahoo_game_id(nba.g.{YYYYMMDD ET}{home id}) from 2014 on, where they were null. (#773) - NCAA:
scrape.ncaa.espn_player_xwalkmaps NCAA roster player ids to ESPN athlete ids per (season, ESPN team) for MBB, WBB and MFB, in four tiers that leave ties unmatched; the-rawrepos run it as stage 07. (#813) - NFL Fox ids:
sportsdataverse.nfl.fox_pbp.game_id._resolve_fox_game_idresolves Fox event ids, the Fox twin of the CBS week-scoreboard resolver (same arguments, light import), so a nightly id map can fillfox_event_id; the football id map's team table now carriesfox_team_id. (#804) - Packaging: new
sdvplotandsportypyextras (both also in[all]): sdvplot (>= 0.1.1, its first release that allows polars 2) for team logos, colors and chart themes, sportypy for drawing play-by-play and shot coordinates on rulebook fields, rinks and courts. sportypy is GPL-3.0 and optional. (#1017) - SHL: 27
shl_*wrappers insportsdataverse.hockey.shl, plusshl_ssgt_uuidandshl_player_crosswalk. (#826) - SIHF: 22 more
sihf_*table wrappers (team, skater and goalie goals, shots, special teams, penalties, shootouts, faceoffs, time on ice, attendance), 33 in the family. (#826) - Validation:
pbp_invariantschecks basketball clock seconds:end <= starton every*_seconds_remainingpair, andendequals the next play'sstartwithin a period. (#841) - Validation:
pbp_invariantsholds a period's last basketball play to the period's 0:00 (seconds.<scope>_period_last_row_ends_at_zero), so a producer that clampsendtomin(end, start)no longer passes. (#844) - VHL: 13
vhl_*wrappers insportsdataverse.hockey.vhl(schedule, game report, play-by-play, standings, skater/goalie stats, players, rosters), plusvhl_tn. (#826) - WBB NCAA:
ncaa_wbb_shot_locationstakesseason=, resolved throughwbb_period_model(halves through 2014-15, quarters from 2015-16); the default stays quarters, since stats.ncaa.org shot locations only exist from 2019. (#742) - WNBA / MBB / WBB crosswalks:
yahoo=Trueon the team and schedule crosswalks fillsyahoo_team_id(Yahoo's listing joined to ESPN by full name, short name, then nickname where school names agree; unmatched teams are logged). (#793) - WNBA / MBB / WBB crosswalks:
yahoo_game_id={lg}.g.{YYYYMMDD ET}{home Yahoo id}, checked against the ids Yahoo lists so a neutral-site game takes Yahoo's home side. (#793) - WNBA crosswalks:
wnba_crosswalks_from_archive(..., yahoo=True)fillsyahoo_team_*andyahoo_game_idfor a past season through the live builders' Yahoo code; a failed Yahoo fetch leaves the columns null with a warning. (#803) - Analytics:
rolling_windowscomputes event-count form windows with prev-season, season and career baselines, extended to stats.nba / stats.wnba shot events. (#590, #657) - Analytics:
metric_curvesfits rate curves along a continuous axis (shot distance, field position), binned on the coordinate distance rather than the nominal label. (#652, #658) - Analytics:
defense_vs_positionreports what each defense allowed to QB, RB, WR and TE, filtered by the season-type column. (#659, #660) - Basketball: KenPom, Her Hoop Stats, Basketball-Reference, RealGM and the salary, draft and
injury surfaces (#451), then Bart Torvik's
torvik_game_stats,torvik_player_statsand the publictorvik_game_schedule(#678). - CFB:
paper_indexports Game on Paper's Paper Index and season deserved wins. (#661) - CFB:
CFBPlayProcessfills missingyds_punted,yds_kickoffand bare-puntyds_punt_returnfrom ESPN field position, with newyds_punted_source,yds_kickoff_sourceandyds_punt_return_sourcecolumns ("text","derived"or null); parsed values never change. - CFB:
cfb_drive_summary.create_drive_summary()(StatBroadcast-style drive summary) andcfb_situational_stats.create_situational_stats()(per-team situational block), withCFBPlayProcessdelegates; graduated from Game on Paper. (#470) - ESPN (cross-league): the ESPN CDN family (
cdn.espn.com/core) as generatedespn_<league>_cdn_*wrappers, with a per-endpoint league allowlist from a live probe. (#681) - EuroLeague: 8 new wrappers:
euroleague_game_points()(shot chart),euroleague_game_pbp(),euroleague_game_boxscore(),euroleague_game_header(),euroleague_standings(kind=),euroleague_player_stats(),euroleague_team_stats()andeuroleague_game_report(). - F1:
sportsdataverse.f1wraps the keyless Jolpica (Ergast-compatible) API:f1_schedule,f1_race,f1_results,f1_qualifying,f1_sprint,f1_pitstops, standings, drivers, constructors, circuits and the pagedf1_laps(season, round); data is CC BY-NC-SA 4.0. - Fox:
fox_api_*wrapsapi.foxsports.comdirectly (33 endpoints), beside the per-leaguefox_<league>_*Bifrost wrappers. (#680) - G League: ESPN's G League is a documented league: the universal family (112 wrappers:
espn_nbagl_standings,espn_nbagl_scoreboard,espn_nbagl_summary, ...) is exported fromsportsdataverse.nbagland the top-level package. (#684) - MLB:
load_mlb_park_dimensions()loads one row per MLB venue per season from 2001: fence distances, capacity, turf, roof, elevation and coordinates, withvenue_idas a string. - NBA:
sportsdataverse.nba.nba_officiatingreads official.nba.com:nba_l2m(game_id),nba_l2m_games(season),nba_referee_assignments(date, league=),wnba_referee_assignments();nba_live_pbp()/nba_live_boxscore()and WNBA twins read the cdn liveData feeds. (#592) - NFL: NFL Pro Next Gen Stats: the
pro.nfl.comfamily (nfl_pro_*, 16 endpoints) andload_nfl_ngs(seasons, dataset=)over the SDV-nativenfl_ngs_*releases (12 datasets). (#454, #481, #489) - NFL:
sportsdataverse.nfl.shield_pbpgraduates thenative_pbpparser and adds its live layer (phase, provisional rows, current situation) and theshield_nfl_pbpentry point. (#528, #536) - NFL:
load_nfl_fp_curve()loads the bundled NFL field-position EP curve (2016-2025 fit), andfit_nfl_field_position_ep(pbp)refits it. - NFL / CFB:
NFLPlayProcess/CFBPlayProcessacceptsource=and build the same frame from Shield (#540), Yahoo (#541, #543), CBS (#542, #545), NCAA (#544) and Fox (#548) feeds throughsportsdataverse.football.sources; the dispatch table landed in #525. - NFL / CFB:
football.tendencies(team and coach splits) andfootball.usage_box(usage, situational and special-teams box), with EPA and game-context cuts, read back by 28 loaders such asload_{cfb,nfl}_team_tendenciesandload_{cfb,nfl}_usage_players. (#496, #497, #498, #614) - NFL / CFB:
espn_nfl_pbp(summary=)/espn_cfb_pbp(summary=)process a stored ESPN summary with no network, andNFLPlayProcess(odds_override=)mirrors the CFB contract. (#491) - PFF: the official Developer API: 68
pff_api_*wrappers (sportsdataverse.nfl.pff_api), keyed byapi_key=,PFF_API_KEYorSDV_PY_PFF_API_KEY;strict=True/SDV_PY_PFF_STRICT=1raises on withheld columns. The cookie-authpff_*premium wrappers still work, marked LEGACY. - Providers: 46 wrappers in six new families:
espn_content_*,thesportsdb_*($THESPORTSDB_API_KEY),football_data_*(Football-Data.co.uk),openligadb_*, and the read-only prediction marketspolymarket_*andkalshi_*undersportsdataverse.odds. - Providers: six documented provider APIs, each generated from its own endpoint YAML: CBS NAPI
(
cbs_napi_*), Yahoo Shangrila (yahoo_shangrila_*), Fox, ASA (asa_*), MLS (mls_api_*) and NWSL (nwsl_api_*). (#452) - Reference data: 36 loaders over the
{league}_groupstags for nine leagues:load_<league>_groups(),load_<league>_group_seasons(),load_<league>_group_aliases()andload_<league>_team_group_seasons(seasons); NCAA baseball isload_ncaa_baseball_*. - Registry:
sportsdataverse.registry(metrics.yaml) defines each published football metric once;resolve(column)maps a column to its entry, andpython -m sportsdataverse.registry --ts --target gop|webrenders a TypeScript module. (#645) - sdv-docs:
sdv-docs, a stdio MCP server over a published docs index with six read-only tools (search,get_function,find_columns,find_endpoints,list_datasets,index_info); installsportsdataverse[mcp](Python 3.10+);SDV_DOCS_DB=<file>uses a local index. - Soccer:
XThreatfits an Expected Threat grid andsoccer_xthreat_rate(actions)addsxt_value;load_xthreat_model()loads a bundled 12 x 16 grid fit on StatsBomb open data (research / non-commercial use only). - Soccer:
soccer_spadl(dataset)converts any kloppy event dataset into SPADL actions (a socceraction port);soccer_open_dataset()returns the dataset behindsoccer_open_events(). - Soccer:
asa_players_xpass(league_slug, season_name=...)and thenaslanduslsASA leagues; USL Super League takes split-year labels (season_name="2024-25", not2024). - Soccer: the optional
soccerextra (pip install "sportsdataverse[soccer]", kloppy) addssoccer_open_events("statsbomb", 8658)for open event data andsoccer_events_to_frame(dataset)for any kloppy dataset. - Validation:
sportsdataverse.validationgainsvalidate_game+GameReport, the advBoxScore reconciliation rules, NCAA source column aliases and the football processor invariant sweeps. (#553, #554, #555, #556, #558, #510)
Changed
download(): a 403 from api.nfl.com, premium.pff.com, comp.uefa.com, kenpom.com or herhoopstats.com is not retried; a malformed URL (MissingSchema,InvalidURL,InvalidHeader) raises at once instead of retrying ~50 s. (#880)download(): retry waits share a 180 s budget per call and a wait over 10 s logs a WARNING; a 2xx error envelope or JSON scalar is never written to the response cache. (#880)- Basketball / hockey runtimes: in the 34 international basketball and European hockey getters a route's own data
request's 204 / 205 returns
{}(wasNoDataError/AssetFetchError), and a 204 on a lookup (token, session, key page, season list, game or scope check) or mid-way through a multi-request answer isAssetFetchError. (#929) - Basketball runtimes: a 400 is
ValueErrorin EASL, KBL, KZS and VTB Infobasket, and IBBA's blank 200 isAssetFetchError. (#929) - CFB crosswalks:
load_cfb_teams_crosswalk/load_cfb_schedule_crosswalkaccept 2013. Thecfb_crosswalkrelease now carries 2013 (Yahoo and Fox legs), which the old 2014 floor hid. (#790) - CFB play-by-play: the kickoff touchback and out-of-bounds spots (2012 kickoff rule) come from one
catalogued table,
sportsdataverse.cfb.model_vars.TOUCHBACK_YARDLINE_BY_SEASON(+cfb_touchback_yardline_expr). A refactor: no output value changes. (#829) - CFB validation: the box-score parity harness grades penalties (accepted fouls, committing team), fumbles lost (offense and defense) and net passing (total minus rushing) the way ESPN counts them, and adds a player-level check and a per-game integrity screen. (#764)
- CFB: the team summaries, percentiles, passing, receiving and advanced-box column descriptions match the republished definitions: run-stuff and opportunity rates over rushes, per-drive drive metrics, passer success over dropbacks, per-target receiving rates null for 2021-2024. (#741)
- Codegen: an endpoint YAML can name a
body_builder:(a runtime callable) that turns the flat body into the nested JSON an API wants; only top-levelNonefields are dropped, so a builder handlesNoneinside what it nests. (#864) - Codegen: endpoint YAML can declare path/query transforms (
transform: {offset: -1},{fn: ..., with: [...]}), a per-routegetter:, typedchoices:(int / date, checked typed by the wrapper) and a familyno_r_fallback:flag. (#865) - Codegen: flat-API endpoints take
body: query|form|jsonand per-paramin: query|body; CBA, KHL REST and HockeyAllsvenskan use it, with a curl example in the docs. A callerparams=entry that names a body field overrides the body; any otherparams=entry goes to the query string. (#862) - Dependencies:
urllib3 >= 2.8.0is a direct runtime floor (three open advisories below it) and thetests/allextras needcurl_cffi >= 0.15.0(redirect SSRF).recipe/meta.yamlis re-mirrored frompyproject.toml(scikit-learn,urllib3,tomliwere missing);tools/check_recipe_mirror.pydiffs the two. (#751) - Docs: a parser's "empty payload gives a zero-row frame" note moves to its Returns, and the parameter table of a
POST body endpoint (
body: form|json: CBA, KHL, HockeyAllsvenskan) gains an In column (path/query/body). (#864) - Docs: admonitions render again, every hand-written page has a search description, and version stamps, stale counts, dead parser links and unused template images are gone. (#1021)
- Docs: league pages are titled with the registry label ("NBA Summer League (Las Vegas)", "Men's college basketball") instead of the raw prefix, and the Getting Started sources table runs sport by sport with a Sport column and each ESPN-only league's API breakdown. (#1021)
- Docs: pages that mostly list per-competition functions minted from the competition registry no longer call them "hand-written wrappers", and a split family page never ends on a lone function. (#864)
- Docs: reference and "Additional functions" pages render a Raises table from the function's docstring, one
row per exception and never a
Nonerow; generated wrappers (includingnba_stats/wnba_stats) list their runtime's error vocabulary plus any endpoint YAMLraises:qualifier. (#864) - Docs: returns tables show polars dtypes (
String,Int64,Float64,Boolean) instead of R type names; reference rows whose summary was onlyGET /pathread as the endpoint's name ("Box score advanced v3."), in the wrapper docstrings too. (#1021) - Docs: the home page leads with the
pip install --preline, a code example, leagues grouped by sport and registry group, and a data-sources strip; a small bar announces the 0.2.0 beta. (#1021) - Docs: the MBB, WBB, G League, AHL, ECHL, OHL, QMJHL, USHL, WHL, college hockey, college baseball and softball, UFL, XFL, FIBA and cricket pages list sdvplot (and sportypy where it draws the surface) as companions, and every sdvplot / sdvplotR link points at its docs site. (#1021)
- Empty results keep their columns: the ESPN league wrappers of 45 dedicated parsers and the soccer / cricket
scoreboards, generated and multi-file NBA stats loaders, 3 HockeyTech parsers and
enrich_pbpreturn their table, not (0, 0);parse_items,parse_single_entityand cdn rankings still return (0, 0). (#978) - ESPN player stats / Fox: a stat with no
valuetakes a plain-numberdisplayValue("0") and is otherwise null (NHL "0:00"); the column is always Float64. Foxframe()warns when a column mixes text and numbers. (#979) - ESPN schedules:
espn_cfb_scheduleandespn_mlb_schedulereturn an empty frame with the documented columns on a day with no games; they returnedNone. (#855) - ESPN schedules: the seven scoreboard-backed
espn_<lg>_scheduleemit their documented columns in documented order on every day (a column the day left empty is a typed null, not absent); columns ESPN adds later follow. A documented integer column no longer arrives as Float64 when one event lacks it (tournament_id). (#855) - ESPN wrappers: a collection as a path value raises
ValueError, and a float id is sent as its integer ("13", not"13.0"). (#896) - ESPN wrappers: a keyword the wrapper does not take raises
TypeErrornaming the wrapper, before any request. (#896) - ESPN:
parse_team_rosteron a position-grouped roster returns zero rows with aSchemaDriftWarningwhen any group or player is not an object; it returned the other groups' rows. (#941) - ESPN: the 12 generated site-v2 wrappers whose name a hand-written function held are now public as
espn_<lg>_calendar_site(cfb, nfl, mlb, nba, wnba, mbb, wbb) andespn_{wbb,wnba}_{standings,team_roster}_site/espn_wnba_draft_site. The package names still run the hand-written functions; other leagues keep theirs. (#903) - ESPN: the scoreboard
broadcastcolumn keeps every network name, ", "-joined in feed order and deduplicated ("ESPNU, ESPN+"); it kept only the first name of each broadcast entry. (#865) - Game pages:
nba_game_page.game_page_framesreads the game's neutral site, so a lineless neutral-site NBA game (the All-Star Game, Rising Stars) starts from a 0.5 prior (prior source "neutral") instead of home-court advantage; its win probabilities move by up to 0.08 for existing NBA callers. (#848) - Generated wrappers: a
bool_strflag (ESPNactive=, Foxinclude_answers=, MLSis_live=) raisesValueErrorfor any string other thantrue/false/1/0;"yes"was sent as"true"and""as"false". (#896) - HTTP chokepoints: a 2xx
{"code": 400-599, "message"}envelope is classified by its code (404NoDataError, 400/422ValueError, elseAssetFetchError); barttorvik and the Savant CSV leaderboards refuse an HTML page asAssetFetchError; Yahoo and On3 data routes refuse a JSON array where an object belongs. (#880) - HTTP chokepoints: a 2xx JSON
null, number, string or boolean body raisesAssetFetchErrorinstead of reaching a parser as data (or{}), except OpenLigaDB's/getlastchangedate, which answers a bare ISO string by design. (#880) - HTTP:
dl_utils.downloadPOSTs when givendata=/json_body=and never caches a body request, so_codegen_runtime._getsends form and JSON bodies and a body endpoint needs no runtime getter of its own. (#864) - HTTP: a POST through
downloadis retried like a GET, so it is for idempotent read APIs only. (#864) - KHL:
khl_player_statsdocuments goaliesv_pctas a 0-100 percentage (92.2 = .922),gaaas goals against per 60 minutes andtoias total "minutes:seconds" text. (#868) - MBB/WBB:
ncaa_espn_team_crosswalk(league=)reads the{mbb,wbb}_crosswalksportsdataverse-data release (built weekly by sdv-reference-data), so a new season no longer waits for an sdv-py release; it warns and falls back to the bundled CSV when the release cannot be read. (#770) - MBB:
load_mbb_player_crosswalk()documentskp_player_id, the KenPom player id hoopR-mbb-data now publishes afteryahoo_player_name(18 columns), andkp_game_idonload_mbb_schedule_crosswalk()is described as filled. The livembb_player_crosswalk()builder stays at 17 columns. (#787) - MLB:
fit_zone_modelexcludes 2026+ pitches with aUserWarning(Savant reports them against the ABS zone and the calls are challengeable), andmlb_umpire_called_strike_prob/mlb_umpire_bias/mlb_catcher_framingcarry anabs_eraflag, with per-umpire and per-catcher rows split by era. (#743) - NFL fourth-down getters:
get_go_wp,get_fg_wp,get_punt_wp,get_2pt_wp,get_2pt_probsandget_4th_down_probstreat onlyFileNotFoundErroras a missing model; a corrupt cached booster (XGBoostError) or a disagreeing model card (ValueError) propagates instead of yielding NaN. (#899) - NFL loaders:
[]returned every season fromload_nfl_schedule,load_nfl_nextgen_stats, season-levelload_nfl_pfr_advstatsandload_nfl_espn_qbr, and raised fromload_nfl_ratings_weekly/load_nfl_ngs; a mistyped season (2024.5,Truein a list,"2024x") now raisesValueErrornamingseasons. (#898) - NFL loaders:
load_nfl_player_stats(True), an old positional call for the removed kicking flag, loads every season of the non-kicking stats where it raisedTypeError; passkicking=Truefor kicking stats.load_nfl_player_stats(False)still raisesTypeError. (#898) - NFL loaders:
load_nfl_rostersandload_nfl_depth_chartstake the current season on the roster calendar (the year turns on March 15), as nflreadpy does;load_nfl_nextgen_statsraisesSeasonNotFoundErrorbefore 2016. (#898) - NFL loaders:
seasons=NoneraisedTypeErrorin the helper-backed loaders, and inload_nfl_player_stats(its default) loaded every season since 1999. (#898) - NFL loaders:
seasonsfollows nflreadpy:Noneloads the current season,Trueevery season from the loader's first to the current one (skipping a current season not yet published), and[]an empty frame without a request. (#898) - NFL models:
enrich_nfl_pbp(strict=True)orSDV_PY_MODELS_STRICT=1raisesFileNotFoundErrornaming a missing model instead of nulling xYAC, xpass or fourth-down columns; the ESPNNFLPlayProcesspath honours the variable. (#899) - NFL models:
enrich_nfl_pbpandNFLPlayProcessstill catch such an error and skip the step with aRuntimeWarningunless strict mode is on. (#899) - NFL models: when the download-on-demand nfl4th models (
fd_model.ubj,wp_model.ubj) cannot be obtained, the fourth-down step warns once per artifact; it returned all-nullgo_wp/fg_wp/punt_wpsilently. (#899) - NFL Pro:
NFLProAuthErroris anAssetFetchError(still aRuntimeError); pro.nfl.com's empty-200 rejection, a GraphQLerrorsenvelope or a body withoutdata.viewer.gameDetailraises instead of giving an empty pbp. (#918) - NFL:
nfl_pro_*, theapi.nfl.comtoken mint,nfl_game_schedule/nfl_game_details/nfl_game_pbpandnfl_ngs_*raiseNoDataError(404),ValueError(400/422) orAssetFetchError(429/5xx after retries, a dead connection, an empty/HTML/scalar 2xx) instead ofHTTPError/KeyError/JSONDecodeError/ValueError. (#918) - NFL: NGS retries 408/429/5xx but not its 403 deny, the schedule / details GETs retry, the getters honour
SDV_PY_HTTP_TIMEOUT, a string pro.nfl.comlimitpages correctly, and an undecodable token is logged. (#918) - NHL Records:
nhl_records_comeback_wins(scope=)raisesValueErrorfor anything but"league"or"franchise";"Franchise"or"team"returned the league-wide table. (#928) - On3: the deprecated
on3_*_rankingsshims raiseValueErroron a malformedyear/sport_slug(was{}). (#921) - Packaging: the
sdvplotextra now installssdvplot[mpl], sopip install --pre "sportsdataverse[sdvplot]"brings matplotlib and draws charts without a separate install. Courts, rinks and pitches still need the GPL-3.0sportypyextra. (#1021) - Possession cache:
nba_season_compile.PIPELINE_VERSIONis 5, so per-game caches keyed by it (compile_nba_season, and WNBA builders that import_game_cache_key) recompile once. (#818) - Provider flags and numbers take their documented types: CBS / Yahoo flags are Boolean (never "nan" / "True"),
Odds API
outcome_pointis Float64 where markets exist, EuroLeague headerroundis Int64, college baseball pandas integers stayInt64, and the On3 rankings tables document their integer columns as integer. (#979) - PWHL:
pwhl_team_ratingsforwards topwhl_ratings_from_proxy(itsleagueargument is ignored);nhl_player_propstakesload_skater_boxscores=andteam_ratings=, and the NHL impact engines takexg_scored=, so another league binds its own data and xG model. (#846) - Runtimes: The Odds API raises
AssetFetchErroron a dead connection (wasConnectionError) or a scalar 2xx body; LEGACYpff_*raisesAssetFetchErroron a JSON array (was{});pff_*and the 247Sports getters honourSDV_PY_HTTP_TIMEOUT. (#921) - Season loaders (generated, and
load_nfl_team_group_seasons): a fractional season ([2024.5], which loaded 2024) raisesValueError, as does a bool season;seasons=NoneraisesValueErrorwhere it raisedTypeError. (#896) - Spring football:
enrich_spring_football_pbpthreads the league-seasontouchback_yardlineandep_point_valuesfromget_sf_constantsintoenrich_nfl_pbp(new keyword-onlyleague=,touchback_yardline=,ep_point_values=; NFL defaults unchanged), so XFL / UFL kickoffs are scored from their own touchback spot. (#744) - Statcast search: every chunk takes its returns table's dtypes;
zone,release_spin_rate,spin_axisand the*_days_*columns are Int64 on all three routes, and an empty window has those dtypes instead ofNull. (#979) - Tests: warnings are errors. A test asserts an expected warning with
pytest.warns(..., match=...)or filters an incidental one by exact message; live tests skip on a timeout or upstream 429/5xx, the live job runs on Ubuntu, and thetestsextra needs pytest >= 8.0. (#726) - WNBA / NBA loaders:
load_wnba_stats_shotsandload_wnba_stats_player_game_logsaccept 1997 onward, andload_nba_player_crosswalkandload_wnba_player_crosswalk2002 onward, the seasons their releases publish; the old 2026 / 2025 floors hid them. (#848) - CFB: the bundled xQBR model (
cfb/models/qbr_model.ubj) is retrained on the served box score without the spread (qbr_varsis the five EPA aggregates plusera0..era3), behind a publish gate; everyexp_qbrchanges. - CFB: the vendor special-teams name regexes moved into
sportsdataverse.football.espn_text(CLAUSE_NAME,CLAUSE_RETURNER_RE,CLAUSE_FG_KICKER_RE); output is unchanged. - CFB:
cfb_returning_productionmeasures defense from play participants (2014+) or pbp splash plays (2004-13) and weights it intooverall_returning(offense 0.49 / defense 0.51), sooverall_returningvalues change; newdef_basisandoverall_basiscolumns. - Docs:
generate.py --checkfails when a public callable has noReturns:/Yields:section; reference pages show a returns table captured from real data, or say why there is none. - Docs: blank returns-table descriptions are filled only from the league's own sport's R packages, never with R argument text; NFL Pro, On3 and 13 Fox Sports tables gain authored descriptions.
- Docs: league index pages can list companion packages in a "See also" block
(
tools/codegen/companions.yaml); the SOCCER page links kloppy, sdvplot, sdvplotR, itscalledsoccer, soccerdata and mplsoccer. - Docs: the docs site is generated from one league registry: table rows leave the search index,
plain function headings, large reference pages split by family, a
main (latest)label and a codegen-rendered changelog. (#664, #671, #672, #673, #674, #676) - Models: native thread pools default to one:
SDV_XGB_THREADS(default 1) stops xgboost's predict from fanning across every core per request; raise it deliberately. (#563) - NFL / CFB: the situation-neutral split in
football.tendenciesreadswp_before_naive(score, clock and field position) instead ofwp_before, so every*_neutralcolumn andsec_per_play_neutralmove. - NFL / CFB:
tackle_sharecounts only the defense's own scrimmage snaps, with newscrimmage_tackle_pointsandteam_scrimmage_tackle_pointscolumns;tackles,assistsandtackle_pointsstill count every credit. - Packaging: polars 2.x is allowed (
polars>=1.0,<3, mirrored inrecipe/meta.yaml); the lock resolves polars 2.0.0 on Python 3.10+ and 1.36.1 on Python 3.9. - Validation:
tools/validation/source_parity, a nightly harness, compiles the same games from two providers and reports column-level disagreement. (#547)
Deprecated
- Config: 29 unread
sportsdataverse.configrelease URLs warnDeprecationWarningand are removed in 0.4.0; use the generatedload_<league>_*loaders. They areCFB_{ROSTER,TEAM_SCHEDULE,TEAM_INFO}_URL,NFL_PLAYER_STATS_URL,NFL_PLAYER_KICKING_STATS_URLand{NHL,PHF,MBB,NBA,WBB,WNBA}_{BASE,PLAYER_BOX,TEAM_BOX,TEAM_SCHEDULE}_URL. (#987) - Config: the warning fires on
from sportsdataverse.config import NBA_BASE_URLand onimportlib.import_module("sportsdataverse.config").sdv.configissportsdataverse.nfl.config(bound bysportsdataverse.nfl's star import), sosdv.config.NBA_BASE_URLraisesAttributeErrorwith no warning. (#987) - ESPN teams:
espn_<lg>_teams.cache_clear()(the eight leagues) is a no-op that warnsDeprecationWarningand is removed in 0.4.0. The functions no longer cache, so there is nothing to clear. (#888) - ESPN: the old names of those 12 wrappers in
*_espn_ext(from sportsdataverse.cfb.cfb_espn_ext import espn_cfb_calendar, ...) still return the wrapper but warnDeprecationWarningnaming the*_sitename; they are removed in 0.4.0. (#903) - MBB / WBB:
sportsdataverse.scrape.ncaa.league_config(NcaaLeagueConfig,MBB,WBB,by_league) warnsDeprecationWarningon access and is removed in 0.4.0. Nothing read it, andWBB.periods = 4is wrong before 2015-16; pass the league slug and usescrape.ncaa.parse.wbb_period_model(season). (#853) - NBA / WNBA:
load_nba_stats_{pbp,possessions,lineups}_v3and the fourload_wnba_stats_*shims (lineups,player_season_stats,standings,team_season_stats) now say they are removed in 0.4.0; they named 0.1.0, which has shipped. A test fails if a removal version falls behind again. (#726) - Package layout: the ESPN side leagues (
nbl,fiba,olympics_*,nbasl_*) andeuroleaguemoved undersportsdataverse.basketball, the cross-sport sources undersportsdataverse.providers, and four helpers undersportsdataverse.analytics. Old paths, deep ones included, alias the new modules until 0.4.0, warning. (#1020) - PWHL:
pwhl_team_ratings(league=...)is deprecated and ignored (the ratings are always PWHL); passing it warnsDeprecationWarning; removed in 0.4.0. (#846) - Utilities:
sportsdataverse.dl_utils.ESPNHTTP/ESPNResponse, the polarsdf.janitor.to_pascal_case()/to_camel_case()/to_kebab_case()methods andsportsdataverse.decorators.record_mem_usage/record_time_usagehad no caller; they still work, warnDeprecationWarning, and are removed in 0.4.0. (#987)
Removed
- Dependencies:
matplotlib,pyjanitor,inflectionandattrsare no longer runtime dependencies (nothing imported them;tests/test_import_sweep.pyimports every module with them blocked).black,flake8,isort,pyclnandpydocstyleleave thetests/allextras; themodelsextra is empty (already base deps). (#752) - Internals: the private
sportsdataverse._common_espnmodule (host constants plus a_get/_csvre-export nothing read) leaves the package and the wheel; import_getfromsportsdataverse._codegen_runtime. The committedtools/codegen/_generated/staging copies and the retiredextract*.pybootstraps are deleted. (#985) - MBB / WBB: the NCAA <-> ESPN team-crosswalk builder
tools/crosswalk/is gone; sdv-reference-data (sdv_reference/crosswalks/) builds and publishes the{mbb,wbb}_crosswalkasset thatncaa_espn_team_crosswalk()reads first (#770). The bundled fallback copies stay. (#788) - Python 3.9 dropped.
requires-pythonis now>=3.10(3.9 is end-of-life and HEAD no longer imported on it:cfb/cfb_drive_summary.pyevaluatesset[int] | str | Noneat def time). The lock now resolves polars 2.0 on every supported Python;scrape/ncaa/canary.pyimports on 3.10. (#748)
Fixed
*_pbp_disk/CFBPlayProcess.cfb_pbp_disk/NFLPlayProcess.nfl_pbp_disk: saved ESPN payloads are read as UTF-8. On Windows they were decoded with the platform default (cp1252), which garbled every non-ASCII player and team name in an offline rebuild. (#996)download(): a call made without aloggerno longer adds anotherNullHandlerto thesdv.dl_utilslogger each time; the module adds its one handler at import. (#992)espn_injuries_snapshot/espn_depthcharts_snapshotwarn and keep the other leagues / teams when one fetch fails; one failure discarded the whole day, which cannot be re-taken. Every fetch failing still raises. (#924)fox_nfl_pbp/fox_cfb_pbp: rows come back oldest-first on a live game too (Fox serves newest-first until FINAL). (#922)ncaa_mbb_date_games/ncaa_wbb_date_games: they close the browser they open; a lingering one made the next browser fetch in the process fail. (#920)scrape.espn.persist.write_payloadwrites through a temp file andos.replace, so a crash mid-write no longer leaves a truncated.jsonthat counts as captured and is never re-fetched; ESPN's{code, message}error body is refused like the other error shapes. (#924)- Archive crosswalks: the team pairing (date and home/away co-occurrence) leaves a team unpaired when two candidates tie, instead of taking the lower id. A full season never ties; a slice of a few dates could pair the wrong franchises. (#817)
- Atrium game wrappers: a game the site does not serve (an unknown fixture id, or another site's game) raises
NoDataErrorinstead of an echoAssetFetchError, and the minted Atrium game functions no longer refuse a game whose season the site's (incomplete) season list omits. (#864) - Basketball courts:
get_court(league_id, season=)returns the three-point geometry in force that season (the NBA 22-ft arc of 1994-97, the WNBA 19'9" / 20'6.25" / FIBA eras). (#738) - Basketball game pages:
game_page_framesno longer raises when ESPN'sformatis not an object (a string, or aregulationthat is not one); the game's regulation falls back to the league's season era. (#900) - Basketball: the minted per-competition game functions refuse a game of another competition with
AssetFetchError, and needseasonorcomp(their docs say so). The parameterisedgenius_*/fiba_gamepage_*/atrium_*wrappers are otherwise unchanged. (#864) - Basketball: the per-process listing cache keeps at most 1,024 entries (least recently used evicted), so a backfill does not grow it without bound. (#864)
- Basketligaen (
sportality): five returns-table descriptions (ppg,3_p_perc,blkpg,ec,ft_perc) are no longer cut mid-parenthesis, and thestandings_standingstest samples keep their wholedataColumnsheader. (#892) - BBL / DBBL (
scb):tv_channelonscb_games_recentandscb_gamejoins the channel names ("DYN,Sport Bild Stream") instead of writing Python dict text; null entries and null names are skipped, never written as"None". (#892) - Caches:
clear_cache()(both) deletes only the entries the cache wrote, never other files in the cache directory, and a corrupt NFL cache entry that cannot be unlinked no longer escapes asPermissionError. (#899) - Caches: a memory-cache hit (NFL loaders and the HTTP response cache) returns a copy, so editing a returned frame or payload in place no longer changes what the next call gets. (#899)
- CBA numbers: about 100 display-string columns (
'21.6'averages,'39.4%'percentages) across the season lists, team tables, advanced box and shot zones are Float64. A percent string is a fraction 0-1, socba_player_offensive.turnovers_rate('13.5%') is 0.135, whilecba_team_four's numeric 13.5 stays 0-100. (#864) - CBA numbers: thousands commas are dropped (
'1,234'),'12.0'in an integer column is 12,'nan'/'inf'are null;seasonand the schedule win/loss counts are Int64, jersey numbers and code-table values stay text, and columns null in every capture take the family's dtype. (#864) - CBA: a POST route called without
json=raisesTypeError; the generated wrappers always send it, so their behaviour is unchanged. (#864) - CBA: without
CBA_PROXYa request from a datacenter fails in seconds (5 s connect timeout, no retry of a refused or timed-out connect) instead of after about three minutes; read timeouts, mid-response resets and proxied failures are still retried. SetCBA_DIRECT=1where direct access works for the full timeout and retries. (#864) - CBS football adapter: a failed (non-404) optional NAPI resource raises instead of reading as absent, and the NFL adapter does not fetch CBS's odds when the caller already supplies the line. (#922)
- CBS football adapter: a failed scoreboard page (a dead connection, a 403/5xx after retries) is read again after 5 minutes instead of being remembered as "no games" for the life of the process. (#922)
- CBS NAPI: an unknown id (HTTP 200 with a
warningsentry of code 404) raisesNoDataError; it parsed to a zero-row frame. (#919) - CFB / NFL fumble attribution: a recovery-less fumble behind ESPN's degenerate end block that kept the ball
(non-scoring,
change_of_pos_teamFalse) is no longer lost: CFB 401856674165 (EPA unchanged); NFL is unchanged except 2810260184707, a 2008 fumble out of the end zone for a safety, correctly no longer a lost fumble. (#911) - CFB / NFL: the advanced box's
expected_turnoverstakes its pass term from ESPN's box passes defended, not from "broken up by" text whose coverage swings by season (2025 CFB weeks 1-8 vs 9-15: 0.68 vs 1.45 before, 1.26 vs 1.46 now); text stays the fallback where the box has no PD. (#737) - CFB
advBoxScorerow order:team/situational/defensive/driveslist the home team first, and the usage and special-teams sections (CFB and NFL) sort by their keys, so a game serialises to the same box in every process; before, these rows reshuffled from run to run. Values are unchanged. (#910) - CFB crosswalks:
cfb_schedule_crosswalkbuilds the same rows from the same upstream data. A Yahoo week that answered HTTP 200 with a cut-off JSON body was skipped, so its Yahoo ids and Yahoo-only games came and went between nightly builds. (#812) - CFB crosswalks: a full-season build raises
CrosswalkSourceErroron any failed ESPN calendar, ESPN week or Yahoo week instead of skipping it. (#812) - CFB pbp:
fumble_lost/fumble_recoveredread the recovering team from the text: a punt returner recovering his own fumble is no loss, and a muffed punt the kicking team recovers is one. (#778) - CFB pbp:
td_playfollows a touchdown type that 2014+ scoring-summary text never spells out ("12 Yd Interception Return (X Kick)"). (#777) - CFB pbp: kickoff touchbacks come out to the 25 from 2012 (they switched only after 2013, in
yds_kickoff_returnand the EP touchback yardline), andyds_fumble_returnreads the 2004-06 "returned for a N yard touchdown". (#778) - CFB pbp: pre-2014 onside recoveries (
Kickoff Return (Defense)) are typedKickoffbefore the kickoff possession flip, so they carrykickoff_play/kickoff_onsideand the right kicking / receiving team. (#777) - CFB play-by-play:
lag_halfandgame_play_numberfollow the final row order (15 captures moved); a play filed under an id outside the feed's numbering is placed by its period and clock (401425418's third-quarter kickoff was the game's first row). (#837) - CFB play-by-play: a
drive.*column no drive of a game carries (noendblock in 2005-09 games, nostart.clockorteamin a few others) is an all-null column of its documented String / Int64 type, notNull; everydrive.*field is typed from the returns table. (#980) - CFB play-by-play: a feed whose plays all lack the
endblock or the scores processes instead of raisingColumnNotFoundError(NFL too, forstart,end,clockand the scores); a pickcenter with no spread on any provider takes the no-pickcenter path instead of raisingIndexError. (#837) - CFB play-by-play: a fumble recovered by a team written mixed-case ("recovered by AlbSt") or in parentheses ("recovered by Omar Jacobs (BGSU)") is charged to the right team; 2014-20 team fumbles lost now match ESPN's box in 97-98% of team-games, from 86-90%. (#767)
- CFB play-by-play: a fumble's recovering team (and so
is_turnover,fumble_lost, EPA/WPA) comes from the recoverer's box-score team; ESPN'srecovered by <TEAM>token can name the wrong side and is now the fallback. 2024-26 recoverer team matches the box in 100% of sampled recoveries, from 90-95%. (#1015) - CFB play-by-play: a missing pregame total is 55.5 on every odds path (the pickcenter path used 55.0) and warns
errors.DefaultOddsWarning; ESPN's literal play text "null" is no longer a player name. (#837) - CFB play-by-play: kneel-downs ("Kneel down by TEAM ... (team loss of 2)", "takes a knee") and rushes no yardage reader matched (2004-13 "rush up the middle for 21 yards", yardless vendor rows) carry rushing yards; 2025 team rushing yards match ESPN's box in 64% of team-games, from 46%. (#768)
- CFB play-by-play: pre-2014 extra-point rows ("Extra point by Dave Rayner (MSU) is good.", "Felipe
Macias extra point GOOD.") set
xp_attempt,xp_madeandxp_kicker_player_name; all 46,762 had none. (#771) - CFB play-by-play: pre-2014 penalties ("HAWAII penalty 15 yard personal foul accepted") are charged to the team named in the text; 2006-13 team penalties match ESPN's box in 72-83% of team-games, from 21-25%. (#769)
- CFB play-by-play: regex-fallback player names no longer carry the clause they ran into ("Tommylee Lewistackled b", "Logan Hall, clock:32", a spot read as a fumbler); garbled names fall below 0.3% in every role and era, from up to 21%. (#772)
- CFB:
cfb_rosters_crosswalk(providers=(..., "yahoo"))fillsyahoo_athlete_idfrom Yahoo's team roster, matched by name + jersey, then by a unique name; it read the ~200-player stat-leaders feed and found 0-2 per team. New optionalyahoo_team_idskips the Yahoo team lookup. (#762) - CFB:
CFBPlayProcess(odds_override=...)readshomeFavoriteandgameSpreadAvailablestrictly, asoverUnderAvailablealready was:"False"/"0"are False (bool("False")read them as True), and a value that is not True/False, 1/0 or"true"/"false"/"1"/"0", None included, raisesValueError. (#946) - CFB:
CFBPlayProcess.cfb_pbp_disk()documents that an offline rebuild needsjoin_participants=Falseandodds_override. (#852) - CFB:
CFBPlayProcesslogs through its ownsdv.cfb_pbplogger; its root-modulelogging.debugcalls ranlogging.basicConfig()and installed a stderr handler on the host application's root logger. (#895) - CFB:
firstHalfKickoffTeamIdis the opening kicker andpos_team_receives_2H_kickoffis true only on its first-half possessions; it was inverted on every first-half row of home-kicked games, and set after halftime. (#781) - CFB:
fox_cfb_play_processreads Fox's absoluteyardStartthroughfox_common's geometry, so away-offense snaps are no longer mirrored (EP/EPA/WPA); an uncovered game raisesNoDataError, the backup makes no ESPN request, and the source contract rejects an adapted summary with a mirrored field. (#783) - CFB:
get_go_wpreturns NaN for a 4th-down row with noyards_to_goalordistance, instead of a garbage go-for-it value from casting NaN to an integer; other plays are unchanged. (#726) - CFB:
parse_cfb_ncaa_scoring_summaryreadsteamfrom the "Has Ball" logo's alt text; it was null on every scoring row of every stats.ncaa.org football box score. (#789) - CFB:
yds_rushed(and the line-yards split) is read from rush texts that left it null: "for 1 yard", "rush for loss of N", "Banyard rush" (matched "Yard Rush"), "1 Yd Run (... Run for Two-Point Conversion)", and directional gains on fumbled or flagged rushes. (#854) - CFB: a defensive Timeout row's
pos_teamis the offense, as nflfastR'sposteam, so itswp_beforeadds the offense's margin to the offense's EP; its EPA stays 0. (#905) - CFB: a fumble play the offense kept (
change_of_pos_teamFalse) whose ESPN end block sits at yardLine 0 / yardsToEndzone 0 no longer scores as a goal-line turnover: its end state is the next snap's start (one 2025 Q4 own recovery moves from EPA -5.91 to -0.41; 20 rows in 18 games of 2024-2026 move). (#834) - CFB: a game with no pregame spread (
gameSpreadAvailableFalse, rebuilds included) warns the newerrors.DefaultOddsWarning. (#828) - CFB: a half-ending play keys
wp_afteron the next real play's team (cfbfastR's rule), not its own possession change: a play that kept the ball when the other team snaps next now takes 1 - that play'swp_before. (#966) - CFB: a play ESPN files twice under two ids is booked once when the id sort strands one copy outside its drive (401420836's 11:58 rush and 10:44 punt now match ESPN's box score); a clock half its period shares is never compared. Across the 23,024 cfb-raw games: 489 fewer rows in 235 games, each removed row's twin kept (#925)
- CFB: a play ESPN files under an out-of-scheme id (a 10-digit
<game_id>0among 18-digit ids) goes right after the last play that precedes it by period, clock and, on a clock tie, ESPN's feed order, instead of after a count of such plays; a post-touchdown personal foul now follows its touchdown. (#908) - CFB: a rush, pass, sack or penalty whose ESPN end block is
{down 0, yardLine 0, yardsToEndzone 0}takes the next snap's down, distance and spot when the same team snaps next in the period (a 4th-down play short of the line to gain stays a turnover on downs); EPA moves on those rows, e.g. -1.85 -> -0.95 on a 2nd & 5 incompletion. (#905) - CFB: a shootout try ESPN files after a touchdown still counts inside the shootout: shootout win probability, no kick recommendation. (#792)
- CFB: a Timeout row (filed under the team that called it) is no longer a change of possession: the next play reads
the last real play's possession and score, and a play's
wp_afterthe next real board. (#834) - CFB: an overtime try is a two-point shootout attempt only under its season's rule set
(
model_vars.OT_SHOOTOUT_FROM_PERIOD: none before 2019, from the fifth overtime in 2019-20, the third from 2021). (#792) - CFB: an untyped overtime shootout attempt ("Sam Howell Two-Point Rush Attempt Failed") is a missed attempt, not a scrimmage snap. (#890)
- CFB: every attempt of a shootout period that does not open tied on ESPN's scores has null
wp_before/wp_afterinstead of a value read off them; the game-ending attempt keeps the result. (#890) - CFB: mostly first-half endings move (max |change| 0.161), in
wp_after,wpa,def/home/away_wp_afterand their_naivetwins. (#966) - CFB: only nulls change and EPA/WP do not move; a rush whose text names no carry stays null. (#854)
- CFB: overtime win probability values the forced two-point try after a touchdown (the third
overtime on before 2021, the second from 2021;
cfb_wp_overtime.OT_TWO_POINT_FORCED_FROM) instead of a kicked extra point in every period;get_2pt_probsrecommends the try there withxp_wpnull. (#743) - CFB: penalty rows after a defensive timeout lose a phantom
EP_between, so their EPA moves by up to 6.2 points;firstD_by_*flags and WP columns move with it, andlead_wp_before2skips timeouts to the second real row. (#834) - CFB: scoring zero rows (QBR on a live game's opening drive,
predict_from_cardon an empty frame) no longer logs XGBoost's "Empty dataset" warning. (#726) - CFB: the fourth-down (go, punt, field goal) and two-point decision surfaces put a post-score kickoff at the season's touchback spot, 80 to go through 2011 and 75 from 2012; they used 75 for every season. 2012+ values are unchanged. (#842)
- CFB: the mirrored-end repair reads across a Timeout or End Period row to the next real snap when that snap starts
where the play's
statYardageends it (a Q3-closing rush to the 1: EPA -4.62 -> 0.46). (#905) - CFB: the payload's
pickcenterodds are plain numbers (they were one-element arrays) and includehomeFavorite, so they feed straight back intoCFBPlayProcess(odds_override=...); values and play columns are unchanged. (#828) - CFB: the WP boosters learned that flag as
1 - is_homeand are still fed that (the_as_trained_2h_flagshim), so published WP is unchanged (each game's first row aside) until the boosters are retrained; no model bytes changed. (#781) - CLI:
sdvprintssdv: <msg>and exits 2 on aNoDataError/AssetFetchErrorinstead of a traceback. (#899) - Codegen: each
generate.py --checkgate renders into its own temp dir, so two concurrent checks no longer delete each other's files. (#761) - Cricket:
cricket_match_statereads a DLS-reduced innings' revised over allocation from the score string instead of the format's full ball budget. (#738) - Crosswalks:
{mbb,wbb,nba,wnba}_player_crosswalk(season=)for a past season reads that season's ESPN player box scores; ESPN's team-roster endpoint ignores?season=, so past seasons shipped the current roster under their own label (MBB 2025, WBB 2014-2025). (#782) - Crosswalks: the
_crosswalk_altCBS parse skips a box score whoseplayerStatsis a list: CBS answers a few college football game ids with a basketball box (CFB 2017 and 2021), which used to stop the whole season's parse. (#833) - discover:
function_count()andlist_functions()cover all 105 documented leagues (they skipped 60), from a table codegen writes from the league registry, and count thenba_stats/wnba_stats/nbagl_statswrappers with their league. (#1021) - Docs build: reference-page front matter quotes a
titleorsidebar_labelonly when plain YAML would misread it, so the ABA and TBF pages (labels with a colon and a space) build again; tests now check every page's front matter and every_category_.json. The scbx-api-secretnote no longer claims to mirror the site's code. (#861) - Docs:
espn_<lg>_calendarin seven leagues, and the wbb/wnbastandings/team_roster/draft, are documented as the hand-written functions those names run, not as the generated wrappers they shadow. (#901) - Docs:
nba_live_boxscore/wnba_live_boxscoredocument their six returned frames, one table each, and thenba_stats/wnba_statswrappers list theNoDataError/ValueError/AssetFetchErrorthey raise. (#901) - Docs: a function counts as documented only by its own reference block, not by a mention in a table or note, so 19
public functions (
load_pbp,atrium_end_year,shot_value, ...) and two classes now have entries. (#901) - Docs: a reST literal that starts with an underscore (
``_request``,``_PBP_COLS``) no longer loses its backtick on the generated pages. (#862) - Docs: Examples and page titles name each league's home module (
sportsdataverse.soccer.mls), not its deprecated alias; the NFL Pro page has a title, andparse_summarygives the right section count. (#901) - Docs: reference pages no longer cite private repositories, working notes, plan task ids or Scala
line numbers;
generate.py --checknow fails on such text in anydocs/docspage. (#1021) - Docs: tutorial install lines use
pip install --prefor the 0.2.0 beta and name thesportypyextra where a court, rink or pitch is drawn; the international basketball tutorial no longer says thesdvplotextra brings sportypy, and the NFL tutorial skips its NFL Pro cell without credentials instead of printing the auth error. (#1021) - Docs: tutorial pages print a skipped call as one short line (no repeated
NoDataError: NoDataError:, no HTML error page) and carry a real meta description, the opening paragraph of their notebook. (#1021) - Errors: a 404 message reads
No data found for <url>, notNoDataError: No data found ..., so a printedNoDataErrorno longer shows its class name twice. (#1021) - ESPN calendars:
espn_mbb_calendar/espn_wbb_calendaracceptseason=None(current season) and a float2024.0. (#855) - ESPN game rosters:
espn_mlb_game_rostersreturns a zero-row frame with its columns when ESPN lists no competitor roster; it returnedNone. (#878) - ESPN game rosters: an athlete
$refanswering 404 drops that athlete with aUserWarninginstead of failing the game; a single team logo is kept aslogo_href, and an unreadable logo shape warns instead of writing"". (#878) - ESPN game rosters: the seven Core v2
espn_<lg>_game_rosters(mbb, wbb, nba, wnba, nfl, nhl, cfb) keepposition_id(integer),position_name,position_display_name,position_abbreviationandposition_leaf(football and hockey alsoposition_parent_href), as hoopR and wehoop do. (#878) - ESPN parsers:
parse_athlete_statsreads the Web v3 per-season rows (it returned an empty frame for every athlete);parse_event_competitor_statisticsreads Core v2'ssplitsobject andparse_draftthe season-draft index (both raisedAttributeErroron every real call). Their returns tables are documented from real captures. (#889) - ESPN parsers:
parse_itemswarns when ESPN answered one page of several (espn_nba_athletes_index()returns 100 of 610 athletes by default). (#880) - ESPN parsers: the 30
_common_espn_parsersparsers that raisedAttributeErroron a non-dict body, or turned ESPN's 200 error envelope into a one-row frame, return zero rows. (#880) - ESPN rankings:
espn_{cfb,mbb,wbb,mch,wch}_rankings()returned zero rows (the Site v2 polls sit in a top-levelrankingslist, not Core v2items). A dedicatedparse_rankingsgives one row per ranked or vote-receiving team per poll. (#732) - ESPN rankings: columns are
poll_id,season,season_type,week(within the season type),rank(null on vote-receiving rows),previous_rank,points,first_place_votesand the team fields;team_idis a string. (#732) - ESPN rankings: the college baseball and softball wrappers use it too, but ESPN answers their rankings URL with a 404. (#732)
- ESPN schedules:
espn_mbb_schedule(dates=2024)returns the whole 2023-24 season, November through the title game, sorted by date (one request per game day); it returned Jan 1-13 2024 only. A failed day, or one that fills itslimit, raisesAssetFetchError. (#855) - ESPN schedules: all eight
espn_<lg>_schedulereturn a zero-row frame with the documented columns on an empty slate; one malformed event no longer discards the day;Canceledgames get null linescores likePostponed; NFL*_current_rankis a null integer (was the CFB default 99); parsing the same payload twice no longer raises. (#855) - ESPN soccer/cricket: the 68 wrappers that parse through
parse_soccer_*/parse_cricket_*now document those parsers and their returns tables (the 12 headline soccer leagues showed the generic tables), and every ESPN wrapper is annotatedUnion[pl.DataFrame, pd.DataFrame, Dict]instead ofDict. (#858) - ESPN soccer:
parse_soccer_summary(everyespn_<league>_summary) warnsUserWarning, naming the event id, when a payload has a match header but emptykey_events,commentaryandlineups, instead of returning zero-row frames silently; ESPN lists usa.nwsl 2014-2018 but ships no detail for those seasons. (#742) - ESPN soccer: summaries null the
(0.0, 0.0)"no location" coordinate pairs and strip trailing spaces from names. (#738) - ESPN teams: a payload without
sports[0].leagues[0].teamsreturns a zero-row frame with the documented columns instead of raisingTypeError/IndexError, and the docstrings no longer name aclear_cache()that never existed. (#888) - ESPN teams: the eight
espn_<lg>_teams(mbb, wbb, nba, wnba, nfl, nhl, cfb, mlb) drop their process-lifetimefunctools.lru_cache, which raisedTypeErroronheaders={...}, shared one frame object across callers and never expired. Each call returns its own frame;sportsdataverse.cacheis the opt-in TTL cache. (#888) - ESPN:
espn_<league>_leaders()returns one row per athlete with every stat as{category}_{stat}(Float64) and asort_order; it flattened ESPN's envelope into one row. Footballcategory=takesoffense:passing(a barepassingis an HTTP 400), and a league with no leaderboard gives zero rows. (#1018) - ESPN:
espn_<lg>_player_statsraisesAssetFetchErrorwhen the athlete or team dereference fails (403, 429, 5xx, a dead connection) instead of returning a row with null identity columns; only a 404 leaves those columns null. (#907) - FIBA game wrappers: a FIBA game page asked under a
compthat does not list the game raisesAssetFetchError(wrong scope) when GDAP knows the game, andNoDataErrorwhen it does not. (#864) - FIBA: a
comp=override must be an edition of the bound family; a competition GDAP gives no family is refused with that reason. (#864) - Fox / CBS / Yahoo / Shield / NCAA adapters: an id-map row with float ids adapts like one with text ids
(
"401671775", not"401671775.0"); a None / NaN /pd.NAid counts as missing. (#928) - Fox CFB / college basketball: a failed Fox CFP group fetch in
fox_cfb_schedule(season)is retried once, then warns (a 404 means "no CFP group");fox_{mbb,wbb}_teams_allwarn whenmax_callsruns out while the last fetch was still finding teams. (#922) - Fox football adapter: a punt, kickoff or missed field goal with no next snap (end of a half or of regulation, or the newest row of a live poll) ends with the receiving team at 1st & 10 (the kicking team if it recovers a muff). (#922)
- Fox football adapter: an event-less "No Play" penalty (a club-charged Delay of Game) is typed Penalty (8) and starts at the flag's spot, not End Period with the next snap's; a sack for a safety is a Safety scored by the defence. (#922)
- Fox football adapter: the last regulation snap of an overtime game no longer takes the OT kickoff's spot as its
end state, and a live poll no longer marks both clubs
winner. (#922) - Fox: an empty standings (or polls, events, nav, header, search, trending, roster) table parses to a zero-row frame instead of rows from another list in the body. (#901)
- Generated loaders and wrappers:
seasons=np.int64(2024)andseasons=2024.0load the 2024 season (they raisedTypeError), and a fractional year raisesValueErrorinstead of loading the truncated one.bool_str("false")is"false"; ESPN path params are URL-quoted; a misspelled ESPN wrapper kwarg names the wrapper. (#896) - Generated wrappers:
typing.get_type_hints()resolves every generated ESPN and flat-API wrapper (it raisedNameErroronpl), and wrappers that return a dict of frames (espn_*_summary, the CDN game payloads, multi-result-setnba_statsendpoints) are annotatedDict[str, pl.DataFrame], as their docstrings say. (#891) - Genius hosted pages: the HTTP 500 "A website error has occurred" page is reported as an intermittent Genius
host-side failure marked
transient(retry later), not as "the org has no plain hosted site"; the same WBBL, SLB, BAL, NZNBL and ESAKE schedule URLs answered it and then a full schedule. (#870) - Genius:
esake_pbpand the rest read the game's LiveStats/u/shell (one cached request per game) and check its competition name; when that request fails twice or the shell names none, the call raisesAssetFetchErrorsaying the scope check could not run, rather than returning the game unchecked. (#864) - Genius:
lfb_schedule(season=2019)(andgenius_scheduleof any page with an unfilled play-off slot) passes its scope check: aTo be determinedblock takes the competition the page's other blocks prove, and a page of only such blocks raisesAssetFetchError.lfb_*covers the two seasons Genius hosts, 2018 and 2019. (#864) - Genius: HTML pages served without a declared charset are read as UTF-8, so accented competition and team names
(French, Greek) no longer come out garbled (
requestsassumed ISO-8859-1). (#864) - Helpers:
find_athleteraisesAssetFetchErrorwhen a roster fetch fails (403, rate limit, 5xx) instead of reporting "no such player", skipping only a 404 roster;find_athlete/find_eventraiseValueError(notKeyError) for an unknown league. (#899) - Her Hoop Stats:
herhoopstats_team_rosteranswers a zero-row frame with the roster columns when the page has no roster; it returned the page's tallest table. (#919) - Hockey:
sihf_phasesgives a nullphase_namewhen a phase's name is missing, blank or not a string, like the other SIHF parsers; it gave""for a missing or blank name and the stringified value ("['x']") for a list or object. (#827) - Hockey: a
{"data": null}body parses to a zero-row frame (it was one all-null row) in the generic KHL webcaster, Liiga and National League parsers;khl_playoff_bracket.game_idsisList(Int64)(it was a comma-joined string). (#865) - Hockey: the European hockey throttle now leaves at least 1 s from the END of one response to the start of the next request to the same host, with one request in flight per host (it spaced request starts, so a 0.8 s answer let the next request go 0.2 s later). Every transport path records the finish, error answers and exceptions included. (#865)
- HockeyTech (PWHL and the 19 league families): a call with no
seasonreadsmodulekit/seasonsonce to pick and resolve the newest regular season; it fetched the feed twice under the 0.4 s rate limit. (#992) - HockeyTech:
<league>_schedule(season=...)(the 19 league families andpwhl_schedule) returns that season's games; it readmodulekit/scorebar, which ignoresseason_idand stops at 10,000 rows oldest-first, soahl_schedule(season=2026)returned AHL games from 1995-2012 and PWHL every season's. (#727) - HockeyTech:
<lg>_game_corsi/pwhl_game_corsiwithout a game summary (MJHL, whosegc/gamesummaryis denied) return zero rows instead of crediting every shot to the away skaters; a blank""home_team_idis skipped too. (#988, #989) - HockeyTech:
add_coord_transforms(every<league>_pbpandpwhl_pbp) put home-team events off the rink: it mirrored centre-origin feet with a 0-200 x 0-85 flip, andy_coord_fixedapplied the y transform twice. The derived columns are now rotations of the feet frame; the feed's home team attacks toward x = 0 in every period. (#735) - HockeyTech:
game_statusreads the schedule view's strings:Final OTwhere scorebar saidFinal 1st OT, and the start time (7:00 pm EST) for an unplayed game. (#727) - HockeyTech:
ot_period_lengthcarries the regular-season OT length for PWHL (300), ECHL and USHL (420) and BCHL (600). (#738) - HockeyTech:
parse_game_summaryadds itsgamestub row only with agame_idor data. (#923) - HockeyTech:
shot_distance,shot_angle,scoring_chanceand the xG features of those empty-net goals change. (#735) - HockeyTech:
x_coord_fixed/y_coord_fixed= (-x, -y), home team shooting right;x_coord_right/y_coord_right= home (-x, -y), visitor (x, y);x_coord_vertical/y_coord_vertical= (-y_right, x_right). (#735) - HockeyTech: a season's playoffs and preseason are separate HockeyTech season ids, so pass
season_idfor them; an empty reply, or a season filter that keeps nothing, is zero rows with the 12 columns. (#727) - HockeyTech: an empty-net goal (
empty_net"1") is measured to the net its team attacks, so a goal from the team's own half is the long shot it is; every other event still measures to the nearer net (89 - |x|), which is right for own-half events with a goalie in net, whose coordinates the feed mirrors. (#735) - HockeyTech: the 0.4 s request spacing holds when several threads call
hockeytech_apiat once; they could all read one stale timestamp and fire together. (#924) - HockeyTech: the client unwraps a JSONP body that ends in
);. (#851) - HockeyTech: the right and vertical columns are null when an event's side is unknown (no team, as on faceoffs, or
a null or empty home team id) instead of defaulting to the visitor's.
shot_distance,shot_angleand xG are unchanged; the published PWHL play-by-play keeps the old values until it is rebuilt. (#735) - HockeyTech: the schedules read
modulekit/schedule&season_id=<id>, which the feed scopes to one season, andparse_schedule(..., season_id=)drops any row from another season. (#727) - HockeyTech: with neither
seasonnorseason_id, a schedule is the newest regular season, as in the other season-aware functions; it used to be the feed's whole window. (#727) - HTTP:
_download_json(and the Yahoo Shangrila getter) re-fetches a truncated JSON body up to twice. (#812) - International basketball dtypes: a column name has one dtype across a family's tables:
fiba_gamepage_box_teams.blocks_receivedis Int64 (was String), andutc_offsetis Float64 on every GDAP table (a half-hour zone such as India +5.5 is a fraction). (#864) - International basketball dtypes: VTB Infobasket
plus_minus/player_position/height/weight, the KZS matchseasonand the TBF team-boxefficiencyare Int64; SCBshirt_numberis always String (a00jersey survives); Sportality per-game averages (blkpg,orpg,plus_minus_pg) are Float64. (#864) - KBL: the docs say an earlier (pre-2006-07) game's shot chart is a zero-row frame, as the code
returns, not
NoDataError. (#892) - KenPom / Her Hoop Stats: a failed login request raises the package's error vocabulary
(
AssetFetchError/NoDataError/ValueError) instead of a barerequestserror. (#919) - KenPom / Her Hoop Stats: a member page answered with the login form or Her Hoop Stats' free-tier
teaser (expired, replaced or unsubscribed session) raises
AssetFetchErrorand drops the cached session. (#919) - KenPom:
parse_kenpom_page()keeps a jersey"00"(team and box pages):read_htmltyped the jersey column, so"00"became 0. Any other zero-padded text column also stays text. (#928) - KHL:
khl_player_stats(position="goalies")declares the goalie columns (w,l,sop,ga,sv,sv_pct,gaa,so,toi), fetches every page and sorts by games played, wins, then name (page 1 used to be the goalies without a game). A partial page set raisesAssetFetchError. (#865) - KHL: a khl.ru answer that is ServicePipe's anti-bot JS-challenge page now raises
AssetFetchErrornaming the block (retry later or from another network) instead of "answered HTTP 200 without a sessid". (#866) - Lega Basket: the play-by-play
sideis documented as what it is, the basket the court zone is measured from (0 = x 0, 1 = x 100), not the home/visitor team (that isteam_side). (#864) - MBB / WBB:
ncaa_mbb_box_scores(..., errors="skip")(and the WBB twin) records aparse_failedstatus row for a game whose page parses to zero player rows (a page of another type); the game used to vanish from the season with no row. (#1014) - MBB / WBB:
ncaa_mbb_play_by_play/ncaa_wbb_play_by_playfetch a page the format guard rejects once and warn once; they re-fetched it as an empty scrape, a second stats.ncaa.org request and a second warning. (#887) - MBB / WBB:
ncaa_mbb_play_by_play/ncaa_wbb_play_by_playraise anUnsupportedPageFormatWarningthe caller escalated to an error; they swallowed it, re-fetched the page and returned 0 rows. (#853) - MBB / WBB:
parse_ncaa_bb_game_pbpon a 2018-format page andparse_ncaa_bb_team_scheduleon the older team page (2016) return the zero-row frame with anerrors.UnsupportedPageFormatWarningnaming the format; they returned 0 rows silently, or crashed / mis-paired half the games. (#853) - MBB / WBB: the bigballR-port parsers (
parse_ncaa_bb_box,_team_schedule,_team_roster,_game_pbp,_shots) return a zero-row frame for a non-HTML payload, andparse_ncaa_bb_boxfor another stats.ncaa.org page type, instead of raising. (#789) - MBB / WBB: the stats.ncaa.org pbp / shots / box drivers turn a float contest id into
"6470186", nevercontests/6470186.0/; box-score failures are logged, not printed; one owner for the WBB period model. (#853) - MLB docs:
pitcherin theload_mlb_xera,load_mlb_stuff_plus,load_mlb_command_plus,mlb_statcast_search(+_minors/_wbc),as_of_splitandbip_trajectory_featuresreturns tables reads "MLBAM player id of the pitcher", not "Whether the position is a pitcher". (#799) - MLB docs: on
espn_mlb_schedule,home_score/away_scoreare described as the ESPN scoreboard score rather than a per-play run total. (#799) - MLB docs: on the Statcast-search,
as_of_splitandbip_trajectory_featurespages,home_score/away_scoreare the score before the pitch andplayer_namefollowsplayer_type(the batter by default). (#799) - MLB Stats API:
mlb_api_extrasends a set, numpy array or floatleague_id/sport_idsthrough the shared_csv("103,104","103"); a set went out as"{103, 104}". (#928) - MLB umpire zone / catcher framing: a 2026-only pitch frame is fit on its own pitches; the 2026 guard dropped them all, so every pitch scored 0.5 and framing became a called-strike rate. A degenerate zone fit now warns. (#909)
- MLB:
espn_mlb_game_rosters(raw=True)keeps its per-entry rows, now withgame_position_id, andathlete_idthere is the entry'splayerId(it was null). (#1002, #1010) - MLB:
espn_mlb_game_rostersreads each rostered athlete from its Core v2$ref, soathlete_id,athlete_full_name,athlete_jerseyand the threeathlete_position_*columns (the listed season position) are filled; all six were null on every real game. (#1002, #1010) - MLB:
mlb_statcast_searchclamps a window before 2008-03-25 to the tracking floor with a warning, andget_baselineswarns when it falls back to the nearest committed season. (#738) - MLB:
pitch_featuresstandardizes velocity, spin, movement and release within pitcher AND season (game_year, else the year ofgame_date), so PITCHf/x speeds (2008-16) and Statcast out-of-hand speeds (2017+, about +0.5-1 mph) never share one mean. (#743) - MLB: an entry with no readable athlete is left out with a warning; when entries exist but no athlete can be read,
the game raises
NoDataError. No entries at all is the zero-row frame; a failed fetch raisesAssetFetchError. (#1002, #1010) - MLB: the new
game_position_id(Int64) is the position the player was entered at in this game. The athlete id is the entry'splayerId, else the id in its athlete$ref; an inline athlete record is used as is. (#1002, #1010) - NBA / WNBA / MBB / WBB pbp:
home_score/away_scoreare rebuilt from the scoring plays when that reproduces the official final (late-keyed plays, 2013-19 free throws, neutral-site side swaps); newscore_source("rebuilt"/"espn") says which (#830). (#830) - NBA / WNBA / MBB / WBB pbp: a period's first play ends where the next play starts, not at the full period length after it started (WNBA Q2 at 9:41: 1781 -> 1800); a period's last play ends at 0:00. Clock minutes are Int32 (WBB seconds Int32, NBA / WNBA Float64), not Float32. (#841)
- NBA / WNBA crosswalks: the archive team and player crosswalks no longer carry All-Star and other exhibition sides (e.g. WNBA 2026 TEAM SPOON / TEAM COOP); their games stay in the schedule crosswalk. (#786)
- NBA / WNBA player props:
nba_player_props()raises its documentedValueErrorwhen the player box logs carry nogame_date; it used to fail with polars'ColumnNotFoundErrorbefore the check ran. (#943) - NBA/WNBA:
nba_availabilityimputes missing GP% with the train-season median stored in the bundled artifact, not a median over the seasons being scored. (#850) - NBA/WNBA:
nba_player_props(as_of_date=)uses only box lines and ratings games dated strictly before the cut; the default is the target game's date (box logs, else schedule; else a newerrors.AsOfCutWarning), so a played game never sees its own or later lines. (#850) - NBA:
logistic_fit_irlsno longer overflows on separable data, andnba_rapmfits a single possession without a divide-by-zero warning. (#726) - NCAA discover / roster sweeps: a team whose page 404s is skipped without counting toward the "ban-suspect" abort after 5 failures in a row, as the capture stage already did. (#924)
- NCAA ESPN game crosswalk: a crosswalk written in this process is read back instead of the cached empty answer from before it existed. (#924)
- NCAA parse stage: a family whose parser crashed is recorded in a
parse_errorsfield of the game's JSON (it was an empty list, like a game with no shots), and the stage exits 1 when any game failed or carries one. (#924) - NCAA proxy pool:
load_proxybonanza_poolraisesAssetFetchErroron a 200 that is not the package JSON, notKeyError. (#920) - NCAA:
ncaa_espn_team_crosswalkfalls back to the bundled copy only on a failed or absent release fetch or a drifted asset; any other error raises.ncaa_mbb_box_scoresreports a dropped game through the module logger, notprint. (#907) - NFL / CFB play-by-play:
line_yardsfollows the standard adjusted-line-yards band (losses 120%, yards 0-4 100%, 5-10 50%, nothing past 10; cap 7), and line + second-level + open-field yards now sum to the carry (NFL was half a yard short on every 4+ carry).adj_rush_yardagecaps at 10. (#843) - NFL
advBoxScorerow order:team/situational/defensive/driveslist the home team first, so these four tables serialise in the same order in every process; before, their rows reshuffled from run to run. Values are unchanged. (#917) - NFL CSV loaders:
load_nfl_teams,load_nfl_ff_playeridsandload_nfl_ff_rankingsfetch through the HTTP gateway: 404NoDataError, 400ValueError, a rate limit retried thenAssetFetchError, a challenge page refused (on polars 2.0 every failure was a bareOSError). (#898) - NFL fourth down: the PAT make probability (
get_2pt_wp/get_2pt_probs,conv_1pt) scores the FG model at nflfastR's pre-2015 spot (yardline_100 = 3) before 2015, not the modern 15 for every season; new constantsPAT_YARDLINE_PRE_2015/PAT_YARDLINE_POST_2015/PAT_FIRST_SEASON_FROM_15innfl.model_vars. (#742) - NFL pbp:
opportunity_runmarks a carry that gained 4 or more yards; it was inverted (<= 4), so the box'srushing_opportunity_rateran about 0.62 instead of about 0.46. (#739) - NFL pbp:
opportunity_run,highlight_runandadj_rush_yardagegate onrush, as the CFB processor does, so rushing touchdowns and fumbled rushes are no longer dropped. (#739) - NFL, CFB: a half or game that ends on a timeout row ends on the play before it, which now takes
end_of_halfandEPA == -EP_start; the timeout row took it (EPA 0.0). (#832) - NFL.com Shield / 247Sports / MLS parsers:
parse_nfl_standingsno longer raises on a non-object week or a non-liststandings;parse_sports247_teams,_institution_rankingsandparse_mls_entityread a scalar array (or a non-listlist) as drift, not invented rows; 247Sports keeps a pandas-2 gap null, never"nan". (#945) - NFL.com Shield and Statcast parsers: records that are not a list, or a record that is not an object
(
parse_nfl_team(["a"]),{"rosters": 5}), are zero rows with aSchemaDriftWarningon pandas 2 and 3; it was an N x 0 frame on pandas 2, a raise on pandas 3. A null row (None/NaN/pd.NA) is no row. (#945) - NFL:
clean_nfl_pbpmatches nflfastR's 15fix_weird_pass_playskeys on nflverse pbp, whoseplay_idis Float64: the key cast goes through Int64 (..._1611, not..._1611.0), so those rows readpass0, as in nflverse. (#852) - NFL:
end_of_halfis true on a finished game's last play and on the play that ends regulation, so a non-scoring game-ending play scoresEPA == -EP_startand the last drive'sfixed_drive_resultfills; the 2002-05 feeds' untyped "End of the game." row is no longer a play. (#832) - NFL:
exp_qbrfeeds the bundled QBR booster in its trainer's order; it scored sack EPA as pass EPA, pass as rush and rush as sack. (#795) - NFL:
get_go_wpon a full nflverse frame no longer raises pandasPerformanceWarnings; output is unchanged. (#726) - NFL:
home_/away_wp_after_naivewere flipped on every change of possession (about 14 rows a game), andwp_after_naive/wpa_naiveread the next row (a Timeout, or a half's end), not the next real play (up to 0.38). Naive home WP now runs continuously into the next real play, as in nflfastR. (#973) - NFL:
NFLPlayProcess(ESPN and the CBS/Fox/Yahoo/Shield adapters) takes a play's end team/down/distance from the next play in the game and half, and keeps a half-ending plain snap's possession, not ESPN'send(corrupt 2014-2021); the published 2014-2021 ESPN NFL pbp and everything built from it need the reprocess. (#785) - NFL:
NFLPlayProcessreads a first down by penalty from the 2009+ NFL foul text (2002-2008 text names no accepted foul, so those seasons stay unrecovered), andseries/fixed_drivefollow nflfastR on muffed punts, timeout rows and the kickoff after a defensive touchdown; the ESPN NFL pbp and its series tables need the reprocess. (#806) - NFL:
td_playkeeps a scored "TOUCHDOWN NULLIFIED" row the try follows (foul enforced on the kickoff), and clears a touchdown reversed into a safety and, from 2009, an unscored "Kickoff/Punt Return Touchdown" with no touchdown in its text (2024 onside/short kicks): 34 rows 2006-2024 move, all to nflverse. (#840) - NFL:
td_play,pass_tdandrush_tdare False on a touchdown that did not stand: "TOUCHDOWN NULLIFIED by Penalty" and a replay-REVERSED score ESPN leaves unscored but still types "Passing/Rushing Touchdown". Team box TD counts now equal ESPN's box (291018018 NO passing 4, 401671740 TB rushing 2). (#808) - NFL: a half-ending play's
wp_after,def_wp_after,home_/away_wp_after,wpaandprog_drive_WPAfollow the next real play's WP (nflfastRlead(home_wp)): 20 half-end rows in 18 of 37 captures, plusprog_drive_WPAon 400791590's Timeout after its half end; 140 rows in 139 of 268 held-out 2003-24 games, max 0.325. (#969) - NFL: a kickoff the kicking team recovers (a muff, an onside kick) ends at the kicking team's next snap and is scored from the receiver's side, so its EPA is the loss nflverse gives it (2010 muff: +0.63 -> -3.82, nflverse -3.89). (#831)
- NFL: a kickoff's net spot is read from the receiving team's next snap only; ESPN sometimes files a kickoff inside the kicking team's drive, whose next snap was read as the receiver's. (#831)
- NFL: a pre-2009 punt (ESPN's bare "Punt" feed) ends at the receiver's next snap, like a kickoff, not at ESPN's end yard line: summed |EPA - nflverse| on the 93 pre-2009 punts #856 moved (644 sample games) goes 86.2 -> 11.3 (74.2 before #856), and on all 3,315 pre-2009 punts there 1,520 -> 525. (#963)
- NFL: a pre-2009 return ESPN types "Punt/Kickoff Return Touchdown" with no try after it is no longer a touchdown: 17 rows over all 6,749 nfl-raw games, all 2005-08, summed |EPA - nflverse| 103.4 -> 2.1. (#975)
- NFL: a punt from 2009 on also ends at the receiver's next snap, and every punt takes that snap's clocks, so
published 2009-2026 punt EPA moves closer to nflverse, as do the rows after a punt (
EP_between,lag_EP_end,prog_drive_EPA) and 4 pre-2009 punts. (#971) - NFL: a quarterback with no sack, rush or penalty play gets 0 for that
exp_qbrinput, as the QBR trainer did, instead of 0/0 = NaN, which the booster read as missing. Spearman ofexp_qbrvs ESPN Total QBR over the 573 rated 2023 quarterback-games rises from 0.807 to 0.834. (#802) - NFL: a safety typed otherwise, left unscored or with no "safety" in its text takes the -2 overlay and keeps its 2 points: all nfl-raw, 60 rows 211.2 -> 13.3 (48 before 2009, 10 in 2009-15, 2 in 2025), every nflverse-matched row closer, 148 score rows in 8 games now nflverse's. Seasons 2002-15 and 2025 change. (#975)
- NFL: a touchback kickoff (its text says touchback, or the receiver next snaps at the touchback spot) scores
EP_endat its start clock, so ESPN's end clock no longer moves its EPA (2007 KC kickoff at 0:23 with a 1:08 end clock: +0.52 -> 0, nflverse 0), at the touchback spot when ESPN's end clock is 0; WPA is unchanged. (#856) - NFL: a touchback kickoff ends at the season's touchback spot, not a fixed 75, so its EPA is 0 in every season (it
read +0.35 before 2016, -0.25 / -0.48 in 2024 / 2025); a 2024+ landing-zone touchback keeps its next snap at the 20.
nflverse still scores 2024+ kickoffs from 75 (touchback
epa+0.26 / +0.35 in 2024 / 2025). (#831) - NFL: before 2014, a play ESPN files under a later period than the plays on both sides of it takes their period
(727 rows 2002-13, every one that joins agreeing with nflverse
qtr), so a half no longer "ends" on a misfiled kickoff and its drives, clock and EPA follow; 261022011 now has one first-half end. (#856) - NFL: kickoff and missed field goal EPA score the next possession's 1st & 10: an unscored kickoff at the receiver's next snap (1st & goal inside the 10), a missed field goal at the spot of the kick (the 20 when that is inside it), not ESPN's down -1 or stale end. (#810)
- NFL: overtime
wp/vegas_wpfollow the season's overtime rule (model_vars.OVERTIME_FORMATS): sudden death, nflfastR's One_FG form with a per-gameDrive_Diff, or both-teams-possess (postseason 2022+, regular season 2025+), where an opening-drive touchdown no longer ends the game; spring-football overtime gets null. (#744) - NFL: the EPA scoring overlay reads the corrected touchdown flags: a kicking-team recovery returned for a score takes the kicker's touchdown (2010: +6.30 -> -7.54, nflverse -7.67), and a touchdown-typed row whose score did not stand takes no touchdown value (2024 short and onside kicks: 5.13 / 5.75 -> 0.67 / 1.02, nflverse 0.93 / 1.42). (#856)
- NFL: the kickoff-touchback spot is now the rule spot per season (
model_vars.touchback_yardline: 80 / 75 / 70 for 2024 / 65 from 2025) in the EP feature substitution, the overtime re-score and the ESPNyds_kickoff_return; nflfastR still scores 2024+ kickoffs at 75, so kickoff-rowepdiverges from nflverse there by design. (#744) - NFL: the processor's summary-pickcenter odds are Python scalars (they were shape-(1,) arrays), so they round-trip
through
odds_override, and an all-null pickcenter spread takes the default path instead of raisingIndexError. (#852) - NHL / PWHL player impact:
build_stintscredits a shot or goal at a line-change second to the line on the ice before the change, not the one after it (scorer on ice: 11 -> 22 of 25 PWHL and 1 -> 13 of 14 NHL fixture goals; PWHL xG off the shooter's stint 6.73 -> 3.30 of 25.0). RAPM, WAR, unit and special-teams values move. (#960) - NHL:
espn_nhl_pbpreads ESPN's NHL clock as elapsed time, sostart/end.*_seconds_remainingcount down within each period (playoff OT 20 min, regular-season 5, shootout 0; in OT the game clock is the OT period clock, as in fastRhockey) and no row ends after it starts. (#857) - NHL:
load_nhl_game_rosters()accepts published roster seasons from 2010 instead of rejecting seasons before 2024. (#765) - NHL:
load_nhl_pbp_lite()reads the currentplay_by_play_lite_<season>files (2010-2027, every legacy column plusgame_date); the legacyplay_by_play_<season>_litefiles stopped at 2026, so the current season was missing. (#775) - NHL:
nhl_skater_warno longer emits aplayer_id0 row when a faceoff or penalty names no player on one side. (#846) - NHL: the
nhl_scoreboard(team=...)route is never cached, like/scoreboard/now. (#880) - NHL: twelve release loaders accept 2010 (the 2009-10 season), where every NHL release starts:
game_info,goalie_boxscores,linescore,penalties,scoring,scratches,skater_boxscoresandthree_starsstarted at 2024,officials,shifts,shootoutandshots_by_periodat 2025 (allload_nhl_*). (#775) - P. LEAGUE+ (
pleague):action_enin the play-by-play is read from each row's own phrase, so free throws say which throw of how many ("free throw 2, made") instead of every one reading"free throw 1 of 3 awarded, ...". (#892) - Parsers: 153 provider parsers (HockeyTech, NFL.com Shield, Fox, CBS, 247Sports, EuroLeague, Sleeper, NFL Pro,
Kalshi, Polymarket, soccer, international basketball, European hockey) return zero rows for an error envelope, an
empty
{}record or a wrong-typed body. (#923) - Parsers: a
nullrow in a row list is dropped wherever it sits, instead of becoming an all-null row, raising, or (as the first row) changing the frame's shape; a list holding only nulls reads as an empty one. Any other row that is not an object is still schema drift. Covers the ESPN, NHL and MLB Stats API parsers. (#953) - Parsers: the NHL api-web / EDGE, MLB Stats API and stats.nba.com parsers return zero rows for a
None,"", list or{code, message}error-envelope body instead of raising or flattening it into a row. (#907) - Parsers: with pandas 2 installed, a row list that stops holding objects now warns
SchemaDriftWarningand returns zero rows, as with pandas 3; it came back as an N x 0 frame with no warning. Covers the ESPN, NHL api-web / EDGE / Stats REST / Records and MLB Stats API parsers, andparse_draft's inline rounds no longer raise. (#941) - PWHL:
pwhl_game_inforeturns the publishedload_pwhl_game_infocolumns,pwhl_player_boxthe fastRhockey skater and goalie frames (ids Int64), andpwhl_player_infoone row of player bio. (#851) - PWHL:
pwhl_game_info,pwhl_player_boxandpwhl_player_inforeturn data again; they read the bare-objectstatviewfeedgameSummary/playerreplies asSiteKitenvelopes and so returned an empty frame every time. (#851) - PWHL:
pwhl_skater_rapm,pwhl_unit_ratings,pwhl_special_teams_valueandpwhl_skater_warrun onload_pwhl_pbp+load_pwhl_shiftsoutput; they raisedColumnNotFoundError: "secondary_type".pwhl_team_ratings/pwhl_player_propsread PWHL data; they returned NHL ratings and props. (#846) - Python 3.9:
sportsdataverse.cfbimports on 3.9 again (cfb_drive_summaryandcfb_situational_statsused runtimeX | Yannotations); a test walks every module for runtime PEP 604/585 annotations. (#865) - RealGM: every
realgm_*function raisesAssetFetchErrorwhen the page is still Cloudflare's "Just a moment..." challenge; it returned a zero-row frame. (#919) - Release loaders: a body that arrived whole but does not parse is re-raised at once, without a second fetch, and
download()no longer decodes anapplication/octet-streambody as JSON. (#898) - Release loaders: a refused or reset connection raises
AssetFetchError(it leakedrequests.ConnectionError); a failed read is checked with a one-byte ranged GET instead of a full re-download, and a reachable asset whose read failed in transit is read again, a second failure classified too (404NoDataError, elseAssetFetchError). (#898) - Release utilities:
sportsdataverse_uploadstops retrying a permanentghfailure (HTTP 400/401/404, a 403 that is not a rate limit, a 422 other thanalready_exists, a missing release), judged on gh's stderr, instead of sleeping ~645 s. (#899) - Runtimes: the Data API id-map lookup no longer returns an error body as the row (dispatch falls back);
pff_api_*returns{}on a 204/205; with the opt-in cache on, statcast / torvik return the same JSON on a hit as on the first call; the On3, The Odds API and statcast player parsers return zero rows for a hostile body. (#921) - sdv-docs index: stdlib and third-party objects a module re-exports (
typing.Any,xgboost.Booster,tqdm,functools.lru_cache, 14 in all) are no longer indexed as sdv-py functions. SDV partials and type aliases whose__module__isfunctoolsortypingstay indexed. (#746) - sdv-docs: the server opens an index whose path contains
?,#or%; such a path used to end the SQLite URI early and silently open a different, empty file. A corrupt or foreignSDV_DOCS_DBnow gets anindex unreadable: …answer instead of a raisedDatabaseError. (#746) - sdv-docs: when the
mcpimport fails,sdv-docsprints the import error after the install hint, so an installed but incompatiblemcpis visible. (#746) - Soccer:
soccer_open_dataset/soccer_open_eventsretry a truncated StatsBomb events file once, after evicting the partial download kloppy cached (only that file; kloppy's cache setting is untouched), then raiseAssetFetchErrornaming the URL instead of a rawJSONDecodeError. (#1014) - Spring football:
get_sf_constants(league, season=)resolves the UFL 2024 / 2025 / 2026, XFL and CFL rulesets. (#738) - Statcast search: a 200 chunk that is not a Statcast CSV (an HTML or error page) raises
AssetFetchErrorinstead of adding a junk row or reading as "no games"; a dropped connection does too. (#919) - stats.nba.com / stats.wnba.com: a float or numpy
GameIDis sent as"0022400001"; it was sent as"22400001.0", which the host rejects with HTTP 400. A malformedSDV_PY_NBA_STATS_*value raises naming the variable. (#928) - stats.ncaa.org cache: a cached bm-verify shell, sub-1 KB stub or Access Denied page is re-fetched; it was served
forever, so every parser read zero rows for that game until
force=True. (#920) - stats.ncaa.org: an HTTP 400 or 422 (without a WAF ban or challenge page) raises
ValueErrorafter one request; it rotated the whole proxy pool and ended inAssetFetchError. (#920) - TheSportsDB: the default free key is
123(key3now answers HTTP 403), and a free-key list that reaches the key's row cap warns that it is probably truncated. (#919) - Validation:
validate_gameno longer crashes under polars 2.0 when the score columns are Float64, and a failure building the standing-scrimmage frame is reported asbox.standing_scrimmage_built(warning) instead of silently lowering coverage. (#899) - VTB Infobasket: an empty string in an id, rank or number column is null; the roster
rank(blank in every sample) is documented as unobserved and typed Int64. (#864) - WBB / WNBA release helpers:
helper_wbb_officials/helper_wnba_officialsskip a null official, return a zero-row frame with their columns when there are none, and no longer merge two id-less officials with equal fields. (#878) - WBB / WNBA:
find_athlete(..., league="wnba" | "wbb")no longer raisesTypeError(download()gotreturn_parsed):espn_wbb_team_roster/espn_wnba_team_rosternow acceptreturn_parsed=False, the generated wrappers' spelling ofraw=True. (#1017) - WBB NCAA:
ncaa_wbb_game_pbp/ncaa_wbb_play_by_playuse the period model of the game's era (halves through 2014-15, quarters from 2015-16), not quarters always, so a pre-2016 game no longer parses to zero rows. A newseason=pins the era; without itinfer_wbb_period_modelreads it from the first-period clock. (#738) - WBB release helpers:
helper_wbb_game_rostersreads"false"/"F"as false (Ras.logical), and the ESPN stat pivot's float coercion maps NaN to null. (#878) - WBB:
espn_wbb_calendaraccepts season 2001 (ESPN serves a women's college basketball calendar from 2000-01); it refused every season before 2002. (#860) - WBB:
ncaa_wbb_game_pbp/ncaa_wbb_play_by_playinfer the era from the page for a NaN or blankseason, as forNone; they bound the quarters model and a halves-era game returned 0 rows. (#887) - WBB:
ncaa_wbb_game_pbp/ncaa_wbb_shot_locationsreadseason=2015.0as 2015 (halves); it became"2015.0", bound the quarters model and a halves-era game returned 0 rows. (#853) - WBB:
period_and_sec_left(the NCAA shots'period/sec_left) readsseason=2015.0as 2015 (halves); it became"2015.0"and labelled a halves-era shot with the quarters model. (#887) - WNBA / Summer League lineups: rotation lineups are timed on the league's own periods (WNBA 10-minute quarters, halves before 2006; Summer League 10-minute quarters), not NBA 12-minute ones; a malformed rotation returns an empty frame and every engine falls back to pbp lineups. (#818)
- CFB:
load_cfb_passing,load_cfb_receivingandload_cfb_rushingdeclare the columns the assets gained (dispersion_games,EPAplay_sd,boom_rate,stuff_rate, ...). - CFB: the NCAA mapper fixes quarter markers, the score walk, overtime interception flags, overturned yardage and same-row penalty enforcement; no-play rows carry no yardage, and block-printed tries go to the kicking team. (#557, #550, #560)
- CFB: about 650 plays ESPN scores but no text rule named (frozen-board pick-sixes, fumble returns, field goals) now score; textless copies and untyped admin rows ("Begin Drive", quarter markers, lone try fragments) are dropped.
- CFB: a play that ends a half or a finished game leaves a possession worth nothing (EP_end 0, EPA -EP_start), now also for a finished game's last play and regulation's last play before overtime.
- CFB: a returned kickoff whose end down is outside 1-4 (ESPN's -1 sentinel) ends at down 1, so its EP_end is the next snap's EP_start.
- CFB:
end.TimeSecsRem/end.adj_TimeSecsRemare the next play's start clock (they were the previous play's), and the last play of a half or game ends at 0:00; EPA moves most at period ends. - CFB: 2007-13 touchdowns ESPN filed as their own extra-point kick carry the snap's down and distance (was -1), so the EP model no longer scores them as no down.
- CFB: blocked field goals keep ESPN's type instead of becoming "Penalty", "Extra Point Missed" or a plain "Blocked Field Goal" (sportsdataverse/cfbfastR#175); plays with null join keys are never dropped as copies. (#641)
- CFB: win probability in overtime and the final seconds uses the new
cfb_wp_overtimecorrection, and made field goals, decision surfaces and two-point shootouts are valued correctly; everywp_*/wpamoves, andfg_wp/make_fg_wp/miss_fg_wp/xp_wpare Float64. - CFB: completions written without "complete to ... for N" (ESPN 2024-25) keep their receiving
yards from ESPN's
statYardage, so passing / receiving yards and box scores move. - CFB: a tackle is credited to the tackler's own team from the game roster, so coverage and
post-turnover tackles leave the opponent's tackle table;
def_pos_teamintackles/position_group_tacklesis now the tackler's team. - CFB: plays ESPN files twice under new ids (stub echoes, drive batches at the start clock, copies around a timeout) are dropped before the adjacent-copy dedupe; play counts, EPA/play and success rate move in affected games.
- CFB: losses written "for N yards loss" or "for 1 yard loss" (ESPN 2025) no longer read as
gains in
yds_rushedandyds_receiving. - CFB: fumbles in ESPN's 2025 text format and the new
Fumbletype keep theirrush/passflags, so pass / rush aggregates (havoc, EPA/play, success rate) no longer drop them. - CFB: the usage box no longer glues a two-player assist into one phantom tackler, and
create_usage_box(rosters=)fillsposition_group_usage/position_group_tacklesfor historical games. - CFB: ESPN's 2025 jersey-style kick text fills kick distances, return yards, touchbacks, fair
catches and kicker / returner names, and
st_kickerslists a kicker once per team. - Cache: a scoreboard request whose
dates=include today or a future day now bypasses the response cache (no read, no write); a wholly historical date keeps the 30-day TTL, and an explicitcache_ttl=still wins. - Docs: descriptions mined from hoopR / wehoop no longer say "
team_detail = TRUEonly" (orathlete_detail/position_detail) for columns the Python parsers always return. - Docs: each reference page's Valid URL and docstring
Example URL:is the URL its example call requests (ESPN Core v2 child resources, default params);espn_<lg>_summarydocuments that it returns a dict. - Docs:
nba_stats,wnba_statsandon3return tables are generated from parser output on real captures (e.g.fg3m->fg3_m), and multi-result-set endpoints document their dict; wrapper behaviour is unchanged. - MLB:
mlb_expected_statscounts only plate-appearance-ending rows forpa,aband the wOBA denominator (raw pitch rows had pushedpato ~3,400, deflatingxba/xslg), andintent_walkis no longer an at-bat. - NBA / WNBA / MBB / WBB:
espn_nba_pbp,espn_wnba_pbp,espn_mbb_pbp,espn_wbb_pbpread the spread from a one-provider pickcenter, pair it with the same provider's favorite, flag every team timeout and fix MBB 2OT+ end seconds;helper_<lg>_pickcenterreturns plain floats / bools. - NFL: a strip-sack (type 80) credits the recovery to the defence, not the offence. (#546)
- NFL / CFB: processor bug sweeps: timeouts, roof, spread sign, re-run idempotence, dedupe, yard line and end clock (NFL), and C3-C40 plus the NCAA rounds (CFB). (#503, #504, #506, #514, #517, #519, #526, #530, #532, #533)
- NFL / CFB:
sec_per_playinfootball.tendenciescounts regulation drives only, each for its own offense, so overtime 0:00 drives and drive ids shared by two offenses no longer distort pace. - NFL / CFB:
aggregate_usage_boxkeeps one season row per player, keyed on(team, player_id), instead of splitting a player whose name or position group changed. - NFL / CFB: a pick-six or fumble-return touchdown no longer counts as the offense's conversion
or touchdown in
football.tendencies,football.usage_boxandfit_third_down_curve. - NHL, ESPN, NFL, KenPom: the twelve
nhl_edge_*_top_10boards return data (always empty before);espn_<league>_transactionsusesparse_transactions;load_nfl_ff_rankingsno longer readsrank_deltaas String early in a season; KenPom examples use ids KenPom recognises. - PFF: the legacy
pff_*passing / receiving and thepff_apiposition / team return tables now describeavg_time_to_throw(per dropback),aimed_passesand receivingpositive_epa_percentcorrectly, as already done for the player summaries. (#689) - PFF: 19
pff_api_*per-player and coverage-matrix routes gain their return-table columns, andpff_api_player_rushing_direction()/pff_api_player_snaps_summary()return rows instead of a zero-row frame. - Polars: code polars 2.0 rejects now runs on 1.x and 2.0 with unchanged 1.x output: the
*_pbpclock split,start.down/start.distance/end.down/end.distancecast toInt64, String-to-Date casts andexplode()on empty lists. - Polars: on polars 2.0, a column R's arrow wrote with the
arrow.r.vctrsextension type (such asgame_json_urlin the NHL and PWHL schedules) reads as its storage type, not anExtensioncolumn, which no.strop, comparison or join accepts; importing sportsdataverse registers it. (#723) - Polars: on polars 2.0,
pl.read_parquet(url)gets HTTP 501 from GitHub release URLs; the release loaders read withuse_pyarrow=Trueand work. - Soccer:
soccer_open_events()andsoccer_open_dataset()no longer raiseAttributeErrorin a fresh interpreter. - stats.ncaa.org: the fetch layer passes the new
/stats_termsTerms gate without returning or caching it as content (#568), fits its three-view cap and backs off on refusals (#569), and rotates the proxy when a network error interrupts acceptance (#570).
Security
- Cache: the opt-in response cache stores bodies after credential scrubbing, not before, so a token or API key echoed in a body or URL never lands on disk. (#865)
- Cached bodies: only the request's own credential values are scrubbed from a stored body (now including
api_token=/user_key=), so a signed media URL in the body (X-Amz-Signature=) is served as the live call gave it. (#897) - Redaction: a
Bearer/Basiccredential and a wholeCookie:header line are hidden, and a failed request'sX-Api-Key/x-api-secret/X-Authorizationheaders are dropped withAuthorizationandCookie. (#897) - Redaction: error messages, retry log lines and cached URLs also hide a URL's
user:password@,appkey=,access_key=,subscription-key=,sig=,signature=,auth=,pass=andAuthorizationvalues. (#897) - Response cache:
cache_ttl=0given as anintno longer raisesAttributeErrorwhen a cache mode is on, and a body that cannot be cached, or a binary one (application/octet-stream, images, parquet), is not JSON-decoded. (#897) - Response cache: a request that authenticates outside its URL (an
Authorization,Cookie,X-Api-Keyor other credential header, or asession=holding cookies) is never cached, so a second credential in the same process or cache dir is not served the first one's body (PFF Premium,api.nfl.com, NFL Pro, KenPom, Her Hoop Stats). (#897) - Security: re-lock certifi (2026.10.23, compromised emSign intermediates), soupsieve, cryptography, nbconvert, mistune, tornado, virtualenv and opentelemetry-api past their advisories. The Python 3.10 resolution keeps Pillow 12.3 and virtualenv 21.14.5, whose fixes need Python 3.11+. (#1021)
- Subscription logins: the KenPom / Her Hoop Stats session cache tells passwords apart (a changed password logs in again), threads that miss it together log in once, and the 247Sports token and On3 buildId are minted under a lock. (#897)
- HTTP: a credential in a query string (The Odds API
apiKey, HockeyTechkey, Foxapikey, ...) readsREDACTEDin everydl_utils.downloadlog line, error message and chained exception; The Odds API wrappers raiseAssetFetchErroron a non-2xx answer instead of returning it as odds.
Data
- Cricket: pooled constants move to T20 149.5/42/33 and ODI 249.3/76/59, and both holdout fixtures carry
match_date. Holdout Brier 0.1898 -> 0.1882; max per-decile gap 0.0326 -> 0.0369 (gate 0.05). (#743) - Cricket: the win-probability artifacts are refit on Cricsheet male internationals 2002-2026 (3,581 T20I, 2,589 ODI): a regime-keyed surface with per-cell support and a calibrator fitted on the regime-aware probabilities. (#743)
- MBB / WBB pbp: 2014-2026 free throws (ESPN types made and missed alike "MadeFreeThrow") now sit on the line in
coordinate_x/_y, transformed from (25, 13.75) like NBA / WNBA's;coordinate_x_raw/_y_rawkeep ESPN's (25, 0). (#844) - MBB / WBB pbp: hoopR / wehoop's case-sensitive "Free Throw" match never caught those rows, so the published MBB / WBB files keep ESPN's coordinates on them until the next republish corrects them. (#844)
- NCAA team ids: 2026-27 MBB (365) and WBB (363) ids join the bundled
ncaa_teamids_{mbb,wbb}.csvand the NCAA ↔ ESPN team crosswalks, every team matched (West Florida joins the ASUN, New Orleans is now LSU New Orleans, Saint Francis left Division I). (#809)
0.1.4 Release: September 1, 2026
Added
- CFB:
create_box_scoreaddsAirYds,aDOT,CompAirYds,YACandAirYdsPctto thepassandreceiversections; null (not zero) where plays carry no catch spot, i.e. every season before 2025 (ESPN play text states the catch point only since 2025 week 9). (#414) - CFB: new penalty play-by-play columns
penalty_side,penalty_yards_net(signed, only where two of three signals agree),EPA_penalty_direct,EP_penalty_cf(EP had the penalty not occurred) andpenalty_enforcement; penalty parsers are era-aware (2004-13 / 2014-24 / 2025 template). (#408) - CFB: new penalty spot and count columns
penalty_spot_side,penalty_spot_yardline,penalty_spot_yardsToEndzone,penalty_cf_yardsToEndzone,penalty_team_id,penalty_count,penalty_declined_count,penalty_all_declined,penalty_negated_play. (#408) - CFB: new first-down provenance columns
first_down_earned,first_down_yards,first_down_penalty,firstD_by_yards,firstD_by_penalty,firstD_by_poss,firstD_by_kickoff,new_series. (#408) - CFB: new extra-point columns
xp_attempt,xp_made,xp_kicker_player_name; with the penalty and first-down columns,espn_cfb_pbpgrows from 476 to 501 columns. (#408)
Changed
- CI / Docs: CI dispatches the Game on Paper deploy on every push to
main; the docs site's social metadata is completed. (#410, #412)
Fixed
- CFB: EPA no longer uses ESPN's mirrored
end.yardsToEndzone(a-1marker, kick returns read against the wrong possession team, an all-zero end state);EP_betweenno longer folds across a score, a no-effect penalty has no penalty EPA,yds_sackedis right for 2004-07. (#408, #411, #413) - CFB:
wp_afterno longer uses the wrong possession perspective (24,332 home/away rows) or flips when the next play keeps possession (867 rows). (#408, #411, #413) - CFB: a Timeout row no longer lends phantom EP to the next play, an all-zero end state reads as 99, the last row of an in-progress game no longer shows 0.0% WP, and plays ESPN inserts late (2014+ feed) are moved back into sequence before any lag runs. (#408, #411, #413)
- CFB: air yards are no longer null for every play of a team whose play text spots the catch with
its own abbreviation (
UHM,USCfor South Carolina,OSUfor Oregon State) rather than ESPN's; the side is now learned from the game itself, as in cfbfastR (cfbfastR#146). (#418) - CFB: returning production (
cfb_returning_production) raisedColumnNotFoundErroron every call sinceload_cfb_rostersmoved to ESPN in 0.1.1 (#399); it now keys onteam_idand adds the CFBD preseason roster, so week-1 players no longer all look departed. (#417, #419) - Codegen: generated wrappers now let caller params reach ESPN, and endpoints that were silently truncated return in full. (#409)
Data
- CFB: every cfbfastR-cfb-raw final (2004-2026) was rebuilt on this code and every
espn_cfb_*season republished on 2026-09-01; finals'processing_versionnow carries the sdv-py commit (0.1.3+9efee9f1.3), so a lock bump can no longer leave a stale final looking current.
0.1.3 Release: August 28, 2026
Fixed
- CFB: formation prefixes (
No Huddle-Shotgun #1 C.Parker, a third passer in game 401896383) no longer leak into the 19*_player_namecolumns where ESPN has no participant; such a play still forms its ownC.Parkerbox-score row besideCarson Parker. (#407)
0.1.2 Release: August 27, 2026
Fixed
- CFB:
create_box_scoreno longer returns an emptyadvBoxScore["pass"]for every game whenjoin_participants=True(no passers on Game on Paper);athlete_nameis recomputed from the current passer/rusher columns and the QBR join is a left join, so a QBR failure leaves one column null. (#405)
0.1.1 Release: August 27, 2026
Supersedes 0.1.0, released the same day; everything below shipped in this release. 0.1.0 remains on PyPI, but 0.1.1 is the one to install.
Highlights
- Every source family reaches the top-level namespace (~6,180 names, up from 4,655): all 12 ESPN
soccer leagues and league-scoped
pff_<slug>_*aliases. - Release-asset reads separate a missing season (
NoDataError) from a failed fetch (newAssetFetchError);NoESPNDataErrorremains an alias ofNoDataError. - CFB datasets: new
load_cfb_teamsandload_cfb_team_info;load_cfb_rostersnow reads ESPN rosters (breaking;load_cfb_rosters_cfbdkeeps the CFBD frame). - NCAA basketball: loaders for all 24 published
ncaa_*datasets, plus the league-wide RAPM solver and its input adapter. - New
sportsdataverse.wexpwin-expectancy harness (NFL + CFB) and the sharedsportsdataverse.scrape.espn-rawarchive engine.
Road to 0.1.0 — highlights since 0.0.40 (0.0.41 → 0.1.0, December 2025 → August 2026)
- Foundation (0.0.50): polars 0.18 → 1.x migration (~165 call sites across the seven
*_pbp.pymodules), uv + PEP 621 packaging, conda installability, and the nflreadpy-parity NFL surface with its cache/config layer. - ESPN cross-league (0.0.51–0.0.59): one core + thin extensions (121 short names × 8+ leagues = 819 wrappers), the universal parser layer, the 21-section summary dispatcher, a weekly drift cron; then college hockey and baseball/softball, UFL/XFL/CFL, soccer, cricket, Fox, Yahoo, The Odds API.
- Docs (0.0.53–0.0.55, 0.0.75): declarative codegen replaced Sphinx: generated per-league reference pages, returns-schema tables, a CI drift gate, offline full-text search and a gh-pages deploy.
- NFL models (0.0.60–0.0.71): nflfastR-parity EP / WP / CP (
ep0.996,wp0.997 vs nflverse), the 76-class xYAC model, xpass + the nfl4th fourth-down surface, era-aware models, and the NGS over-expected, scheme/special-teams, projection/draft and ratings/market spines. - CFB (0.0.52–0.0.75): the
0.36-livereconciliation, the participants module, pre-2014 eras, rule-era EP/WP/QBR/FG/fourth-down/two-point models with default-on decision surfaces,odds_override, and the ridge opponent-adjustment audit and retrain (oracle ρ 0.794 → 0.970). - MLB (0.0.51–0.0.64): the MLB Stats API module, then the ~43-endpoint Baseball Savant / Statcast
surface (
mlb_statcast_*). - NBA / WNBA (0.0.72 →):
nba_stats/wnba_stats(128 / 111 wrappers) on curl_cffi Chrome impersonation, the raw JSON store, the possession engine, CTG play context, shot- and tracking-value spines, the model zoo (RAPM, SPM / BPM 2.0, Kalman projections, WAR) and player-impact datasets. - Hockey (0.0.56, 0.0.72): the NHL api-web / EDGE / Stats REST / Records families and the HockeyTech core driving 20 league families with on-ice, Corsi, TOI and xG analytics.
- NCAA MBB / WBB (0.0.72 → 0.1.0): the bigballR / wbigballR port (
ncaa_mbb_*/ncaa_wbb_*), the lineups → stints → possessions → ratings core, prediction and tournament stack, player-value spines, within-team and league-wide RAPM, and loaders for all 24 published NCAA datasets. - Producers (0.0.72–0.0.75):
sportsdataverse.release(byte-parity RDS writer), the tiered validation harness, and thescrape.espn/scrape.ncaa/scrape.statsengines with the proxy pool; at 0.1.0 the top-level namespace exported 4,653 public names.
Breaking changes
- CFB:
load_cfb_rostersnow reads the ESPNespn_cfb_rostersrelease instead of the CFBD-derived cfbfastR-data asset; the CFBD-backed frame is available asload_cfb_rosters_cfbd. (#399) - Config:
MBB_TEAM_LOGO_URLandWBB_TEAM_LOGO_URLare removed fromsportsdataverse.config; both built URLs that could never resolve, and nothing used them. (#9 follow-up) - HTTP: failed release-asset reads are classified by the server: 404 →
NoDataError(season skipped), any other non-200 (a recovery refetch included) → the newAssetFetchError, so a 403 or exhausted retries never reads as an empty season. (#397, #402, #404) - NBA: the remaining 12
nba_statsloaders point at END-year-named assets. (#367) - NBA / WNBA: a read-only raw store is now actually offline: a miss raises
RawStoreMissErrorinstead of silently completing over the network. (#356) - WBB / WNBA: pre-2006 WNBA and pre-2015-16 NCAA WBB pbp no longer use the 4×10-minute quarters
model, so
half,start/end.{quarter,half,game}_seconds_remaining, OT detection (period ≥ 3) and timeout half buckets change; quarters-era output is unchanged (wehoop#39). (#380)
Upgrade notes — for the CFBD-derived roster frame, call load_cfb_rosters_cfbd instead of
load_cfb_rosters. NoESPNDataError remains a true alias of NoDataError, so existing raise /
except NoESPNDataError code keeps working.
Added
- Basketball crosswalk: the R crosswalk engine is ported to Python, with Fox WBB/WNBA extensions and a generated Bart Torvik client. (#340, #347–#349, #354, #359, #360, #363, #364)
- CFB: new
load_cfb_teams(the ESPN CFB group tree per season, FBS down to NAIA group 186, filterable to FBS) andload_cfb_team_info(cfb_team_inforelease);load_cfb_scheduleis re-documented for the unifiedcfb_schedulesdataset (ESPN + CFBD, FBS filter). (#393, #394, #396) - CFB: loaders for the published recruiting datasets. (#335)
- CFB:
to_cfbfastr(cfb/cfb_ncaa_cfbfastr.py) maps NCAA play-by-play to the frozen 104-columnCFBFASTR_SCHEMA;parse_cfb_ncaa_drivesaddsn_plays/yards(signed, null if omitted). (#384) - CFB: the cfbfastR series/first-down decomposition (
firstD_by_*) is ported, plus newcfb_ncaadrive-title and scoring-summary parsers. (#336, #350, #351, #353, #355, #357, #358, #375) - College baseball:
decompose_college_baseball_playssplitsparse_college_baseball_ncaa_pbpso legacy 2012–2023 trees and new captures resolve to the samePBP_SCHEMA;scrape/ncaa/reference.pyadds sport-generic team-list, schedule (newgame_number) and roster parsers. (#390) - HockeyTech: all 20 league families (
pwhl_pbpetc.) flag the twinshotrow of each goal withis_goal_twin = True; drop flagged rows to deduplicate, or countshotrows as-is for boxscore SOG. (#368) - NBA:
nba_statsrevivesvideodetailsasset,videoeventsandvideoeventsasset(125 → 128 wrappers);parse_nba_stats_result_setsreturns{"videoUrls": frame, "playlist": frame}for them. (#391) - NBA / WNBA: capture-live evidence now overrides source deprecation flags in codegen, expanding
nba_stats113 → 125 andwnba_stats95 → 111 wrappers. (#383) - NCAA basketball: loaders for all 24 published NCAA datasets,
load_ncaa_{mbb,wbb}_*forpbp,schedule,player_box,team_box,rosters,team_rosters,team_ids,possessions,lineups,matchup_stints,shotsandrapm_within_team(min_season2010;shots2019). (#387) - NCAA basketball:
mbb_ncaa_rapm_inputturns publishedpossessions+rostersinto player-id-keyed lineup slots, with stable cross-seasonperson_ids and configurable drop-or-pool handling of non-Division-I opponents. (#382) - NCAA basketball: league-wide RAPM,
mbb_ncaa_rapm_league(aggregate_stints,solve_rapm_league,team_aggregate,DEFAULT_RIDGE_LAMBDA = 1000); a different quantity fromncaa_{lg}_rapm_within_team, so never cross-join the two. (#389, with #382, #388) - NCAA basketball:
display_name_to_roster_key(inmbb_ncaa_names) maps a box-score"Surname, First"to the rosterFIRST.MIDDLE.LASTkey; an unsplittable name returns"". (#388) - NCAA basketball: the lineup parse warns when a team parses cleanly but yields no usable stints. (#376)
- NFL:
load_nfl_ratings_weeklyloads thenfl_ratings_weeklyrelease (1999-2025): one row per(season, as_of_week, team_id), fit only on games before weekas_of_week(strictly exclusive). - PFF: new
sportsdataverse/pff.pymints 184 league-scoped aliasespff_<slug>_<rest>(pff_nfl_facet_blocking_summary,pff_ncaa_*,pff_ufl_*,pff_aaf_*); the bare module-scopedpff_*names are untouched. - Scrape:
sportsdataverse.scrape.espn, the shared engine for the NBA / MBB / WNBA / WBB ESPN-rawarchives (write guard,str2bool/season_args, id canonicalizer,LeagueConfig);leagueis a required keyword on every public entry point. - Validation: row-level CFB + NFL pbp checks, penalty/yardage rules, an R↔Python output-parity compare CLI, a season event-rate collapse check, and interceptor-credit recovery with a play-shape drift check. (#337, #339, #341, #342, #344, #346)
- wexp: new
sportsdataverse.wexpwalk-forward pre-game win-expectancy harness (NFL 1999+, CFB 2004+):VintageStore,run_backtest,oracle_market, Elo/ridge/Kalman engines,postgame_we,features(sos_sor_vintages,carry_forward_weights,cfb_scoring_opportunities),variants. - WNBA:
build_wnba_season_wp(asbuild_mbb_season_wp/build_wbb_season_wp) appendspregame_home_prob+home_win_prob(Float64) toload_wnba_pbpframes. (#381)
Changed
- HTTP:
NoESPNDataErroris renamedNoDataError, sincedownload()raises it for any 404 (release assets included); the old name remains a true alias. (#397, #402, #404) - NBA:
load_nba_stats_schedules,load_nba_stats_pbp,load_nba_stats_possessionsandload_nba_stats_game_lineupsnow document that theirseasoncolumn is the asset's END year:load_nba_stats_schedules(seasons=2024)returnsseason == 2025. - NBA: the stats loaders read the Program V release assets. (#361)
- Project: the open-issue backlog was swept: 36 of 38 issues closed after reproduction on
main(#62, #90, #230, #388, #391); #9 (early-season bowl games missing fromload_cfb_schedule) is a producer-side gap and stays open; #392 was filed from the sweep. - WBB / WNBA:
load_wbb_pbp/load_wnba_pbpdocument free-throwtype_text/score_valuesemantics. (#380) - Yahoo: the CFB crosswalk live tests skip when a runner is served an empty payload instead of failing the matrix. (#229)
Deprecated
- NBA:
load_nba_stats_pbp_v3,load_nba_stats_possessions_v3,load_nba_stats_lineups_v3areDeprecationWarningshims (removal in0.1.0) forload_nba_stats_pbp,load_nba_stats_possessionsandload_nba_stats_game_lineups, which read a strict superset;seasonsis unchanged (START year). - PWHL:
pwhl_streakshas never returned data (thestreaksview exists on neither transport) and now emits aDeprecationWarningpointing atpwhl_schedule()/pwhl_standings(). (#238)
Fixed
- Basketball crosswalk: provider fetches fail loudly, ESPN conference labels come from the Core v2
group tree, the college scoreboard sweep uses the Division-I group, Fox title-case mangling is fixed,
mbb_team_crosswalkships a real KenPom default. (#340, #347–#349, #354, #359, #360, #363, #364) - CFB:
cfb_fourth_downend-game clamps and the documented input contract are corrected, andcfb_season_oddsis bit-reproducible underseed=(a.unique()row order had moved tiebreak probabilities by about1/n_simsbetween identical calls). (#392, #398, #400, #401) - CFB:
cfb_season_oddsno longer simulates non-FBS opponents as league-average contenders (571 teams holding 21.2% of the 2023 title odds); the output is FBS teams only (704 → 133 rows). (#333) - CFB:
cfb_season_odds(as_of_date=)now masks scores from games on or after the date (and drops unplayed postseason rows), so a historical run simulates the rest of the season instead of replaying it. (#334) - CFB:
create_box_scoreper-player defense: split sacks credit 0.5 / 0.5 (and half the yardage),fumble_recoveriescounts takeaways only,forced_fumblesgroups byforced_fumble_team, and kickoff returns creditkick_return_team; team totals are unchanged. (#93) - CFB:
load_cfb_passing's declared schema addsint_epaandsack_epa, matching the published asset. (#379) - CFB: stats.ncaa.org yard lines keyed by team nickname (
BEARS38,SPARTANS25) now parse; drive titles on such pages had a null team. (#377) - CFB:
cfb_roster_talentreturned zero rows for every season; it is repaired and re-keyed on the ESPN team id. (#335) - CFB: pregame projections: the games-played attenuation curve is actually wired into
cfb_predict_games, constants are refit on a 2024 holdout, tempo shrinks toward last season, recruit classes are rank-weighted, and returning production counts tackles. (#335) - CFB: penalty enforcement is modeled (nullified touchdowns no longer count), canonical play types are era-stable, penalty team resolution is era-aware, and completions count on penalty plays that stood. (#336, #350, #351, #353, #355, #357, #358, #375)
- CFB: INT pass flag, punt-return yardage, fumble captures and XP suffix fixed;
cfb_ncaaparsers handle 2025-season page variants; multi-season loaders tolerate per-season schema drift. (#336, #350, #351, #353, #355, #357, #358, #375) - CFB:
CFB_BASE_URL404'd on the retiredcfbfastR-data/main/pbppath; it now points at theespn_cfb_pbprelease thatload_cfb_pbpserves. (#9 follow-up) - Docs: on phones the landing-page hero buttons wrap instead of being clipped, and reference
@returntables fit the viewport instead of showing only the column names. - HockeyTech: a dead view (HTTP 200 with
Undefined Tab <view>orInvalidView error) now warns instead of returning a silent empty frame, in all 20 league families. (#238) - HockeyTech:
build_on_iceevaluatesgoalrowsGOAL_EPSILON_S(2) seconds early, so goals no longer get the post-goal line and a wrongstrength_state;goal_epsilon_s=0restores the old behavior. (#369) - HTTP: Ctrl-C during a release-asset read interrupts again instead of being swallowed into an HTTP
request by the
PanicExceptionrecovery. (#397, #402, #404) - MBB: the Torvik loader rejects an HTML error body instead of parsing it as CSV. (#398, #400, #401)
- NBA:
drafthistoryis live forLeagueID=00, not barren. (#362) - NBA / WNBA: every
*v3boxscore wrapper returned a(0, 0)frame; the parser now buildsPlayerStats+TeamStatssets from the nestedboxScore*payload. (#383) - NCAA basketball: sibling player codes are disambiguated instead of rejecting the game, unique
first-name-only matches resolve, codes derive via the box roster, NIU and
Northern Ill.are equivalent, crosswalk sources fail loudly,scheduleleaguev2parses. (#348, #371, #372, #373, #374) - NCAA basketball:
ncaa_{mbb,wbb}_shotsperiodandsec_leftwere null in every season (2019–2026);shot_events_to_framenow derives them era-aware from the game clock. (#386) - NCAA basketball: a guard asserts every
team_aliasespair also resolves throughsame_school(the NIU /Northern Ill.flaw), and near-identical schools such asMiami (FL)/Miami (OH)stay distinct. (#378) - NFL:
NFLPlayProcessno longer raisesKeyError: 'name'for franchises without a mascot (every 2020-2021 Washington Football Team game); the mascot is derived fromdisplayName. (#23) - NHL:
nhl_teams()works again (NHL_TEAM_LOGO_URL404'd) andreturn_as_pandas=Truereturns a DataFrame instead of a bound method. (#9 follow-up) - Packaging: the wheel no longer installs the repo's
dev/andtools/as importable top-level packages (as 0.0.75 and 0.1.0 did); discovery is an allowlist,include = ["sportsdataverse*"]. - Soccer: all 12 ESPN soccer leagues (bundesliga, epl, laliga, ligamx, ligue1, mls, nwsl, seriea,
ucl, uel, wc, wwc) are star-exported, so
espn_mls_scoreboardand its 1,343 siblings reach the top level;nba_stats/wnba_statsdeliberately stay module-scoped. - WBB: the halves period model applies to pre-2016 NCAA women's seasons on the loader side too. (#370)
0.0.75 Release: August 2, 2026
Breaking changes
- CFB: all seven bundled CFB models (
ep_model,wp_spread,wp_naive,qbr_model,fg_model,xpass_model,two_pt_model) are retrained on the repairedcfbfastR-cfb-rawcorpus; feature contracts are unchanged (weights-only), but downstream EPA/WPA values move.
Upgrade notes — No caller change is needed for the CFB retrain, but anything cached from an earlier release should be rebuilt.
Added
- CFB: every bundled CFB
.ubjhas a.card.jsonmodel card recording objective, feature list, training season span, hyperparameters, boost rounds and source frame (previouslyNone). - Scrape: new
sportsdataverse.scrape.ncaa, the shared stats.ncaa.org MBB/WBB hoops sweep engine (discover,capture,parse,rosters,datasets,identity,espn_game_xwalk,bundle,canary,league_configwithMBB/WBB);leagueis a required keyword on every entry point. - Scrape:
scrape.ncaa.parseis re-runnable:--season(repeatable) scopes the sweep and--forcere-parses existing output; without them the stage still skips existing files. - Scrape: new
sportsdataverse.scrape.stats(Phase 1), the shared stats.nba.com / stats.wnba.com sweep engine:proxy,session_transport(curl_cffiChrome impersonation) andobservability; likescrape.ncaa, it is not re-exported at the top-levelsportsdataversenamespace. - Scrape:
scrape.statsPhase 2 adds league-parameterized capture planning:league_config(NBA/WNBA,by_league_id()),endpoints(league-keyed season strings),season_capture,periods(league- and era-aware period windows) andrefill.
Changed
- CI: a new
docs-deployworkflow builds the docs site on pushes tomainthat touchdocs/**and publishes it as a single orphan commit ongh-pages, removing the per-push build from Vercel. - Docs: the documentation site has offline full-text search
(
@easyops-cn/docusaurus-search-local), indexing only the rollingmainversion, with no external service.
Fixed
- Scrape:
scrape.ncaastage CLIs no longer scan an empty tree and report success having done nothing (bundles=0,EXIT=0):--rootdefaults to each repo'sREPO_ROOTvia its shim, library fallbacks raise naming the fix, and the parse stage exits non-zero when it matches no bundles. - Scrape: a real (non-
--check) WNBA refill run no longer raisesModuleNotFoundErroron the nonexistentsportsdataverse.nba.wnba_stats;refillresolves the wrapper module from the config.
0.0.74 Release: August 2, 2026
Breaking changes
- CFB: in all 10
adv_*release tags (republished for 2004–2025),pos_team/def_pos_teamnow hold the team name (String) and the id moves to newpos_team_id/def_pos_team_id(Int64);def_pos_teamis inadv_defensive/adv_defensive_players. Summaries are unaffected. - CFB:
cfb_adjusted_epanow actually opponent-adjusts: the ridge default_RIDGE_LAMBDAdrops from 325 to0.035andRatingsConfig.ridge_lambdafrom 0.05 to0.035. The old fit left raw-EPA order intact (Spearman 0.999982), so adjusted ratings and ranks change substantially. - CFB:
opportunity_runnow means a rush of 4+ yards (yds_rushed >= 4, the cfbfastR definition; was<= 4), soopp_highlight_yards, identically 0 in every published row, now carries values. Publishedespn_cfb_pbpassets carry the old values until republished. - CFB:
opportunity_run,highlight_runandadj_rush_yardagegate on therushflag instead oftype.text == "Rush", so rushing touchdowns and own-fumble-recovery rushes count andadj_rush_yardageis no longer null on them. - CFB: nine CFB loaders now return
team_idasInt64(wasStringinpassing,receiving,rushing,team_summaries(+_weekly),ratings(+_weekly),recruiting_proj;Int32inteam_info), so cross-datasetteam_idjoins match (134/134 teams, was 0). Assets are unchanged.
Upgrade notes — adv_*: read the team id from pos_team_id / def_pos_team_id. Joining
cfb_team_summaries.team_id (String) to adv_team.pos_team_id (Int64) without a cast matches
nothing, silently; the CFB loaders now cast team_id to Int64 on read.
Changed
- Codegen:
releases.yamlgains anid_int64:key; a generated loader then emits a_cast_ids_int64call, which casts only when every value round-trips ("007"or1.5leave the column untouched). - Codegen: the description-coverage ratchet now includes the ~5,850 loader columns in
loader_schemas.yaml; the undescribed remainder is tracked via_DEFERRED_BUCKETS. - Docs: 1,308 more loader return-table columns are described: CFB
team_summaries(+_weekly),adv_team(+_gamelog),adv_situational,cfb_pbpand the four PHF loaders. (#312) - Docs: the CFB descriptions flag ESPN naming traps: bare
EPA_explosive*/EPA_success*columns are play counts, not EPA totals;EPA_overall_offduplicatesEPA_overall_offense; andEPA_explosive_rateis notEPA_explosive / EPA_plays. - Docs: generated loader returns tables gain a
descriptioncolumn, resolved frommanual_column_descriptions.yamlwith the R-package column dictionary as fallback.
Fixed
- CFB: plays carrying ESPN's
-1end.yardsToEndzonesentinel now recover the end yardline fromend.yard; 2016 week 2 (72 of 75 games) had been scored at about −2.6 EPA/play, plus 12 plays in seven other seasons. - CFB:
rushing_power_rateno longer reads 1.0 for every team in every season (2024's real rate is about 0.055): boolean nulls are now filled withFalsebefore aggregating. - CFB: opponent-adjusted fits no longer drop one team per side (the ridge's reference level) from the returned table, nor its games from its opponents' adjusted sets.
- Docs: the returns tables for all 10
adv_*loaders now match the shipped data;load_cfb_adv_passinggainsxComp,CompPct,xCompPct,CPOEand typesrush_epa/pen_epaasFloat64(notNull). - Docs:
load_cfb_adv_defensive_playersdocuments its season-dependent columns: 8 in 2004, 12 for 2005–2013 (+ sacks,sacks_yards,pass_breakups,forced_fumbles), 14 from 2014 (+ interceptions,interceptions_yards); a column absent in a season comes back null.
Data
- CFB:
espn_cfb_adv_team_gamelogis rebuilt for 2004–2025 on the newadv_*shape; it still exposesteam_idplus a readableteam/opponent, so its consumers see no change.
0.0.73 Release: August 1, 2026
Breaking changes
- CFB:
adj_off/adj_def/adj_netinefficiency_ratings/cfb_ratingsare now the netted Radjust_epastatistic (per-game raw EPA minus the opponent's fitted strength, averaged), not the ridge coefficient + intercept; ranks barely move, magnitudes shrink (top ~0.35, was ~0.63). - CFB: rating predictions use constants refit to the new scale (
net_points_scale34.49 → 44.54,margin_sd,total_*;hfa_epaunchanged). - CFB:
adj_st_epais now true EPA/play (each unit's mean EPA/play, field goal, punt and kick return, centered on the league mean and summed) instead of a sum of three z-scores. - CFB:
cfb_ratings()now defaults tofbs_only=True(FBS-vs-FBS games only) anddrop_kneels=True(kneel-downs removed), matching game-on-paper; ratings shift, andcfb_resume/cfb_season_oddsinherit the defaults.
Upgrade notes — Pass fbs_only=False / drop_kneels=False to cfb_ratings() for the previous
unfiltered behavior.
Added
- CFB:
load_cfb_adv_team_gamelog(tagespn_cfb_adv_team_gamelog): opponent-adjusted team efficiency with game context (opponent, home/away, scores, margin, result, date), one row per team-game, 2004–2025. - CFB:
load_cfb_ratings_weeklyandload_cfb_team_summaries_weeklyreturn long format, one asset per season with athrough_weekcolumn; filterthrough_week == Wfor as-of-week-W state. - Models: new repo-root
model_ledger.json, a machine-readable ledger of 73 trained/fitted models across the ecosystem (artifact, training script, trained and available season windows). - NBA: model outputs keyed on numeric ids now also carry resolved player and team names.
- NBA: the possessions / season-compile path reads the committed raw JSON store (over URL, plus season-level captures) in preference to network reads, so season builds reproduce offline.
- NBA: the
stats.nba.comruntime's timeout and retry are tunable.
Changed
- CFB: the roster join behind pre-2014
{type}_player_idgains two fallback tiers below exact match (first-initial + surname, then bare surname), both team-scoped; an ambiguous name stays null. - CFB: the player box score is a second
{type}_player_idsource when ESPN 404s the game roster (376 of 898 games in 2018); 2018 resolution rises from 63.7% to 96.2%.
Fixed
- CFB: pre-2014
{type}_player_namevalues drop the 2004"(TEAM)"suffix (Matt Leinart, notMatt Leinart (USC)) and narrative tails ("Russell Wilson deep out"), so far more resolve to a{type}_player_id(2004: 52.1% → 87.8% of named cells). - CFB:
load_cfb_passing,load_cfb_percentiles,load_cfb_receiving,load_cfb_rushingandload_cfb_team_summariesno longer raiseSeasonNotFoundErrorfor the published 2004–2013 seasons;load_cfb_play_participantsand the two crosswalk loaders keep their real 2014 floor. - Docs: declared returns tables corrected:
seasonisInt64(notFloat64) forload_cfb_passing/_receiving/_rushing/_team_summaries, andload_cfb_passingdeclares the republishedInt32sacked/pass_int. - Docs: the Docusaurus site builds via rspack (
future.v4), resolving the Vercel heap OOM. - NBA: result-set schema inference scans all rows, not the first; a leading run of nulls had inferred the wrong dtype for the whole column.
- NBA: three real-data bugs in the raw-store impact path.
- NFL: the upstream removal of the NGS season aggregate (week 0) is handled with a warning and an xfail sentinel instead of a hard failure.
- NHL: reading release parquets survives the R-arrow
vctrsextension-metadata panic. - RDS:
write_rdsstreams to its sink instead of buffering the whole object, and its temp-file write path keeps the umask-derived file mode.
0.0.72 Release: July 22, 2026
Highlights
- NBA seasons are END-year across the Python API:
compile_nba_season(2024)andnba_availabilitynow mean 2023-24, matchingmost_recent_nba_season()and the ESPN-sourcedload_nba_*datasets. - New
nba_stats/wnba_statsfamilies: 112 stats.nba.com and 95 stats.wnba.com wrappers that return tidy frames through one parser,parse_nba_stats_result_sets. - Model spines across the leagues: ratings, projection, shot-value, tracking, draft and simulation models for NFL, CFB, NBA/WNBA, MBB/WBB, NHL/PWHL and MLB, including nflseedR / cfbseedR standings ports.
- stats.ncaa.org: the bigballR / wbigballR port (
ncaa_mbb_*/ncaa_wbb_*), the college RAPM core, and new football, college baseball and softball play-by-play parsers. - Loaders and release tooling: seven new CFB dataset loaders (including
load_cfb_ratings), loaders for the published model releases, and thesportsdataverse.releasepublishing module.
Breaking changes
- MBB: the
helper_{nba,mbb}_*release-parity producers emit play-by-playidas Int64, not R's Float64: MBB's 18-digit ids overflow R's double and collide in the R-produced releases. (#245) - NBA: the season convention is END-year across the Python API:
compile_nba_season(2024)andnba_availabilitytake the ending year (2024 = 2023-24); the stats.nba.com compile path took the start year. - PWHL:
pwhl_team_game_xg_rates/pwhl_ratings_from_proxygainxg_method("coords"|"quality") and default to the new coordinate xG (fit_pwhl_coord_xg), so output values change for existing callers;LEAGUE_CONSTANTS["pwhl"].margin_sdis re-fit 1.21 → 1.19. - WBB:
idin Python-produced WBB play-by-play (helper_wbb_play_by_play) is exact Int64; the R-produced releases are Float64, which loses precision above 2^53, so adjacent play ids collide.
Upgrade notes — NBA: add 1 to any start year you pass to compile_nba_season or
nba_availability. year_to_season is unchanged and still takes a start year, so call it as
year_to_season(end_year - 1); nba_box_logs is unchanged and takes the "2023-24" string, not an
integer. PWHL: pass xg_method="quality" to pwhl_team_game_xg_rates / pwhl_ratings_from_proxy
to keep the old categorical shot-quality xG.
Added
- CFB: loaders for five published-but-unreachable "Binion Box Score" releases (2014–):
load_cfb_passing,load_cfb_rushing,load_cfb_receiving,load_cfb_percentiles,load_cfb_team_summaries. - CFB:
load_cfb_model_pbploads theespn_cfb_model_pbprelease (EP/WP/QBR-enriched play-by-play, 2004–), which was published but unreachable from Python. - CFB:
load_cfb_ratings(seasons)loads thecfb_ratingsrelease (one row per team-season, 2004–: opponent-adjusted EPA, FEI,games,off_pace, ranks,net_z); seasons with no asset warn and are skipped. - CFB: advanced-efficiency spine:
cfb_advanced_stats(opponent-adjusted efficiency, isoPPP, success rate, EPA/play, havoc),cfb_field_position(fit_field_position_ep/load_fp_curve),cfb_adjusted_tempo, andcfb_advanced_constants. - CFB: recruiting spine:
load_recruit_classes(247 RDB signing classes),blue_chip_ratio,cfb_roster_talent(optionalcomposite_247override),cfb_returning_production, andcfb_recruiting_projection(wins / margin ridge, as-of boundary enforced). - CFB:
cfb_transfer_moves+cfb_transfer_impact(portal moves, net-talent win delta; no team-level win signal on 2018-2023 data) andload_draft_outcomes+cfb_draft_projection(as-of draft probability, expected picks per team). - CFB: cfbseedR-style standings and simulation:
cfb_standings,cfb_playoff_seeds(2025 CFP 12-team seeding, optionalrankings=),cfb_simulations/cfb_compute_results,cfb_games_from_schedule; conference rank andsov/sosare conference-REG-scoped. - CFB:
parse_cfb_ncaa_pbp: stats.ncaa.org football play-by-play, one row per play, cfbfastR-style (drive context, situation,play_type, players, signedyards_gained, kick / turnover / penalty detail,qb_scramble). - CFB:
cfb_ncaa_boxparsers:parse_cfb_ncaa_drives,parse_cfb_ncaa_team_stats(per quarter),parse_cfb_ncaa_player_stats,parse_cfb_ncaa_officials,parse_cfb_ncaa_linescore(+game_date/venue/attendance). - CFB: the advanced box score's passing table aggregates
cp(xCompletion model results) alongside the existing columns. - CFB: On3 recruiting: an 82-endpoint On3 RDB stem that replaces the 4-endpoint
_next/datarankings scrape (industry consensus rankings with NIL valuations and commitment / transfer status). - CFB: 247Sports Recruit Database stem (11 wrappers):
sports247_recruits,sports247_transfers(portal),sports247_coaches,sports247_target_predictions(crystal ball),sports247_sport_years,sports247_tags_autocomplete. - CFB: 247Sports ranking and portal feeds:
sports247_institution_rankings,sports247_teams,sports247_composite_team_ranking_feed,sports247_transfer_portal_team_feed,sports247_transfer_portal_player_feed. - CFB: every 247Sports payload parses via
parse_sports247_result_set, and the runtime mints and refreshes the no-login guest JWT that most 247 routes need. - CFB: 247Sports expansion: the guest-usable
positionsRDB route and a new auth-freesports247_site_pagesstem. - College baseball:
parse_college_baseball_ncaa_pbpand softball twinparse_college_softball_ncaa_pbpsplit stats.ncaa.org pbp into inning context, the batter clause (play_type,hit_trajectory,rbi, …) and runner clauses (runs_scored). - ESPN (cross-league): Core v2 recruiting family
espn_{league}_recruiting_years,espn_{league}_recruiting_players,espn_{league}_recruiting_rankingsfor the 7 NCAA-scope leagues; recruits flatten to a 33-column frame. - MBB:
ncaa_mbb_*(bigballR port over stats.ncaa.org, 33 functions with the WBB twins): pbp with on-floor lineups,_box_scores,_team_schedule,_team_roster,_lineups,_on_off,_possessionsand more, plusresolve_ncaa_team_id/refresh_ncaa_team_ids. - MBB: college RAPM core port (with
wbb_*shims):mbb_lineup_stats(lineup aggregation, on/off),mbb_ratings(Dean Oliver ratings, "Adj Rtg+"),mbb_luck,mbb_rapm(ridge RAPM with priors) andmbb_positions(position classifier,build_position,order_lineup). - MBB: NCAA stint pipeline, runnable end-to-end from saved HTML:
mbb_ncaa_{models,events,possessions,data_quality,names,stints,lineup_enrich,stint_validation}, thembb_ncaa_{roster,boxscore,pbp}_parserparsers, and a strength-adjusted stats engine. - MBB:
mbb_ncaa_fetch, a cache-first, proxy-bound stats.ncaa.org fetch layer (no direct-fetch mode) with anNcaaFetchConfigsingleton configured bySDV_PY_NCAA_*/SDV_PY_PROXYBONANZA_*env vars. - MBB:
lineup_stats_bucket/lineup_stats_buckets(mbb_ncaa_lineup_aggregation) build the 254-fieldLineupStatSetbucket, so a real NCAA game runs parse → enrich → buckets → the ported models. - MBB: hoopR release-parity producers
helper_{nba,mbb}_*lethoopR-nba-data/hoopR-mbb-datacompile their datasets in Python, including new officials andplayer_season_statshelpers. - MBB:
parse_ncaa_bb_officials,parse_ncaa_bb_team_statsandparse_ncaa_bb_linescore(mbb_ncaa_box_tabs) cover the remaining basketball contest-page tabs. - MBB: shot-quality spine:
mbb_shot_data(one shot frame from ESPN shots and NCAA charts, viaespn_shots_to_canonical/shot_events_to_frame),mbb_shot_quality_model/mbb_shot_quality,mbb_shot_selection,mbb_shooter_talent+fit_shrinkage_k. - MBB: player-value spine:
mbb_box_bpm(team-constrained box Plus/Minus),mbb_archetypes(role clusters),mbb_recruiting_projection,mbb_transfer_projection+transfer_cohort,mbb_draft_projection. - MBB:
mbb_team_ratings(AdjO / AdjD / AdjEM / AdjTempo), pregamepredict_margin/win_prob_from_margin/predict_total/mbb_predict_games, and in-gamein_game_features/mbb_in_game_win_prob. - MBB:
mbb_strength_of_schedule(Quad 1–4 résumé, Wins Above Bubble),mbb_bracketology/project_bracket(68-team field and seeds), andmbb_season_sim/mbb_bracket_sim/simulate_game. - MBB:
load_mbb_ratings/load_mbb_player_valueload the published model tags (floor 2006). - MLB: game-state spine:
mlb_run_expectancy_matrix+run_value(...)(RE24, exported atsportsdataverse.mlb), win expectancy + WPA + leverage index, an umpire strike-zone model, team and prop projections. - MLB: pitching spine over Statcast:
mlb_stuff_plus,mlb_command_plus,mlb_pitch_era,mlb_pitch_features,mlb_pitch_sequencing,mlb_pitch_fatigue,mlb_pitch_classify,mlb_pitch_injury. - MLB: fielding / catching / baserunning spine:
mlb_run_values(RE288),mlb_catcher_framing,mlb_catcher_defense,mlb_fielding_oaa,mlb_baserunning,mlb_stolen_base. - NBA:
nba_stats(112nba_stats_<slug>wrappers at stats.nba.com) routed byleague_id:"00"NBA,"20"G-League,"15"Summer League; only capture-confirmed live, non-deprecated endpoints are wrapped. - NBA:
parse_nba_stats_result_sets(raw, result_set=None, *, return_as_pandas=False)returns one frame, or adictfor multi-set payloads, and flattens the shot-location andscoreboardv3shapes. - NBA:
nba_play_context/wnba_play_context(Cleaning the Glass): per-possessionpossession_start_type{,_detail,_ctg},is_transition,is_garbage_time,is_heave_possession; per-shotctg_shot_zone,is_putback,shot_context. - NBA:
lineup_play_context/player_play_context(on/off possessions and points per 5-man unit and per player) andstarters_on_court_counts, which upgradesgarbage_time_basistomargin+starters. - NBA: shot-value spine:
score_shot_xpoints+xpoints_baseline,make_prob_by_context+make_prob_joint,shooter_talent,shot_selection_quality,zone_value_map. - NBA:
nba_shot_valueruns the five shot models (include_context=), withnba_shot_value_lineups;league_idpicks NBA"00", WNBA"10"or G-League"20"(nba_shot_value(..., league_id="20")). - NBA: six tracking over-expected models on
playerdashpt*: rebounding, passer value, drive value, catch-and-shoot vs pull-up, touch value, rim protection; WNBA (league_id="10") shims, G-League degradation path. - NBA: model zoo v1: a validation harness (four external oracles, a meta-oracle, a season
compiler), a trained SPM with the
RatingsModelharness extension, a BPM 2.0 port, and Bayesian adj-RAPM. - NBA: RAPM variants (
nba_rapm_variants):nba_la_rapm(luck-adjusted),nba_four_factor_rapm,nba_decay_rapm; validity against the Ryan Davis oracle runs whenSDV_PY_NBA_ORACLE_DIRis set. - NBA:
external_validity(five published-metric loaders innba_oracle_data.py: RAPM, EPM, LEBRON, DPM, ewins) andwalk_forwardretrodiction, innba_model_validation.py. - NBA:
nba_ratings_panel+ratings_as_of(leakage-free through-date ratings),nba_war+calibrate_pts_per_win/calibrate_replacement_level, and single-game BPM vianba_bpm(granularity="game"). - NBA:
nba_darko, a per-player Kalman filter with an aging curve (AgingCurve/fit_aging_curve) for next-season ratings;darko_forecast_accuracy+ForecastResult; per-seasonAGEvianba_player_ages.py. - NBA:
nba_v3_to_v2_pbp(pbp_v3, box_v3, *, return_as_pandas=False)builds the 61-column v2 pbp frame fromplaybyplayv3+boxscoretraditionalv3(playbyplayv2returns 0 rows), recovering assist / block / steal / sub / jump-ball players. - NBA: a
stats_nbafeed shim lets the v2 frame drive pbpstats' v2 provider (opt in withSDV_PBPSTATS_ROOT);PLAYER1_TEAM_IDis null on team-rebound rows and the"Transition Take"foul subtype is mapped. - NBA: possession event-detail columns (
fg2a/fg2m/fg3a/fg3m/fta/ftm/oreb/tov), a per-shooterbuild_possession_shootingframe, andgame_dateoncompile_nba_seasonoutput (cachePIPELINE_VERSION1 → 2). - NBA: possessions gain
dreb,number_in_period,possession_start_type,count_as_possession; the shooting frame gainsteam_id(cachePIPELINE_VERSION2 → 3). - NBA: quarter-box lineup seeding:
players_on_court_from_quarter_boxscoresandlineup_source="quarter_box"onnba_possessions(auto chain: rotation → quarter_box → pbp). - NBA: opt-in read-through raw JSON store for per-game stats.nba.com payloads
(
{endpoint}/{season}/{game_id}.json): a hit is served from disk, a miss fetches then persists; with nothing set, behavior is unchanged. - NBA: store settings
raw_store_dir=(a root or a per-endpoint mapping) /raw_store_readonly=onnba_possessions,compile_nba_seasonand the fetchers, or envSDV_PY_NBA_RAW_JSON_DIR/SDV_PY_NBA_RAW_JSON_DIR_{ENDPOINT}. - NBA:
load_nba_player_impact(seasons)loads thenba_player_impactrelease (per player-season RAPM / adj-RAPM / SPM / BPM / WAR / Kalman projection, 22 columns); 404-safe with a 1996 floor. - NFL: PFF Premium auth auto-refreshes from a saved Playwright
storage_state(SDV_PY_PFF_STORAGE_STATE, cachedSDV_PY_PFF_STORAGE_STATE_TTLseconds, default 300), as tier 3 aftercookies=andSDV_PY_PFF_*env cookies. - NFL: PFF Premium Stats 2.0 stem
pff_core(premium.pff.com/api/v1, cookie auth, 46 wrappers) withmake_pff_league_moduleshims for nfl / ncaa (cfb) / aaf / ufl;pff_loginis an experimental stub. - NFL:
nfl_season_standings, an nflseedR v2 standings port with the real tiebreaker cascades andtiebreaker_depth(RANDOM<PRE-SOV<SOS<POINTS);nfl_standingsis the api.nfl.com wrapper. - NFL:
nfl_simulations/nfl_compute_results: week-by-week season simulation with a pluggablecompute_results(default: the nflseedR ELO generator), playoffs with reseeding andbyes_per_conf, and a 5-frame summary dict. - NFL: NGS spine:
nfl_ngs_yac_oe(YAC over expected),nfl_ngs_ryoe(rush yards over expected),nfl_ngs_separation_oe,nfl_ngs_man_zone_rates(team man/zone rates), sharednfl_ngs_constants. - NFL: scheme & special-teams spine:
nfl_playcall(run/pass + play-family model, bundlednfl_playcall.ubj),nfl_gamescript,nfl_kicker_rating,nfl_special_teams,nfl_line_grades,nfl_scheme_constants. - NFL: projection & draft spine:
nfl_projection,nfl_usage_projection(shares sum to 1.0),nfl_availability,nfl_draft_model, sharednfl_projection_constants. - NFL: ratings & market spine:
nfl_ratings(opponent-adjusted team ratings),nfl_market(pregame win probability, spread, total),nfl_player_props(yardage distributions),nfl_prediction_constants. - NHL: five microstat value models over api-web pbp + EDGE: faceoff, penalty net, expected
primary / secondary assists, zone entry / exit, EDGE skating (
method="percentile"); PWHL shims (EDGE is NHL-only). - Packaging:
curl_cffi(Chrome TLS impersonation fornba_stats/wnba_statsand 247Sports) is a lazy optional import in thetestsandallextras; without it, a clearImportErrorsays how to install it. - Packaging: PFF
storage_staterefresh needs the new optional Playwright extra:pip install sportsdataverse[pff], thenplaywright install chromium; a missing install raises a clearImportError. - PWHL:
pwhl_xg_proxy, a PWHL game-prediction model: a 2-tier xG proxy from the categoricalshot_quality, feeding the league-agnostic opponent-adjustment + market core. - PWHL:
fit_pwhl_coord_xggainscalibrate_strength=True(default), per-EV/PP/SH Platt recalibrators (PwhlCoordXGModel.strength_calibrators) that shift xG slightly on frames with strength columns. - PWHL:
add_strength_state(pbp, goalie_ids)derivesskaters_home/skaters_away,strength_state(5v5/5v4/6v5) andstrength_state_valid; empty net is not derived (use the goal-levelempty_net). - PWHL:
pwhl_shot_xg()scores every shot into a 21-column_SHOT_XG_SCHEMAframe (model=reuses one fit), andload_pwhl_shifts()/load_pwhl_xg_pbp()load thepwhl_shifts/pwhl_xg_pbptags. - Release: new
sportsdataverse.releasemodule (port of Rsportsdataversedatav0.0.11):sportsdataverse_save()(rds / csv / csv.gz / parquet, type + timestamp metadata) andsportsdataverse_upload()(sidecars,SPORTSDATAVERSE.UPLOAD.*retry config). - Release:
gh_cli_release_upload,gh_cli_release_tags,gh_cli_release_assets,gh_cli_rate_limits,gh_cli_available; one upload per file,qsraisesValueError, no.token(GH_TOKENfalls back toGITHUB_PAT). - Release: native
.rdswriter (sportsdataverse/_rds.py, RDS v2 / XDR) needing no R or new dependency, byte-for-byte equal to R 4.5.3saveRDS(); nested / list columns raiseValueError. - Validation: new
constant_columncheck flags all-null / all-NaN and zero-variance columns as WARNneeds_judgment, minus a per-datasetexpected_constant_columnsallowlist. - Validation: seven CFB modeling-suite datasets are now registered:
cfb_passing,cfb_rushing,cfb_receiving,cfb_percentiles,cfb_team_summaries,cfb_rosters_crosswalk,cfb_rb_eval. - WBB:
ncaa_wbb_*(wbigballR port) with aperiod_modelknob (WBB binds(4, 600, 300)), fixing wbigballR's halves math that misreads regulation WBB as 2-OT; plusparse_ncaa_wbb_*box-tab re-exports. - WBB: shot-quality shims
wbb_shot_data,wbb_shot_quality*,wbb_shot_selection,wbb_shooter_talent(from season 2026, thewbb_shotsrelease floor). - WBB: by-reference shims and women's artifacts for the five player-value models (box-BPM, archetypes, recruiting, transfer, draft projections).
- WBB: prediction shims
wbb_team_ratings,wbb_predict_games,wbb_in_game_win_prob,wbb_strength_of_schedule,wbb_bracketology,wbb_season_sim/wbb_bracket_sim, with women's constants. - WBB:
load_wbb_ratings(floor 2008) /load_wbb_player_value(floor 2014). - WNBA:
wnba_stats(95wnba_stats_<slug>wrappers at stats.wnba.com) and theparse_wnba_stats_result_setsalias. - WNBA:
wnba_shot_value(league_id="10") and re-exports of the five shot-value model functions. - WNBA: WNBA engine fetchers use the same raw store under
SDV_PY_WNBA_RAW_JSON_DIR/SDV_PY_WNBA_RAW_JSON_READONLY(10-prefixed game ids decode as single calendar years).
Changed
- NBA: possession boundaries follow pbpstats
stats_nbais_possession_ending_event(and-1 and FT-trip exceptions, real-rebound and no-turnover filtering, jump balls); technical FTs are inline again. - NFL: known issue, not fixed:
load_nfl_pbp_participationcrashes on multi-season loads (cross-season schema drift); load per season and combine withhow="diagonal_relaxed". - Validation: the weekly validation cron records one run per dataset in the sportsdataverse.org run tracker (one gate per check); a dataset whose release download failed is not recorded.
Deprecated
- CFB: the four On3
_next/datarankings names (on3_player_rankings,on3_industry_player_rankings,on3_team_rankings,on3_industry_team_rankings) are deprecated shims that keep working. - NFL:
calculate_nfl_standingsis deprecated in favor ofnfl_season_standings; the old name emits aDeprecationWarning.
Removed
- Packaging: the unused
pyreadrdependency (runtime deps, themodels/allextras, the conda recipe), which also drops thelibbz2/liblzmaheader requirement on Python 3.9 Linux installs.
Fixed
- CFB:
cfb_ratings()works on the releasedespn_cfb_pbpasset (real calls likecfb_ratings(2023)raisedKeyError); its HFA term is guarded onpos_team/homedtype agreement (a mismatch made every play a road play). - CFB: future-season recruiting projections walk back to the newest teams crosswalk instead of
crashing in
_crosswalk_names_to_espn(which killed thecfb_recruiting_projbackfill on 2026). (#282) - CFB: pbp fixes from
0.36-live: kneel-down flag,cleaned_text/yds_rushed/yds_receivingparsing, box-score volume sort, kickoff fair catch → touchback (2018+), errored-punt end yardline,end_state_missingfill, OT order bysequenceNumber. - CFB: penalty-assessed-on-kickoff plays get the full end-state touchback, so their EPA
neutralizes to 0.0; the
penalty_flagguard now excludes Timeouts. - CFB: interception return yardage no longer counts toward offensive / drive /
total_yards, andstatYardage==0completions are rebuilt from the yardline delta. - CFB: a game ending on a possession-flipping play outside
end_change_vec(notably a safety) no longer reportshome_wp_after = 1.0for the losing team. - CFB: the advanced box score's player-name cleaning strips more invalid cases.
- Codegen: codegen and capture writers emit LF (
newline="\n"), so Windows runs no longer leave endpoint and schema YAMLs dirty with CRLF churn. - Docs: reference-page Returns prose no longer drops the first column and leaves a stray
backtick when a docstring's return description is an inline
col: dtype, ...code span. - HockeyTech:
build_on_iceend intervals are half-open (> end_s), removing impossible ~10-v-10 on-ice states and correcting Corsi / TOI for AHL / OHL / WHL / QMJHL. - HTTP:
download()retries 403/408/429/500/502/503/504 withRetry-After-aware backoff (configurable via the newretry_statuses=), returns the last response once the budget is spent, and no longer caches non-2xx responses. - MBB: the NCAA fetch layer verifies the bm-verify solve: an unsolved
NCAA Statisticsstub forces a re-solve and retry (solve_attempts, default 2), and exhaustion raises so the layer rotates proxies. (#266) - MBB:
raw_game_efficiencyreturns the typed_EFF_SCHEMAempty frame for a season with no boxscore asset instead of raisingColumnNotFoundError(also coversmbb_team_ratings/wbb_team_ratings). (#280) - NBA:
compile_nba_seasonpassesproxy_urlto game discovery too, so a datacenter run no longer compiles zero games with exit 0;proxy_provideris now called N+1 times for an N-game season. (#283) - NBA:
box_featuresmaps the realleaguegamelogcolumnfg3_mtofg3m, fixing aColumnNotFoundErroron the first real-data SPM/BPM run. (#158) - NBA: the raw store never persists an empty
{}payload, which permanently degraded a game to pbp-inferred lineups; empty payloads stay retryable misses (WNBA too). - NBA:
nba_player_positionsreturns one row perplayer_id(traded players were listed once per team, fanning out thepositionsjoin innba_bpm/nba_spm). - NBA:
players_on_court_from_quarter_boxscoresgains an optionalraw_boxname-map source, closing a mid-period name-resolution gap;quarter_boxnow matchesplayers_on_court_from_pbpon the fixtures. - NFL:
load_nfl_ff_playeridsandload_nfl_ff_rankingsretry with exponential backoff on HTTP 429/5xx instead of failing on the first hit. - PWHL:
fit_pwhl_coord_xg/predictraise on a RAW-scale (0–600) frame instead of silently scoring it, andhockeytech._analytics.add_shot_distance_angleassertsgoal_xis in a plausible rink range. - Validation: the R leakage lint reads Rscript output as UTF-8 (UTF-8 R sources were silently
skipped on Windows), and a contract test keeps the workflow's
DATASETS/LINT_TARGETSin step withregistry.py. - WBB: box helpers derive availability from the payload, not ESPN's
boxscoreAvailableflag (false for most pre-2014 games with full stats), closing the 2006–2013 coverage hole; R fixed it the same way in wehoop#64. (#275)
Data
- CFB:
espn_cfb_injurieshas a release but zero assets (ESPN's CFB injuries feed yields nothing), so it has no loader. - CFB: the new
constant_columncheck found all-zerosacked/pass_int/sack_ydscolumns incfb_passing. - PHF: dataset URLs moved from
raw.githubusercontent.compaths to dedicatedsportsdataverse-datarelease tags (phf_pbp,phf_player_boxscores,phf_team_boxscores,phf_schedules); PHF is frozen (2016–2023; 2017–2019 pbp is an upstream gap). (#218)
0.0.71 Release: June 24, 2026
Added
- CFB:
cfb_adjusted_epa()(one row per team: opponent-adjusted off / def / net EPA + ranks) andcfb_adjusted_epa_by_game()(walk-forward, one row per team-game, fit only on prior weeks so leak-free; week 1 is null), a ridge fit on competitive (0.1 ≤ wp_before ≤ 0.9) pass/rush plays. - NFL: the ESPN path (
NFLPlayProcess) gainsqb_epa,wp/vegas_wp(+def_wp/home_wp/away_wp) andxpass/pass_oe; xYAC stays a documented null stub there. - NFL: the nflverse path (
enrich_nfl_pbp) gains the per-play QBR EPA components.
Changed
- NFL: the
xpass, fourth-down andfgmodels gain rule-era one-hots (era0..era4, cuts 2001/2005/2013/2017), and the bundlednfl/models/*are refreshed to the 1999–2025 retrain (two-point on 2010–2025). - NFL: the fourth-down decision surface is on by default in both PBP builders, with each model
scored on its own play-type subset (xpass on scrimmage dropbacks, cp/xyac on pass + air-yards,
fourth-down on
down == 4). - Packaging:
scikit-learnis now a runtime dependency.
Fixed
- NFL:
calculate_xpassbackfills theera0/era1features that_make_cp_mutationsdid not build.
0.0.70 Release: June 24, 2026
Changed
- CFB: bundled
qbr_model,fg_modelandwp_spreadare retrained on the full 2004–2025 corpus reprocessed withcfb_line_oddsmulti-book consensus odds and roster-backed pre-2014 player ids; feature contracts are unchanged (drop-in), and thefourth_downmodel is left unchanged.
0.0.69 Release: June 23, 2026
Added
- CFB:
CFBPlayProcessemits a{type}_player_idfor every{type}_player_name, resolved team-aware against the game roster (identical names on opposing rosters don't collide), all years. - CFB: new
CFBPlayProcess(game_roster=, participants=)constructor params let offline rebuilds pass a stored roster and participants, fetch-free.
Fixed
- CFB: the receiver state-abbreviation strip only removes a trailing standalone token (it had turned "Stewart" into "ewart"), and play-text artifacts ("bea loss of") are nulled before the id join.
0.0.68 Release: June 23, 2026
Added
- CFB:
CFBPlayProcessemitscp/cpoe(100 * (completion - cp), pass plays) andxpass/pass_oe(100 * (pass - xpass), scrimmage rush-or-pass plays) from new bundledcfb/models/cfb_cp_model.ubj/xpass_model.ubj; null where a source column is absent. - CFB: a spread-free win-probability surface,
wp_before_naive/wp_after_naive/wpa_naive(plusdef_/home_/away_analogues), from new bundledcfb/models/wp_naive.ubj. - CFB:
sportsdataverse.cfb.get_4th_down_probs(pbp_df)(cfb4th port) adds go / punt / field-goal WP columns,fourth_down_recommendation(go,punt,field_goal),*_wp_diffandgo_boost;CFBPlayProcess.add_fourth_down_probs()applies it to a processed game's fourth-down rows. - CFB: fourth-down models
fg_model.ubjandpunt_distribution.parquet(bundled) andfd_model.ubj(download-on-demand, cached under~/.cache/sportsdataverse/cfb_models/, override withSDV_PY_CFB_MODEL_DIR). - CFB:
sportsdataverse.cfb.get_2pt_probs(pbp_df)(cfb4th port) addstwo_pt_wp,xp_wp,prob_2pt,two_pt_recommendation(go_for_2,kick_xp) andtwo_pt_wp_diff;CFBPlayProcess.add_2pt_probs()applies it to a processed game's point-after rows. - CFB: new bundled
two_pt_model.ubjsuppliesprob_2pt;prob_xpis the empirical CFB extra-point make rate0.9851. - CFB:
run_processing_pipeline(fourth_down_probs=True, two_pt_probs=True)appends the fourth-down and two-point decision columns by default. - NFL:
calculate_xpassaddsxpassandpass_oeto enriched NFL PBP, andnfl/nfl_fourth_down.pyports nfl4th's go / field-goal / punt WP and recommendation (download-on-demandfd_model/wp_model). - NFL:
load_nfl_espn_qbr(aliasload_espn_qbr) loads ESPN Total QBR:summary_type=season|week, 2006+,source=the nflverseespn_dataor the SDV-nativenfl_espn_qbrrelease.
Changed
- CFB: bundled
qbr_model.ubjis retrained on the full 2004–2025 history, replacing the 2020-lineage model (2021–2025 holdout RMSE 23.2 → 16.1 against ESPN raw QBR). - CFB: rule-era one-hots (
era0..era3, cuts 2006/2013/2020): QBR becomes the 10-feature era model,fg_model.ubjthe 5-feature one, andfd_model.ubjthe 9-feature one, now bundled (was download-on-demand). - CFB: bundled
wp_spread.ubjis retrained on the odds-backfilled frame (~2,167 missing-spread games now carry consensus spreads); same 13-feature contract. - NFL:
get_fg_wp/get_2pt_wpuse a self-trained XGBoost FG model (fg_model.ubj:yardline_100,fg_roof,fg_era) instead of the mgcv-GAM grid; the nfl4th long-kick clamps are unchanged. - NFL:
xpass_model.ubjis bundled undernfl/models/, socalculate_xpassworks offline with no first-use download; output is unchanged.
Fixed
- CFB: the
spread_timesign in_predict_wpis corrected to+pos_team_spread·exp(−4·elapsed_share); favorites had been scored as underdogs inget_go_wp/get_fg_wp/get_punt_wp. - CFB: 2004–2013 games now populate rusher, passer, receiver, sack, fg-kicker, punter, returner and fumble player names from play text (all null before); 2014+ output is unchanged.
0.0.67 Release: June 17, 2026
Added
- NFL:
enrich_nfl_pbp()(lead-diff orchestrator) computes nflverse-native EP / EPA / WP / WPA / CP / xYAC on a real nflverse PBP frame, aligned to nflfastR. - NFL: shared
calculate_epa()/calculate_wpa()insportsdataverse/nfl/ep_wp.py, with the NFL EP/WP constants and column contract centralized insportsdataverse/nfl/model_vars.py.
Changed
- CFB: bundled
ep_model.ubjandwp_spread.ubjare retrained on 2,219,607 plays from 2004–2025 with unchanged recipes and feature order (drop-in); the QBR model is intentionally unchanged. - Codegen: returns-table descriptions live in new
tools/codegen/manual_column_descriptions.yaml(keyed by schema, with a_globalfallback), so they survive re-capture; a test holds the render-blank residual at 0. - Docs: ~3,061 previously blank returns-table descriptions are filled (NFL, MLB, NHL, CFB, the ESPN game summary, NBA/WNBA/MBB/WBB, PWHL and CHL junior hockey, shared schemas).
- Docs: generated docstrings no longer emit raw
>>>doctest prompts (now napoleonQuick start::blocks), and the ~55 hand-written prompts were converted. - Docs: 78 new native returns tables: NHL api-web (9), stats-rest (10), records (37), EDGE (15) and MLB Stats API (8).
- Docs: three new tutorials under
examples/notebooks/(rendered todocs/docs/tutorials/): Soccer, Cricket, and Other ESPN leagues (UFL/XFL/CFL, college baseball/softball, NCAA hockey).
Fixed
- Codegen:
refresh_return_schemasno longer writes 0-column per-league schemas that hid the genericschemas/{name}.yamlreturns table. - NFL: faithful model artifacts replace the CFB 8-feature placeholders under
nfl/models/(ep_model.ubj18 features,wp_spread.ubj12,wp_naive.ubj11,cp_model.ubj18), fixing thexgboost num_feature >= num_col (8 vs 18)mismatch.
0.0.66 Release: June 17, 2026
Fixed
- CFB:
CFBPlayProcess.run_processing_pipeline()no longer raisesColumnNotFoundError: unable to find column "end.team.id"on sparse pre-2010 games (e.g. 2005 game252440154); healthy games' output is unchanged.
0.0.65 Release: June 17, 2026
Breaking changes
- MLB: the 64 generated
mlb_api.pyand 15 hand-writtenmlb_api_extra.pyStats API wrappers are renamedmlb_api_{short}→mlb_{short}, with no aliases.
Upgrade notes — Update call sites from mlb_api_{short} to mlb_{short}; there are no aliases.
Changed
- Namespace: minor/alias leagues are nested under sport-group packages
(
sportsdataverse.soccer.epl,.hockey.ahl,.football.ufl,.baseball.college_baseball); the 8 majors plus pwhl/soccer/cricket stay top-level. - Namespace:
import sportsdataversenow eagerly loads the 12 soccer-alias submodules, anddiscover.function_count()/list_functions()keep flat-leaf keys (function_count(league="ufl")works).
Deprecated
- Namespace: legacy flat league imports (
sportsdataverse.epl,import sportsdataverse.ufl) still resolve but emit aDeprecationWarning.
Fixed
- ESPN: the seven
espn_*_game_rosters(cfb,mbb,nba,nfl,nhl,wbb,wnba) no longer raiseColumnNotFoundError: "logos" not foundon pre-2010 payloads, norTypeError: the truth value of a Series is ambiguousfrom row-wise logo assignment.
0.0.64 Release: June 17, 2026
Breaking changes
- MLB: the pre-0.0.64
statcast_*functions are renamed to themlb_statcast_*convention, with no aliases.
Added
- MLB: the full ~43-endpoint Baseball Savant surface as
mlb_statcast_<family>_<name>(search,leaderboard,gamefeed,player), parsed by default (return_parsed=False/raw=Truefor raw): 37 leaderboards,mlb_statcast_gamefeedandmlb_statcast_schedule. - MLB:
mlb_statcast_search(+_minors,_wbc) auto-chunks the 25,000-row cap and translates friendly filters (season,pitch_type,at_bat_result,batters_lookup, ...) to Savant'shf*params;mlb_statcast_playerparses a page'sserverValssection (defaultstatcast,section=).
Changed
- Docs: returns tables for every frame-returning
mlb_statcast_*function, andexamples/notebooks/09_mlb_intro.ipynbmodernized to the new surface. - Docs: live-captured returns tables for all 11
api.nfl.com(nfl_api) endpoints (standings,rosters,teams_history,team,weeks,weeks_by_date,combine_profiles,draft_picks,injuries,game_summaries,weekly_game_details); no runtime change.
0.0.63 Release: June 16, 2026
Fixed
- ESPN:
espn_wbb/wnba/nba/mbb/nfl/cfb_game_rostersno longer hard-fail withShapeErrorand discard a game whose two teams ship different roster columns (the per-team concat is now diagonal). - HTTP:
dl_utils.downloadfails fast on a definitive 404 (NoESPNDataError) instead of retrying the fullnum_retriesbudget (~51s of backoff); connection, timeout and 5xx errors still retry.
0.0.62 Release: June 16, 2026
Fixed
- ESPN:
espn_wbb_game_rosters,espn_wnba_game_rosters,espn_nba_game_rosters,espn_mbb_game_rosters,espn_nhl_game_rostersandespn_nfl_game_rostersno longer raiseColumnNotFoundErroron older games that omit the team-levelstatistics$ref. - ESPN: the same six builders tolerate one team's
/roster404: the other team's roster is returned, andNoESPNDataErroris raised only when every team is empty.
0.0.61 Release: June 16, 2026
Fixed
- CFB:
espn_cfb_game_rostersno longer raisesColumnNotFoundErroron older (e.g. pre-2021) games that omit the team-levelstatistics$ref. - CFB:
espn_cfb_game_rosterstolerates one team's/roster404 (common for older games and FCS opponents), returning the other team;NoESPNDataErroris raised only when every team is empty.
0.0.60 Release: June 15, 2026
Added
- NFL:
sportsdataverse.nfl.ep_wpgainscalculate_expected_points,calculate_win_probability,calculate_completion_probability(CP + CPOE) andcalculate_xyac(four XYAC sub-models), wired intoNFLPlayProcesswith bundled XGBoost.ubjmodels.
Fixed
- CFB:
espn_cfb_scheduleskips the null-competitor placeholder events in the 2010 and 2014 scoreboards instead of raisingTypeError: 'NoneType' object is not subscriptable.
0.0.59 Release: June 13, 2026
Added
- CFB: 404-safe crosswalk loaders read the
cfb_crosswalkrelease:load_cfb_teams_crosswalk(seasons=)andload_cfb_schedule_crosswalk(seasons=)are per season (min_season2014, published 2014–2025); all acceptreturn_as_pandas=. - CFB:
load_cfb_rosters_crosswalk()is season-less (one current-roster snapshot);cfb_odds_events_crosswalk(The Odds API event id ↔ ESPN game id) stays live-only. - College baseball: NCAA college baseball and softball ESPN families (
espn_college_baseball_*,espn_college_softball_*). - College hockey: NCAA men's and women's college hockey ESPN families (
espn_mch_*,espn_wch_*). - Cricket: league-parameterized
espn_cricket_*(league=)family, with parsers for scoreboard, standings and an 8-section matchcard summary dispatcher (batting, bowling, partnerships). - Soccer: league-parameterized
espn_soccer_*(league=)family plus headline aliases (espn_epl_*,espn_ucl_*,espn_mls_*, ...). - Soccer: full-parity parsers: scoreboard → matches, standings → league table (group column), teams, roster, and an 11-section summary dispatcher (header, lineups, key_events, team_stats, commentary, leaders, standings, head_to_head, last_five, game_info, shootout).
- UFL/XFL/CFL: ESPN families
espn_ufl_*,espn_xfl_*andespn_cfl_*.
0.0.58 Release: June 12, 2026
Added
- Errors: a
SportsDataverseErrorbase class (SeasonNotFoundError/NoESPNDataErrorre-parented under it) and a package logger with aNullHandler; previously silentexceptpaths now log. - MBB: loaders
load_mbb_standings,load_mbb_player_season_stats,load_mbb_team_season_stats,load_mbb_rosters,load_mbb_officialsandload_mbb_game_rosters, each with a returns table. - NBA: loaders
load_nba_player_season_stats,load_nba_team_season_stats,load_nba_draftandload_nba_rosters, each with a returns table. - NFL: a new
NFL_ACCESS_TOKENenv var injects a pre-mintedapi.nfl.combearer token;nfl_clear_token_cache()forces a fresh mint andnfl_token_gen(force_refresh=True)re-mints. - Odds: new
sportsdataverse.oddswrapping The Odds API v4 (oddsapiRtoa_*parity):toa_sports,toa_sports_odds,toa_sports_scores,toa_sports_events,toa_event_odds,toa_event_markets,toa_sports_participants, three*_historyvariants andtoa_usage. - Odds: the odds endpoints return long-format frames (event × bookmaker × market × outcome);
the key comes from the
ODDS_API_KEYenv var orapi_key=. - Packaging: ships a PEP 561
py.typedmarker. - Yahoo: college football wrappers
yahoo_cfb_player_season_stats,yahoo_cfb_team_season_stats, the*_season_stats_legacyvariants,yahoo_cfb_scoreboardand ayahoo_cfb_boxscorescaffold.
Changed
- CI: a new
quality.ymlgate runsruff,ruff format --checkandmypy(with a[tool.mypy] filesratchet) on every PR, and the test workflow emits coverage. - Codegen: output is LF-only on every platform and the ruff format pass is pinned to the
project's ruff; the flat-API codegen gains
getter_module+authsupport. - Deprecation: new centralized
sportsdataverse._deprecation(warn_deprecated,@deprecated) with a documented removal window; the 11 per-type NFL loader aliases migrate to it. - Docs: the NFL docs list a dedicated "NFL.com API" reference grouping (11 functions).
- Docs: an OpenAPI 3.1 description of the NFL.com "Shield" API (
api.nfl.com) is added to the reference specs (the maintainers' private NFL notes,sdv-swagger/nfl_api_openapi.yaml). - Fox:
cfb_fox_ext.FOX_DATA_KEYis imported from_fox_layout.DATA_KEY, so the bundled Fox key and itsSDV_PY_FOX_DATA_KEYoverride live in one place. - HTTP:
dl_utils.download()reuses a pooledrequests.Sessionand backs off honoringRetry-After(seconds or HTTP-date, clamped non-negative, 120s ceiling) instead of a fixed sleep. - NFL: the
api.nfl.comwrappers (nfl_standings,nfl_rosters,nfl_injuries, ...) are now generated fromnfl_api.yaml; their signatures gainreturn_parsed/**kwargs. - NFL: the
api.nfl.combearer token is minted once, cached in-process and auto-renewed before its JWTexp, instead of a token POST on every call. - NHL:
load_nhl_pbp,load_nhl_player_boxscore,load_nhl_team_boxscoreandload_nhl_scheduleread the SDV-native releases (nhl_pbp_full,nhl_player_boxscores,nhl_team_boxscores,nhl_schedules) instead offastRhockey-data;min_season2011 → 2010. - Tests: a VCR-style record/replay harness (committed, secret-scrubbed cassettes) exercises the
real
download()→ parser path offline.
Fixed
- Codegen: the
--audit-releasesdrift check keys on the release tag instead of its title, so it no longer flags valid releases as missing. - NFL:
load_nfl_players()reads the nflverse players release (players/players.parquet) on both paths; the default polars path had returned the officials dataset. - NFL: the generated
api.nfl.comwrappers go throughdl_utils.download()(retries, cache, error handling) instead ofrequests.get(), andNoneno longer leaks onto the wire from boolean flags or thenfl_weeksseason/season_typepath params.
0.0.57 Release: June 10, 2026
Added
- Fox: read-only Fox Sports Bifrost wrappers over
api.foxsports.com/bifrost/v1; CFB getsfox_cfb_pbp,fox_cfb_boxscore,fox_cfb_odds,fox_cfb_team_roster,fox_cfb_team_stats,fox_cfb_team_gamelog,fox_cfb_standingsandfox_cfb_league_leaders. - Fox: NBA, MBB and NHL get the same eight wrappers (
fox_<sport>_pbp,_boxscore,_odds,_team_roster,_team_stats,_team_gamelog,_standings,_league_leaders), with period-based play-by-play and a long per-player-stat boxscore. - Fox: MLB gets
fox_mlb_team_roster,fox_mlb_team_stats,fox_mlb_team_gamelog,fox_mlb_standings,fox_mlb_league_leadersandfox_mlb_odds; Fox exposes no MLB play-by-play or boxscore. - Fox:
fox_cfb_play_process(event_id)runs Fox data throughCFBPlayProcess(EPA / WPA / advanced box score) as a backup to ESPN (process=Falsecleans only,raw=Truereturns the adapted summary); the payload is taggedsource="fox". - Fox:
fox_to_espn_summary(fox_data)(sportsdataverse.cfb.cfb_pbp_fox) adapts a Fox payload to the ESPN summary shape; text-derived features degrade vs ESPN, archive-format Fox games are rejected, and a Fox event id is not an ESPN game id.
0.0.56 Release: June 9, 2026
Breaking changes
- ESPN: ~40 always-erroring generated wrappers across 8 leagues are removed: the season-less
espn_*_coachesandespn_*_calendar_{offseason,regular_season,postseason,ondays}. Useespn_*_season_coaches, the coach-detail endpoints (espn_*_coach, ...) orespn_*_calendar.
Added
- HockeyTech: AHL, OHL, WHL and QMJHL families (
sportsdataverse.{ahl,ohl,whl,qmjhl}): schedule, pbp, standings, teams, team_roster, player_stats, leaders, game_summary, season_id andmost_recent_<lg>_season, over one sharedsportsdataverse.hockeytechcore. - HockeyTech:
<lg>_game_shifts,<lg>_player_toi,<lg>_game_corsi(on-ice Corsi/Fenwick) and an enriched<lg>_pbpfor all five leagues; the feed has no missed shots, so every analytics output carriescorsi_includes_missed = False. - NFL: token-free Next Gen Stats wrappers:
nfl_ngs_statboard,nfl_ngs_statboard_leaders,nfl_ngs_leaders,nfl_ngs_league_schedule[_current],nfl_ngs_league_teams,nfl_ngs_gamecenter_overview,nfl_ngs_microsite_chart[_players],nfl_ngs_play_is_highlight. - NFL:
api.nfl.com/football/v2+/experiencewrappers:nfl_standings,nfl_rosters,nfl_teams_history,nfl_team,nfl_weeks,nfl_weeks_by_date,nfl_combine_profiles,nfl_draft_picks,nfl_injuries,nfl_game_summaries,nfl_weekly_game_details. - NFL:
nfl_game_pbp(game_id)(one row per play, withgame_id/home_team/visitor_team) andnfl_week_games(season, season_type, week)(one row per game) parse the raw game dicts. - NFL: NFL.com auth defaults to the public
WEB_DESKTOPweb-client credentials, overridable via theNFL_CLIENT_KEY/NFL_CLIENT_SECRETenv vars or function args. - NHL: loader aliases
load_nhl_team_box,load_nhl_player_box,load_nhl_skater_boxandload_nhl_goalie_box(forload_nhl_team_boxscore,_player_boxscore,_skater_boxscores,_goalie_boxscores), plusload_nhl_games(), the games-in-data-repo manifest. - PWHL: live wrappers at fastRhockey parity:
pwhl_schedule,pwhl_scorebar,pwhl_game_info,pwhl_game_summary,pwhl_pbp,pwhl_player_box,pwhl_teams,pwhl_team_roster,pwhl_standings,pwhl_playoff_bracket,pwhl_season_id,most_recent_pwhl_season. - PWHL: live player and stats wrappers:
pwhl_player_info,pwhl_player_stats,pwhl_player_game_log,pwhl_player_search,pwhl_stats,pwhl_leaders,pwhl_streaks,pwhl_transactions. - PWHL: loader aliases
load_pwhl_team_box,load_pwhl_player_box,load_pwhl_skater_box,load_pwhl_goalie_boxandload_pwhl_schedule(for the*_boxscores/load_pwhl_schedulesloaders), plusload_pwhl_games(), the games-in-data-repo manifest.
Changed
- Docs: autodoc returns tables for all 23 new NFL functions.
- Docs: each league
index.mdhas a Python ↔ R parity table linking every function to its sister R package equivalent (cfbfastR / hoopR / wehoop / baseballr / fastRhockey). - Docs: the NFL parity table maps the
load_nfl_*loaders to their nflreadr names (e.g.load_nfl_pbp→load_pbp,load_nfl_schedule→load_schedules); NFL rows go from 26 to 49. - Docs: NFL returns-table description fill rises from ~36% to ~85%, mined from nflreadr and nflfastR field dictionaries, which also backfills shared CFB and MLB columns.
- Docs:
CFBPlayProcessandNFLPlayProcesspages document all 7 public methods, constructor parameter descriptions are backfilled from__init__, andCFBPlayProcessgains a class docstring. - Docs: the example notebooks grow to ten (
05_wbb_introand08_wnba_introsplit out, new09_mlb_introand10_pwhl_intro, an ESPN-NHL section in the NHL notebook). - Docs: notebooks render with real outputs to an on-site Tutorials section
(
docs/docs/tutorials/, viatools/codegen/render_notebooks.py), re-executed weekly.
Fixed
- Docs: the example notebooks execute clean end-to-end again (schema and usage drift such as
home_display_name/away_display_name,espn_cfb_schedule(dates=)andfull_name). - Docs: the parity tables no longer drop functions from
additional.mdor 404 their parity links (the "already documented" check no longer counts the index). - Docs: every autodoc heading carries a stable
{#name}anchor, fixing theespn_nhl_teamslink inecosystem.md. - Docs: examples whose reST literal-block intro wraps across lines no longer leak prose into the
code block (fixes the
NflConfigandespn_wbb_team_statsexamples). - Docs:
ecosystem.mdlinks all seven example notebooks, and each leagueindex.mdgains an Examples section linking the quickstart and that sport's intro notebook. - NFL:
nfl_game_schedule/nfl_game_detailswork again, rebuilt onnfl_token_gen()and/identity/v3/tokenafter NFL.com retired/v1/reroute(404 →JSONDecodeError).
0.0.55 Release: June 8, 2026
Changed
- Docs: Autodoc "Additional functions" pages render full Parameters tables (name, type, default, description), Returns and runnable Example blocks parsed from each docstring.
- Docs: Endpoint reference pages gained a Description column on the parameter table; shared query params carry authored descriptions.
- Docs: Function Returns are
col_name | type | descriptiontables: endpoint pages from per-sport schemas, autodoc DataFrame functions from the newgenerate.py --autodoc-schemaspass. - Docs: Return-table column descriptions are filled by column name from the cfbfastR / hoopR /
wehoop / baseballr
@returndocs (tools/codegen/r_column_descriptions.yaml); curated ones win. - NBA/WNBA:
espn_nba_game_rosters/espn_wnba_game_rostersframes now include ateam_alternate_ids_sdrcolumn when ESPN ships it.
Fixed
- ESPN:
espn_mbb_game_rosters/espn_wbb_game_rosters/espn_nfl_game_rostersno longer raise aShapeErrorwhen ESPN ships extra*_$reffields; columns are now renamed by source key. - NHL:
espn_nhl_scheduleno longer fails with'NoneType' object has no attribute 'get'when called with default args.
0.0.54 Release: June 8, 2026
Breaking changes
- Wrappers: Parser-backed wrappers now default to
return_parsed=Trueand return a tidy polars DataFrame instead of the rawDict; wrappers without a registered parser still returnDict.
Upgrade notes — pass return_parsed=False to get the raw Dict back; return_as_pandas=True
switches polars to pandas. The sportsdataverse.parsed.{league} mirror modules are unaffected.
Added
- MLB: Full
statsapi.mlb.comcoverage: 38 more endpoints (home run derby, all-star ballots, free agents, game pace, team coaches/personnel, schedule variants, etc.); 28 ship with fixtures and return schemas, and the auth-gated MLBAM feeds (analytics/guids/color) are wrapped for if access exists.
Changed
- Docs: Native API pages (
nhl_api_web/nhl_edge/nhl_records/nhl_stats_rest/mlb_api) gained accurate return schemas, introspected and gated bygenerate.py --check. - Docs: ~180 hand-written wrappers, loaders, statcast and utility functions are now rendered into per-league "Additional functions" reference pages from their live signatures and docstrings.
- Docs: New
generate.py --coverageaudit fails--checkwhen an in-scope exported function is undocumented (allowlist:tools/codegen/coverage_allowlist.yaml).
Deprecated
- Parsed modules:
sportsdataverse.parsed.{league}is deprecated: importing aparsed.*module emits aDeprecationWarning(it still works and will be removed in a future release). Migrate tofrom sportsdataverse.{league} import <fn>.
Fixed
- Docs:
@returntables are derived per league by running the real parsers on per-sport fixtures (generate.py --schemas), so MLB/NHL pages no longer show basketball boxscore columns.
0.0.53 Release: June 8, 2026
Highlights
- ESPN wrappers are generated from declarative endpoint YAML with real signatures and docstrings, and
NHL gets a full 115-function
espn_nhl_*surface. espn_*names follow the hoopR / wehoop / cfbfastR taxonomy (athlete -> player,event -> game).- NHL api-web wrappers drop the
webqualifier (nhl_web_boxscore -> nhl_boxscore); all five native API families are now generated. - 92 release-backed
load_*loaders, including the new PWHL league (sportsdataverse.pwhl). - CFB advanced box score: correct team attribution, ESPN-sourced totals and new defensive and specialist sections.
Breaking changes
- CFB: The standalone
espn_cfb_pbp(game_id=...)is gone in the post-rename API; useCFBPlayProcess(gameId=...).espn_cfb_pbp()followed by.run_processing_pipeline(). - CFB:
espn_cfb_*also getsseason_*cleanups vs cfbfastR (futures/groups/recruits/week_rankings;powerindex -> team_powerindex); the exceptions live intools/codegen/espn_rename_map.yaml. - ESPN: Generated
espn_*names follow the cfbfastR / hoopR / wehoop taxonomy in all eight leagues (behavior unchanged), per underscore token:athlete -> player(athlete_vs_athlete -> player_vs_player,athletes_index -> players_index,season_athletes -> season_players). - ESPN:
event -> gamein every position: bareevent -> game,events -> games,event_* -> game_*,season_week_events -> season_week_games. - ESPN: Combined mappings run first:
event_competitor* -> game_team*,event_competition -> game_competition,event_competition_* -> game_*; compound tokens are kept (athlete_eventlog -> player_eventlog). - ESPN: Internal:
sportsdataverse._common_espnno longer exposes the factory (make_league_module,_bind, the_*_WRAPPERStables) or the private_site_v2_*/_core_v2_*core functions. - MBB/WBB: Removed
espn_mbb_bracketology()/espn_wbb_bracketology(), the_common_ncaa.pymodule andregister_ncaa_bracketology(); the ephemeral, non-league endpoint is no longer carried. - NHL: api-web wrappers drop the
webqualifier where the clean name is free (26 functions), e.g.nhl_web_boxscore -> nhl_boxscore,nhl_web_standings -> nhl_standings,nhl_web_roster -> nhl_roster,nhl_web_scoreboard -> nhl_scoreboard; URL, params and parser are identical. - NHL:
nhl_web_pbpandnhl_web_schedulekeep their names (they collide with hand-written composites); the full rename map istools/codegen/rename_map.yaml. - NHL: Removed the deprecated
sportsdataverse.nhl.nhl_apimodule (it targeted the retiredstatsapi.web.nhl.com); usenhl_api_web/nhl_pbpinstead. - WBB/WNBA:
espn_wbb_player_stats/espn_wnba_player_statsnow return one core-v2 seasonDataFrameinstead of adictof web-v3 category frames; the web-v3 payload moved toespn_wbb_player_stats_v3/espn_wnba_player_stats_v3. - WBB/WNBA: The hand-written parsed
espn_{wbb,wnba}_event_officialsis renamedespn_{wbb,wnba}_game_officials(core-api officials with ids); the generated raw wrapper of that name is suppressed.
Upgrade notes — tests that intercept the generated wrappers must mock
sportsdataverse._codegen_runtime.download (not _common_espn._get): the shared _get / _csv
helpers now live in sportsdataverse._codegen_runtime, and _common_espn re-exports them.
Added
- CFB:
create_box_score()(andrun_processing_pipeline()'sadvBoxScore) gains adefensive_playerssection: per-defendersacks,pass_breakups,interceptions,forced_fumbles,fumble_recoveries(plus yards), keyed bydef_pos_team+player_name. - CFB: New
specialistsbox-score section:field_goals,punts,kick_returns,punt_returns(plus yards) keyed bypos_team+player_name; both new sections degrade to[]when empty. - CFB: New
espn_teamandespn_playersbox-score sections surface ESPN's official box verbatim (turnovers, fumbles lost, interceptions, yards, penalties, first downs, player stat lines). - CFB: New per-play attribution columns
kicking_team,return_team,fumbling_team,recovery_team,recovery_team_2,penalized_team, and per-side turnover flagsis_pos_team_turnover/is_def_pos_team_turnover(one play can turn over for both teams). - CFB: New
is_blocked_punt_turnover/is_blocked_fg_turnoverflags for blocked kicks the defense recovers, kept out ofis_turnover/is_st_turnover, which match ESPN's giveaway count. - ESPN: Every league exposes a bare
espn_<league>_player_stats(core-v2 season line: one wide row of{category}_{stat}+team_*columns) withseason_type("regular"/"postseason") andtotalparams, plusespn_<league>_player_stats_v3(web-v3 comprehensive). - Loaders: The release manifest grows from 24 to 92 loaders (WNBA
espn_wnba_*+wnba_stats_*, the full NHLnhl_*family incl. EDGE/lite/boxscores, WBB, NBA, MBB), each with a@returntable;load_cfb_betting_lines,get_cfb_teamsandnhl_teamsare kept. - NHL: New
espn_nhl_*surface (115 functions): the full ESPN Site v2 / Web v3 / Core v2 surface, andfind()now works for NHL. - PWHL: New
sportsdataverse.pwhlleague with 15 release-backed loaders (e.g.load_pwhl_pbp).
Changed
- CFB: The box-score
turnoverlist is ordered[home, away]and every row carriesteam_id; key byteam_idrather than list position. - CFB: The
turnoversection takesturnovers/Int/fumbles_lostfrom the ESPN box (espn_sourced=True); the play-by-play derivation stays under*_pbpkeys as a fallback. - CFB: ESPN's native per-play
isTurnover/isPenaltypass through as columns (populated back to 2018) as cross-checks, not sources of truth:isTurnoveris coarser andisPenaltyflags only primary-penalty plays. - CFB: Pre-2014 era support: in a 2004-2019 sweep every game with play-by-play yields valid EPA/WPA and a full advanced box score; games without PBP still exit early.
- CFB: Era notes in the architecture reference: before 2014 player names come from text only,
ESPN's win-probability array is empty before ~2016 (
wpais computed in-house), PBP is sparse before 2008. - Codegen:
generate.py --check(and thesdv-codegenpre-commit hook) fail when committed wrappers or generated docs drift from the endpoint metadata; the defaultbuildwrites them. - Codegen: New
generate.py --audit-releasescompares the loader manifest with the live release list and reports tags without a loader and orphans; tags not yet shipping parquet stay absent. - Docs:
generate.py --docsrenders the reference tree intodocs/docs/{league}/(per-leagueindex.md, a page per ESPN API and native family,reference/loaders.md,reference/parameters.md), replacing the legacy Sphinx apidoc dumps. - Docs: Each function gets an 8-section block (summary, endpoint URL, a valid example URL, a
parameter table, a
@returntable, a runnable example, a validated date) under its emitted name. - Docs: Loader docstrings carry
|col_name|type|@returntables introspected from each parquet footer (tools/codegen/schemas/loader_schemas.yaml,generate.py --loader-schemas). - Docs:
docs/sidebars.tsmakes each league a clickable category with an autogenerated reference subtree and adds a top-level "Parameter reference" entry. - Docs: Example notebooks are CI-executed with
nbmake(weeklylive-tests-cron, non-blocking);02_cfb_introwas rewritten to theCFBPlayProcessflow. - Docs: New Ecosystem & philosophy page: design
philosophy, naming paradigm, Python ↔ R sister mapping, nflverse / PySport, the data repositories
and a 1:1 function map;
intro.mdand all seven notebooks link to it. - Docs: The ESPN cross-league architecture
page now describes declarative codegen instead of the retired
make_league_module()factory. - Docs: The generated docs are the live default at
/docs/(lastVersion: 'current', labelledmain) and refresh on every deploy; the legacy docs stay archived at/docs/0.0.50/. - Docs: The site builds on Vercel on push to
main; at each releasecd docs && yarn version:docs <x.y.z>freezes a per-release archive. - Docs: The home page (
docs/src/pages/index.tsx) now covers Basketball / Football / Baseball / Hockey, each card naming its R sister, with an "Ecosystem & philosophy" call-to-action. - ESPN: Wrappers are generated from
tools/codegen/endpoints/*.yamlintosportsdataverse/<league>/<league>_espn_ext.pyinstead of registered at import time: real parameter names, type hints and docstrings, with byte-identical URLs and query strings. - ESPN: Renames that would clash with a hand-written sibling are skipped (
teams_site,espn_cfb_season_{team,awards,coaches}); one-to-many splits such assummaryremain for curation (docs/superpowers/specs/espn-r-naming-worksheet.md). - ESPN: When names collide across different endpoints, one keeps the bare name and the newer one is
version-qualified: web-v3
/athletes/{id}/statsbecomesespn_*_player_stats_v3only when a hand-written bareplayer_statsexists. - MLB:
mlb_apiis now generated and keeps itsmlb_api_*names (non-breaking, 41 names);passthrough_queryforwardshydrate/fields. - NHL:
nhl_edge(35) andnhl_stats_rest(21) are now generated and keep theirnhl_edge_*/nhl_stats_rest_*names;**filters(cayenneExp/sort/limit, …) still pass through andreturn_parsedis wired where a parser exists. - NHL:
nhl_recordsis now generated and keeps itsnhl_records_*names (non-breaking, 50 functions).
Removed
- Packaging: The legacy Sphinx pipeline (
create_docs.sh+Sphinx-docs/) is deleted, and thesphinx/sphinx-markdown-builder/sphinx-materialdev dependencies are dropped from thedocsextra/group and theallextra.
Fixed
- CFB: Special-teams turnovers (muffed punts, kickoff-return fumbles, blocked-kick recoveries) are
now counted, and overturned plays (
"(Original Play: …)") are stripped so a reversed fumble is not. - CFB: Turnover margins / luck are keyed by team identity and can no longer be swapped or sign-flipped between teams.
- CFB: Fumble recoveries are credited to the recovering team, punt returns to the returning team,
and penalty yards to the penalized team (new
penalty_yards; legacytotal_pen_yardskept). - CFB: The real play just before an "End of period/half/game" marker is no longer dropped by dedup, so end-of-half turnovers such as a Hail Mary interception are kept.
- CFB:
run_processing_pipeline()joinsespn_cfb_play_participants, so player names no longer carry team prefixes (e.g."BYU Dayan Ghanwoloku"); setjoin_participants = Falseto skip it. - CFB: An interception whose returner later fumbled is no longer relabeled
"Fumble Recovery (Opponent)"; it stays"Interception Return"and keeps itsintflag. - CFB: A sack-fumble the offense recovers is
Fumble Recovery (Own)again, and a punt-return fumble the punting team recovers isPunt Team Fumble Recovery; EPA is recomputed to match. - CFB: A blocked field goal ESPN types as
Extra Point Missedis relabeledBlocked Field Goal[ Touchdown], correcting its EPA; genuine blocked PATs are untouched. - CFB: Pre-2014
2pt Conversionrows resolve viascoringPlaytoTwo-Point Conversion Good/Two-Point Conversion Missedand score through the two-point path. - CFB: 2004
Unknownrows are relabeled from their text: period/game markers ->End Period, misclassified kicks ->Field Goal Missed/Extra Point Missed/… Good. - CFB: Pre-2014
Kickoff Return (Defense)(onside kick recovered) becomesKickoff. - CFB: Separate extra-point rows in the few pre-2005 games that ship a real down get the no-down
sentinel (
down/distance = -1).
0.0.52 Release: June 3, 2026
Added
- CFB: New
CFBPlayProcess(odds_override=...): a dict ofgameSpread,overUnder,homeFavorite,gameSpreadAvailableis used as-is, so offline rebuilds never hit the network or default odds; a missing key or non-dict raisesValueError. No override = unchanged behavior. - CFB: New
CFBPlayProcess.odds_source("summary_pickcenter","core_odds_api","default"or"injected"), also written into the returned payload forrun_processing_pipeline()/run_cleaning_pipeline()consumers.
Changed
- CFB:
CFBPlayProcess(gameId=..., raw=True).espn_cfb_pbp()keeps the summaryinjuriesandgameNoteskeys (default[]); all previously returned keys are unchanged.
0.0.51 Release: May 30, 2026
Highlights
- New
sportsdataverse.mlbmodule (175 functions): ESPN, the MLB Stats API and Baseball Savant. - NHL moves to
api-web.nhle.com/v1/and gains EDGE, Stats REST and Records modules. - 804 new cross-league ESPN wrappers ported from hoopR / wehoop / cfbfastR across eight leagues.
- A polars / pandas parser layer with opt-in
return_parsed=Trueon every ESPN wrapper and a 21-sectionsummarydispatcher. - Quality-of-life helpers:
find_team/find_athlete/find_event,parsed.*, a tiered response cache and thesdvCLI.
Breaking changes
- NHL: The deprecated
statsapi.web.nhl.comhost is gone, replaced bynhl_web_*wrappers onapi-web.nhle.com/v1/;nhl_api.pykeeps a small set of backward-compatible aliases that warn and delegate tonhl_api_web.
Added
- Cache: New
sportsdataverse.cachetiered TTL response cache consulted bydl_utils.download: modesoff(default),memory,filesystemviasdv.set_cache_mode(...); on-disk under~/.cache/sportsdataverse/, overridden by$SDV_PY_CACHE_DIR. - Cache: Six TTL tiers picked from the URL: IMMUTABLE 30d, REFERENCE 7d, SLOW 24h, MODERATE 1h (default), FAST 5m, LIVE never cached; past-date scoreboards are IMMUTABLE, future dates LIVE.
- Cache: Per-call
cache_ttl=ondownload()overrides the tier; invalidate withsdv.clear_cache(),sdv.clear_cache(pattern="*roster*")orsdv.clear_cache(url="https://..."). - CLI: New
sdvconsole script:sdv find-team,sdv find-event,sdv list-functions,sdv function-count,sdv cache mode|stats|clear;--jsonemits raw JSON; exit codes 0 = success, 1 = no match, 2 = runtime error. - Discovery: New
list_functions/function_countinsportsdataverse.discover(re-exported at the top level): a searchable function index withsearch=,league=,parsers_only=andwrappers_only=. - ESPN: Cross-league port from hoopR / wehoop / cfbfastR: 804 new wrappers across NBA, MBB, WNBA,
WBB, CFB, NFL, MLB and NHL from ~80 core functions in
_common_espn.pykeyed on(sport, league). - ESPN:
make_league_module(sport, league, prefix, globals(), include_ncaa=, include_football=, include_mlb=)registers wrappers with real__name__/__qualname__/__doc__forhelp(), IDE completion andinspect.signature(). - ESPN: NCAA leagues (
mbb,wbb,cfb) gainrankings,season_recruitsandseason_week_rankings; football (nfl,cfb) gainsseason_qbrandseason_qbr_week. - ESPN: New
_common_espn_parsers.py: 20 league-agnostic parsers (scoreboard, teams, standings, groups, athlete overview/stats/gamelog/splits, leaders, coaches, draft, team schedule/roster, news, injuries, Core v2 lists, …), polars by default or pandas withreturn_as_pandas=True. - ESPN: Parsers return zero-row frames for empty / malformed payloads and snake_case columns; the
ENDPOINT_PARSERSregistry andparser_for(short_name)map wrapper short names to parsers. - ESPN: Every ESPN wrapper, including the bracketology helpers, accepts opt-in
return_parsed=True/return_as_pandas=True(all 121 short names are inENDPOINT_PARSERS); the rawDictdefault is unchanged. - ESPN: New generic
parse_single_entityflattens single-resource Core v2 payloads to one row;parse_itemsnow also covers ~30 more list-shape endpoints ({items: [...]}/{entries: [...]}). - ESPN: New
parse_summary(payload, section=None)dispatcher for the Site v2summarypayload in every league: a dict of all sub-frames, or one frame withsection=; registrySUMMARY_SECTION_PARSERS. - ESPN: Summary sub-parsers
parse_summary_boxscore_player,parse_summary_boxscore_team,parse_summary_plays,parse_summary_winprobability(joins to plays onplay_id) andparse_summary_leaders. - ESPN: Metadata sub-parsers
parse_summary_game_info,parse_summary_officials,parse_summary_header,parse_summary_season_series,parse_summary_against_the_spread,parse_summary_standings,parse_summary_broadcasts. - ESPN: Metadata sub-parsers
parse_summary_format,parse_summary_pickcenter,parse_summary_odds,parse_summary_article,parse_summary_injuries,parse_summary_news. - Lookup: New
find_team/find_athlete/find_eventname-to-ID resolvers insportsdataverse.find(top-level re-export): case-insensitive substring match,multi=True, and a team-list cache cleared withclear_team_cache(league=None). - MBB/WBB: New
espn_mbb_bracketology(season, iteration=None)/espn_wbb_bracketology(...)for the seasonalsports.core.api.espn.com/v2/tournament/{22,23}/seasons/{y}/bracketologyendpoint (live roughly January-March, 404 otherwise). - MLB: New
sportsdataverse.mlbmodule (175 functions, 8 submodules): 113 ESPN cross-league wrappers + 5 ESPN originals, 40 MLB Stats API wrappers and 17 Baseball Savant / Statcast wrappers. - MLB:
mlb_api.py(40 functions) wrapsstatsapi.mlb.com:sportId=1is MLB,leagueId103= AL /104= NL,gameTypeslugsR/F/D/L/W/S/A/E/PO; player ids share Savant's MLBAM id space. - MLB:
mlb_statcast.py(17 functions):statcast_searchraisesRuntimeErrorat the 25,000-row/statcast_search/csvcap (raise_on_truncation=True);statcast_search_chunkedauto-chunks multi-week ranges. - MLB: The MLB-only
espn_mlb_athlete_hotzonesjoins the universal ESPN surface (make_league_module(..., include_mlb=True)). - MLB: New
sportsdataverse.mlb.mlb_api_parsers:parse_mlb_api_schedule,parse_mlb_api_teams,parse_mlb_api_team_roster,parse_mlb_api_standings(standings_*prefixed) andparse_mlb_api_person_stats(alsomlb_api_team_stats). - MLB: Generic
parse_mlb_api_listhandles the other list-shape endpoints;MLB_API_ENDPOINT_PARSERS(26 entries) andparser_for_mlb_api(fn_name), which falls back toparse_mlb_api_list. - NFL/CFB: New
parse_summary_drives/parse_summary_scoring_plays, andparse_summary_drive_plays, which unrollsdrives.previous[].plays[]to one row per play withdrive_id+drive_sequence; zero rows for non-football leagues. - NHL:
nhl_api_web.py(26nhl_web_*functions) covers the modern game-feed API athttps://api-web.nhle.com/v1/, grounded infastRhockey/data-raw/nhl_api_web_openapi.yaml. - NHL:
nhl_edge.py(35 functions) wraps NHL EDGE player tracking (api-web.nhle.com/v1/edge/*); the 12*_top_10paths 404 as of 2026-05-23 and are kept, withparse_edge_top10, for later. - NHL:
nhl_stats_rest.py(21 functions) wrapsapi.nhle.com/stats/rest/with verbatim Cayenne filter expressions viacayenneExp/factCayenneExp. - NHL:
nhl_records.py(50 functions) wrapsrecords.nhl.com/site/api/: awards, coaches, franchises, skaters, goalies, draft, all-star, HOF, GMs, attendance, fastest goals, team records. - NHL: New
nhl_edge_parsers.py:parse_edge_top10,parse_edge_detail,parse_edge_shot_location,parse_edge_zone_time, fallbackparse_edge_payload, and sub-frame parsersparse_edge_sog_details,parse_edge_sog_summary,parse_edge_hardest_shots. - NHL:
EDGE_ENDPOINT_PARSERSregisters 33 of the 35 EDGE wrappers (the rest fall through viaparser_for_edge);EDGE_SUBFRAME_PARSERSmaps each detail wrapper to its sub-frame parsers. - NHL: New
parse_nhl_stats_rest/parse_nhl_recordshandle every Stats REST / Records wrapper ({data: [...]}envelope); the meta endpointsconfig/componentSeason/pinggive zero rows. - NHL:
NHL_STATS_REST_ENDPOINT_PARSERS(17 entries);parser_for_nhl_stats_restandparser_for_nhl_recordsalways return a callable, neverNone. - NHL: New
nhl_api_web_parsersgame-center parsersparse_nhl_web_pbp,parse_nhl_web_boxscore(home_away,position_group),parse_nhl_web_landingand dispatcherparse_nhl_web_right_rail(6 sub-frames). - NHL: Schedule / score parsers
parse_nhl_web_schedule,parse_nhl_web_score,parse_nhl_web_scoreboard(scoreboard_date),parse_nhl_web_club_schedule(club_*context). - NHL: Standings / team / player parsers
parse_nhl_web_standings,parse_nhl_web_standings_season,parse_nhl_web_club_stats({skaters, goalies}),parse_nhl_web_roster,parse_nhl_web_player_landing,parse_nhl_web_player_game_log. - NHL:
parse_nhl_web_leaders(category-tagged) andparse_nhl_web_draft_picks;NHL_API_WEB_ENDPOINT_PARSERS(24 entries);parser_for_nhl_api_web(fn_name)returnsNoneforplayoff_series,player_spotlight,draft_rankings,draft_rankings_now(callers null-check). - Parsed modules: New
sportsdataverse.parsed.*(parsed.nba,parsed.wnba,parsed.mbb,parsed.wbb,parsed.cfb,parsed.nfl,parsed.mlb,parsed.nhl) mirrors every league's wrappers but returns a polarsDataFrameby default; the raw modules keep returningDict.
Changed
- CI:
.github/workflows/live-tests-cron.ymlruns the live suite every Monday 13:00 UTC (and onworkflow_dispatch); a failure opens, or comments on, alive-tests:drifttracking issue. - Docs: New
docs/quality-of-life.md(before/after recipes) and an intro "Quickstart" with NBA / MLB / NHL one-liners that shows theparsed.*import path first. - Docs: README and
docs/docs/intro.mdgain "Supported leagues and data sources" (per-league wrapper counts) and "Polars / pandas parser layer" sections. - Docs: New pages
docs/architecture/espn-cross-league.md,docs/architecture/building-blocks.md,docs/parsers/index.mdanddocs/parsers/fixtures.md(an index of the captured payloads). - Docs: New MLB pages
docs/mlb/index.md,docs/mlb/parsers.mdanddocs/mlb/statcast.md(truncation handling, Statcast coverage windows, MLBAM id chaining with the Stats API). - Docs: New NHL pages
docs/nhl/api-web.md(with a parser deep-dive),docs/nhl/edge.md,edge-parsers.md,stats-rest.mdandrecords.md, cross-linked, each with a "Parser layer" section. - Docs:
espn_nhl_pbp's docstring (and a caution indocs/nhl/api-web.md) explains it is not interchangeable withnhl_web_pbp/parse_nhl_web_pbp(different id spaces and schemas). - Docs:
docs/sidebars.tsgroups leagues by sport family, with Architecture and Parsers expanded; parser and wrapper module docstrings carry aDocumentation:link to their docs page. - Docs:
CLAUDE.mdgains "ESPN Cross-League Architecture (0.0.51+)" and "Parser Layer (0.0.51+)" sections. - Errors:
NoESPNDataError404 messages add aSuggestion:line from the URL, e.g.find_team(name, league='nfl'),find_athlete(name, league='mlb', team=<team>)orfind_event(date, league='nba', home=..., away=...), reading the league from both ESPN URL shapes. - Packaging:
pyproject.tomlkeywordsgrow from 6 to 21 (leagues, data sources, concepts) for PyPI search. - Tests: Offline parser suites (
tests/test_espn_universal_parsers.py,test_mlb_api_parsers.py,test_nhl_aux_parsers.py,test_nhl_api_web_parsers.py,test_nhl_edge_parsers.py) run on captured fixtures, each fixture directory with a provenance README; regression tests lock 121/121 coverage. - Tests:
tests/test_espn_live.py(56 live tests) is gated bySDV_PY_LIVE_TESTS=1, withtests/conftest.pyas the single source of that gate plus a sharedload_fixture(category, stem). - Tests: New offline
tests/test_qol.py,tests/test_cache.py,tests/test_errors_suggest.pyandtests/test_cli.py; importingparsed.*must not mutate the raw module's default. - Tooling: New
sync-docs-changelogpre-commit hook copiesCHANGELOG.mdtodocs/src/pages/CHANGELOG.mdand stages it;nhl/nhl_loaders.pyusesisinstance(seasons, int)(no behavior change).
Fixed
- ESPN:
parse_team_rosterhandles the position-grouped roster shape (MLB / NFL / NHL / CFB), so those rosters unroll to one row per player with aposition_groupcolumn instead of ~5-6 group rows.
0.0.50 Release: May 7, 2026
Highlights
- A near-drop-in nflreadpy-parity surface in
sportsdataverse.nfl: new and unified loaders, a caching layer, runtime config, static datasets, 25load_*aliases and current-season / current-week helpers. - 11 new ESPN scrape modules across
wbbandwnba(team rosters, season player and team stats, standings, draft, event officials), each with full@overloadtyping. - The
0.36-live→mainpolars 1.x reconciliation across all seven*_pbp.pymodules (~165 sites). - PEP 621
pyproject.tomlpackaging (no moresetup.py), conda-installable viarecipe/meta.yaml. - A new
cfb_play_participantsmodule behind CFB player attribution.
Breaking changes
- Packaging:
setup.pyis removed; all metadata lives in PEP 621[project]inpyproject.toml, andpython -m buildis the only supported build path. - Packaging: Python 3.9–3.14 only (3.6 / 3.7 / 3.8 dropped); minimum versions raised
(
polars>=1.0,<2.0,pyarrow>=14.0,numpy>=1.23,pandas>=2.0, etc.). - Polars:
cfb/cfb_pbp.py,nfl/nfl_pbp.py,mbb/mbb_pbp.py,nba/nba_pbp.py,nhl/nhl_pbp.py,wbb/wbb_pbp.pyandwnba/wnba_pbp.pymoved from the polars 0.18 API to 1.x (~165 sites).
Upgrade notes — the polars 1.x translations applied: groupby → group_by, with_row_count →
with_row_index, apply → map_elements (with explicit return_dtype), struct list-arg → varargs,
shift_and_fill → shift, cumsum → cum_sum, str.strip → str.strip_chars, str.n_chars →
str.len_chars, outer-join → full + coalesce, write_json kwargs; for global containment (the
1.x is_in same-datatype deprecation) use is_in(col.implode()) instead of is_in(col).
Added
- CFB: New
cfb_play_participantsmodule reads ESPN's per-play participants endpoint and resolves sidecar-missing athletes via$ref(default-onresolve_missing=True);__add_player_colsdelegates to it and keeps all 19 legacy_player_namecolumns via an alias mapping. - CFB: Hybrid scalar + list player columns (
{type}_player_nameplus{type}_player_names), so multi-entry types like split sacks are no longer collapsed to a single name. - CFB: New
cleaned_textcolumn normalizes ESPN play descriptions and is the single source for downstream feature and player-name extraction. - Conda: New
recipe/meta.yaml(noarch: python, mirrors[project.dependencies]) andrecipe/README.mdfor localconda build recipe/and conda-forgestaged-recipessubmission. - NFL: Six new loaders:
load_nfl_team_stats,load_nfl_ftn_charting,load_nfl_trades,load_nfl_ff_playerids,load_nfl_ff_rankings,load_nfl_ff_opportunity. - NFL: Unified
load_nfl_nextgen_stats(stat_type=...)andload_nfl_pfr_advstats(stat_type=, summary_level=)consolidate the per-type / per-summary variants. - NFL: 25 nflreadpy-parity aliases inside
sportsdataverse.nfl(load_pbp↔load_nfl_pbp, etc.), identity-equivalent with no overhead. - NFL:
load_nfl_ff_rankingsgainskind=as the preferred parameter;type=is kept for nflreadpy parity. - NFL: New
get_current_nfl_season()/get_current_nfl_week()helpers innfl/utils_date.py. - NFL: New
sportsdataverse.nfl.cache(memory and filesystem backends, TTL) on all 23 canonical loaders and the 11 deprecated aliases via@cached_loader;clear_cache()invalidates, andreturn_as_pandas=Trueconverts the single stored polars frame on read. - NFL: New
NflConfigwithupdate_config()/get_config()/reset_config()and env varsSDV_PY_NFL_CACHE,SDV_PY_NFL_CACHE_DIR,SDV_PY_NFL_CACHE_DURATION,SDV_PY_NFL_VERBOSE,SDV_PY_NFL_TIMEOUT,SDV_PY_NFL_USER_AGENT. - NFL: Inline-bundled static datasets
team_abbr_mapping(143 entries;OAK -> LV,SD -> LAC,STL -> LA),team_abbr_mapping_norelocate(143, history preserved),player_name_mapping(136). - WBB/WNBA: New
wbb_team_roster/wnba_team_roster(one row per athlete per(team_id, season), stable schema when empty) andwbb_standings/wnba_standings(WBB defaults togroup=50). - WBB/WNBA: New
wbb_player_stats/wnba_player_statsandwbb_team_stats/wnba_team_stats: multi-table dicts keyedAverages/Totals/Misc(always present), plusOtherwhen needed. - WBB/WNBA: New
wnba_draft(one row per pick) andwbb_event_officials/wnba_event_officials(one row per official).
Changed
- CFB: Targeted regex fallbacks remain for
sack_player_name2,fg_block_player_name,punt_block_player_nameandinterception_player_name, where ESPN's sidecar has documented gaps. - Conda: New
.github/workflows/conda-build.ymlbuilds, installs and smoke-imports the recipe on PRs touchingrecipe/orpyproject.tomland on every release. - Docs: ~190 public callables ship a multi-block napoleon
Example:section (quick start, parameter combinations, a pipeline step,See Also:companion links), replacing the old one-line examples. - Docs: Seven intro / intermediate notebooks under
examples/notebooks/(01_quickstart.ipynbthrough07_nhl_intro.ipynb), outputs cleared;.gitignoretracksexamples/notebooks/*.ipynb. - Docs: The Sphinx build is warning-free under
sphinx-build -W(sphinx.ext.napoleon, avisit_abbreviationshim, docstring list fixes, newautomoduleentries,setup.rstremoved). - Docs: New
CONTRIBUTING.md,CLAUDE.md,.github/copilot-instructions.md, a PR template (with a no-AI-co-author checkbox) and issue templates (bug_report.yml,feature_request.yml,data_quality.yml). - Packaging: The license is an SPDX expression (
license = "MIT",license-files = ["LICENSE"]) for Metadata 2.4. - Packaging: The wheel excludes
tests*,Sphinx-docs*,docs*,examples*,archive*,recipe*,dev*; package data still shipscfb/models/*+nfl/models/*;MANIFEST.intrimmed. - Packaging:
psutilis optional indecorators.py(lazy import). - Packaging: The version jumps to
0.0.50(rather than0.0.41) to signal scope; still alpha. - Tests: New
tests/wbb/,tests/wnba/,tests/conftest.py(@skip_if_no_live,SDV_PY_LIVE_TESTS=1) andtests/README.md; NFL test files renamed descriptively;pytest.inifilters thenspkg.pthandpkg_resourceswarnings. - Tests: Pickcenter regression tests for CFB and NFL: a 2024+ game must not fall back to the
(2.5, 55.5, True, False)defaults, and a pre-2024 game keeps the legacypickcenterpath. - Tooling: Ruff (lint, import sort, pyupgrade, format) replaces black + isort + pycln + flake8, with
line-length = 120andE712ignored forpl.col(...) == True/False; isort only addsfrom __future__ import annotations. - Tooling: New pre-commit hooks:
pre-commit-hooks,pygrep-hooks,add-trailing-comma,sync-pre-commit-deps,check-jsonschema,actionlint,yamlfmt,doctoc,markdownlint-cli2.
Deprecated
- NFL: Per-type Next Gen Stats and PFR advanced-stats loaders emit
DeprecationWarningand forward toload_nfl_nextgen_stats(stat_type=...)/load_nfl_pfr_advstats(stat_type=, summary_level=); no removal yet.
Fixed
- CFB: Kneel-downs are flagged and excluded from
scrimmage_play. - CFB: Yardage parsing rewritten: pass-yards regex tightened (
(?<=for)→(?<=[\s,]for)), a full punt rewrite and a fair-catch fix. - CFB: Feature edge cases: end-state, the NCG 2025 GW play /
drive.idhardcode,lead_halfat end of half, OOB punts, FG classification, andend.TimeSecsRemnow leads as WPA inputs expect. - CFB: WPA end-of-game and onside-kick branches rewritten, with
penalty_assessed_on_kickoffplumbed through penalty setup, EPA and WPA. - CFB: Duplicate
yds_punteddefinition removed. - CFB/NFL: Havoc / turnover box:
def_intfield name fixed, deterministic group order, andturnover_boxemits a cli warning instead of silently padding an empty dict. - HTTP:
download()retries iteratively, initializesresponse = None, and re-raises the last exception when the retry budget is exhausted. - NFL:
load_nfl_schedulereadsnflverse-data/releases/download/schedules/games.parquet(1999–2025) instead of the stalesched_{season}.rds, which 404'd on every season. - NFL: With an empty
pickcenter(all 2024+ games), odds come from the modern core.../oddsendpoint instead of the(2.5, 55.5, True, False)defaults; e.g. the 2024 CFP semifinal is now(-3.5, 67.5, True, True). - NFL:
__helper_nfl_pbp_featureshandles ESPN returningoverUnderas a Python float. - Packaging:
pkg_resources.resource_filename→importlib.resources.files()incfb_pbp.pyandnfl_pbp.py, so setuptools 81+ no longer warns at import (or breaks it).
0.0.40 Release: December 6, 2025
Changed
- MBB/WBB:
mbb_calendarandwbb_calendarinclude all games, even when top 25 teams are not competing.
0.0.38-39 Release: August 28, 2023
Changed
- CFB:
cfb_pbpfunctions improve the WP calculation and player parsing.
0.0.36-37 Release: July 9, 2023
Breaking changes
- Polars: Most dataframe operations now use
polars; many functions return a polars DataFrame and takereturn_as_pandas(defaultFalse).
Upgrade notes — pass return_as_pandas=True to get a pandas DataFrame instead of a polars one.
Added
- CFB:
load_cfb_betting_lines()(2006 through 2019 only). - ESPN:
espn_cfb_game_rosters(),espn_nba_game_rosters(),espn_nfl_game_rosters(),espn_nhl_game_rosters(),espn_wbb_game_rosters()andespn_wnba_game_rosters(). - HTTP:
**kwargspass through todl_utils.download():headers,proxy,timeout(default 30s),num_retries(default 15),logger(defaultNone).
0.0.34-35 Release: May 7-9, 2023
Breaking changes
- CFB:
sportsdataverse.cfb.espn_cfb_schedule()results are flattened somewhat, now including some nested data frame and list columns.
Changed
- Loaders: Loader locations use sportsdataverse-data releases and nflverse releases.
- Packaging: Imports reconfigured.
- Packaging: Improved compliance with pandas upgrades.
0.0.18 Release: July 25, 2022
Breaking changes
- CFB:
sportsdataverse.cfb.cfb_teams()is renamedsportsdataverse.cfb.espn_cfb_teams()to avoid an edge case issue when running the function.
Added
- ESPN:
ondaysparameter on the ESPN calendar functions.
0.0.17 Release: July 9, 2022
Breaking changes
- CFB:
sportsdataverse.cfb.cfb_teams()is renamedsportsdataverse.cfb.get_cfb_teams()to avoid an edge case issue when running the function.
Added
- MLB: MLBAM API functionality; see the docs for how to use the new functions.
Changed
- Loaders: Functions that load multiple files show progress bars.
Fixed
- NFL:
sportsdataverse.nfl.load_nfl_schedule()no longer causes a 404 error.
0.0.15 Release: May 8, 2022
Changed
- All leagues: Schedule and teams functions refactored.
- All leagues: More robust home/away mappings simplify assignment.
0.0.14 Release: March 16, 2022
Changed
- All leagues: Schedule and teams functions refactored.
- All leagues: More robust home/away mappings simplify assignment.
0.0.12 Release: February 24, 2022
Added
- PBP: A
rawparameter on the pbp functions returns the object as it comes in, without any transformation.
Changed
- PBP: Minor refactor of all the pbp functions, normalizing behavior.
Fixed
- Config: Some config file corrections.
0.0.5 Release: October 20, 2021
Changed
- Package: Original notes: "f'in round", "findin' out".