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
How to fix
replace the line above with: d[m1]["win_tie_loss"][m2][metric] = self.win_tie_loss[(m1, m2)][metric]
and init d[m1]["win_tie_loss"][m2] = {} at the same place as https://github.com/AmenRa/ranx/blob/master/ranx/report.py#L309 (just above)
The text was updated successfully, but these errors were encountered:
Describe the bug
When converting a Report to dict, you only keep one
metric
while iterating overmetrics
(overwriting the previousmetric
in each loop)https://github.com/AmenRa/ranx/blob/master/ranx/report.py#L315
How to fix
replace the line above with:
d[m1]["win_tie_loss"][m2][metric] = self.win_tie_loss[(m1, m2)][metric]
and init
d[m1]["win_tie_loss"][m2] = {}
at the same place ashttps://github.com/AmenRa/ranx/blob/master/ranx/report.py#L309 (just above)
The text was updated successfully, but these errors were encountered: