ZeroDivisionError for teams that have no matches in a series
Closed this issue · 3 comments
ReagentX commented
If a team has no matches in a series, Glicko2().rate() returns ZeroDivisionError
since variance_inv
never gets set to something other than zero. This means that teams with 0 matches will not get decayed.
drdarina commented
According to the paper in this case you only compute step 6: phi_star
. Agree that it's missing in the code.
Dakkers commented
this has been fixed right?
ReagentX commented
Looks like it.