Repository navigation
Add 73 verified Sleeper links and repair six ESPN/PFR mismatches - #88
Open
TheMathNinja wants to merge 1 commit into
Open
TheMathNinja wants to merge 1 commit into
TheMathNinja wants to merge 1 commit into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Missing Sleeper links in the published player-ID table prevent valid projections from joining to MFL players. For example, Miami CB Chris Johnson is MFL 17573, Sleeper 13370, and RotoWire 19575: the native Sleeper feed contains him, but the published DynastyProcess Sleeper ID is blank.
This data-only PR updates
files/missing_ids.jsonwith:espn_idand threepfr_idvalues are each shared by two different players #84.Evidence for the missing links
Checked against public sources on 2026-10-01, using published DynastyProcess files pinned to
49be2ee76e1b2d9fa3b00ddc1057b37a8877cb87:rotowire_id(replacePLAYERSwith the table's MFL IDs for the other records).rotowire_id.Position disagreements such as LB/DE and DB/CB do not prevent an otherwise independently identified player from matching. This PR changes IDs only, not positions, teams or birthdates. Existing birthdate discrepancies for R Mason Thomas, Joshua Josephs, Trey Smack, Jacob Thomas and Wesley Bailey are not silently reconciled.
Bryson Eason (17790), Wydett Williams (17797) and Mike Reid (17798) are returned by MFL's player-details API but do not yet have rows in the pinned published DynastyProcess table. Their manual links are included; the builder must also retain those MFL players when generating its base catalog.
All 73 verified Sleeper links (with the shared native RotoWire ID)
Repairs for wrong matches
These rows still have the wrong ESPN IDs in the pinned published export. The existing bad IDs resolve to different athletes in ESPN's own API. The proposed replacements resolve to the intended athletes and agree with the corresponding GSIS records in nflverse's players dataset. PFR replacements agree with those same GSIS/name records; direct PFR page verification was blocked with HTTP 403, so I am not claiming a fresh PFR-site check.
MillSt00→HuffMa0000-0031059BateHo00already correct; retained00-0032181HarrAl00→RipkAa0000-0031612CartKy01→MorgDa0100-0032430HallAn01→HalxAn0000-0031087DaviBr01→SmitJa0100-0029112Build-process caveat: I can verify these ID assignments, but cannot inspect or run
dynastyprocess/db's privatebuild_playerids.R. The five new repair records need to override populated-but-wrong ESPN/PFR values, not merely fill nulls. Houston Bates also needs the corrected manual ESPN value to win over the bad published value. Please confirm that the private build honors these corrections and that the next generated export preserves them. This PR supplies reviewed mapping data; it does not claim to fix or prove the underlying matcher's mechanism.Suggested build checks: each reviewed MFL ID retains its expected source ID after a rebuild; no conflicting MFL owner is introduced; a repeated rebuild does not revert the correction. The May 8 regression evidence remains in #84. Deonte Banks is now correct in the published export (ESPN 4428328), so this PR leaves him unchanged.
Coordination and exclusions
Validation