sports leagues: make deterministic
sports leagues: make deterministic: a task in smol-software-harbor (Harbor dataset). python3 -m league results.txt prints teams that are completely level (same points, goal difference and goals) in a different order from run to run. The rules say such teams are listed by name, alphabetically. Make…
The task
`python3 -m league results.txt` prints teams that are completely level (same points, goal difference and goals) in a different order from run to run. The rules say such teams are listed by name, alphabetically. Make the table order deterministic in `league/table.py` without changing anything else in the ranking.…
Part of efederici/smol-software-harbor.