This PR implements some changes with the aim of moving us to (or at least close to) a point where we can call the current version of the leaderboard "done".
Groups now have their own pages, similar in principle to the existing device and user pages. The main intent behind these pages will be to list the devices included in that group, and probably the specs for the group too.
The grouped leaderboard and individual leaderboard have been separated on the backend. The entries in the grouped leaderboard now link directly to their group's page.
The mini-leaderboard on the homepage now ranks groups instead of devices, and each entry here also links to the group's page.
Group names have been improved and now include the group platform, location and instance type. For groups without an instance type defined, they're assigned a group number instead.
Carbon units are now measured in either grams/hour or kilograms/year. These numbers are now rounded to 3 significant figures instead of 3 decimal places, which should almost entirely prevent issues in which devices with very lower carbon emissions could have their values rounded down to 0 on the leaderboard.
The ability to swap between the units in the UI isn't directly added by this PR, and is coming in a future version.
This PR implements some changes with the aim of moving us to (or at least close to) a point where we can call the current version of the leaderboard "done".
Groups now have their own pages, similar in principle to the existing device and user pages. The main intent behind these pages will be to list the devices included in that group, and probably the specs for the group too.
The grouped leaderboard and individual leaderboard have been separated on the backend. The entries in the grouped leaderboard now link directly to their group's page.
The mini-leaderboard on the homepage now ranks groups instead of devices, and each entry here also links to the group's page.
Group names have been improved and now include the group platform, location and instance type. For groups without an instance type defined, they're assigned a group number instead.
Carbon units are now measured in either grams/hour or kilograms/year. These numbers are now rounded to 3 significant figures instead of 3 decimal places, which should almost entirely prevent issues in which devices with very lower carbon emissions could have their values rounded down to
0
on the leaderboard.