openflighthpc / carbon-leaderboard

A tool to compare environmental impact data from different systems
0 stars 0 forks source link

Move device groups into own table #35

Open Womblue opened 1 month ago

Womblue commented 1 month ago

Devices on the leaderboard are displayed in groups - those which have identical specs (including location) are grouped together. The current implementation of this system is for the Device table to have a group column with an index representing the group the device is part of. This presents some issues:

A better implementation would be to have a separate table for groups. This table would store all of the device specs for each group, and each device would have a parent group in the table instead of having to store its own specs. The branch dev/types-table begins to implement this.