borda
Computes the Borda count winner from ranking ballots using positional scoring. Handles truncated ballots by giving unranked candidates the average of remaining points. Provides tie-breaking options.
Instructions
Borda count over ranking ballots: positional scoring (top of m gets m-1).
Condorcet-inconsistent and clone-sensitive — useful as a contrast rule. Truncated ballots give unranked candidates the average of the remaining points (never a silent zero). Errors if any ballot is not a ranking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| profile | Yes | ||
| tie_break | No | lexicographic |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| rule | Yes | ||
| scores | No | ||
| winner | Yes | ||
| ranking | No | ||
| winners | Yes | ||
| tie_break | No | lexicographic |