sports leagues: fix bug
sports leagues: fix bug: a task in smol-software-harbor (Harbor dataset). The league table is supposed to rank teams by points, then goal difference, then goals scored, then name. Teams level on points are currently ordered wrongly (see the failing test in tests/test table.py ). Fix the ranking in…
The task
The league table is supposed to rank teams by points, then goal difference, then goals scored, then name. Teams level on points are currently ordered wrongly (see the failing test in `tests/test_table.py`). Fix the ranking in `league/table.py`; run `python3 -m pytest -q`.
Part of efederici/smol-software-harbor.