Closed guidopetri closed 2 years ago
Correction: this error comes up if there's only one color being played (i.e. only played games as black/white). Since Lichess tries to make you play both sides equally this usually only happens with one game.
This should be closed with 6f004a2 . I extracted the text generation out of WinRatioByColor
and added some tests for it. Eventually I might want to do the same with EloByWeekday
, but there aren't any cases where it breaks right now (afaik) so I'll leave it as part of the class for now.
It's unclear whether this happens with 0 or 1 games being manipulated:
Original reference is in #60 .
Fix steps are: