Borda Count
The ability to compute and select the Borda count winner: Borda count is a scheme which, given $m$ alternatives, assigns score $m-i$ to the alternative which is ranked in the $i$'th place by an agent (e.g. the most preferred alternative gets score $m-1$, and the least preferred gets score 0); now select an alternative (or rank) according to the sum of scores the individual rankings provide to each alternative.
Question template
In an election with n candidates candidates, voters expressed their rankings as follows: ballots Who is the winner according to the Borda count?
Use it
from datasets import load_dataset
ds = load_dataset("narunraman/steer", "borda_count")curl "https://steer-benchmark.cs.ubc.ca/api/sample?element_name=borda_count&n=5&seed=42"
See the Reference for the parameters.