WarwickTabletop/tgrsite

STV breakdown should provide a key explaining who "Candidate x" is

Closed this issue · 2 comments

Currently, the STV results look like this:

Example of textual Pokemon STV breakdown
(and this is only the start, this goes on for many, many lines)

which is useful enough for getting the final result (since it's displayed clearly) but the following breakdown is verbose and difficult to parse - to the point where making it human-readable is a significant extra step for whoever is running the election.

One step that would make it easier is mapping Candidate X to the actual candidate they represent. X is the database ID of the candidate, so it's easy enough to access, but still an extra step for someone providing a full STV breakdown.

Of course, if you want to go the full way and generate a spreadsheet akin to what the breakdowns have looked like (example below), then go for it!

Pokemon STV breakdown

The full STV breakdown for the election I used as an example above is here: https://gist.github.com/finnbar/d619db8097a25444e22146ca76bded0c

Closed by #323, although leaving the issue up and updating because it could be further improved if someone would like.