You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When getting a league's standings table, the current code only sort's it by wins and points for, regardless of what the actual tiebreaker is for a league:
Issue cwendt94/espn-api#399 pointed out the error in the API and has since been resolved, meaning that league.settings.playoff_seed_tie_rule now contains correct information.
This function needs to be updated to properly seed teams based on the true tiebreaker.
The text was updated successfully, but these errors were encountered:
Per a new update in espn-api, there are now helper functions to sort teams according to a league's specific tiebreaking scenarios. The League().standings_weekly() method can get historical standings tables (which would be good to add to the website), but a new method would have to be created in simulations.py to sort simulated results. It would just be a copy of the function practically.
When getting a league's standings table, the current code only sort's it by wins and points for, regardless of what the actual tiebreaker is for a league:
espn-api-v3/src/doritostats/simulation_utils.py
Lines 22 to 24 in 2b43d1c
Issue cwendt94/espn-api#399 pointed out the error in the API and has since been resolved, meaning that
league.settings.playoff_seed_tie_rule
now contains correct information.This function needs to be updated to properly seed teams based on the true tiebreaker.
The text was updated successfully, but these errors were encountered: