opinion_pool
Aggregate probability-distribution ballots into a weighted average distribution, preserving confidence. Returns the averaged distribution and the candidate with highest probability.
Instructions
Linear opinion pool over probability-distribution ballots.
Returns the weight-averaged distribution in scores (it PRESERVES
confidence rather than collapsing to an argmax vote); winner is the
argmax for convenience. Ballots are {kind: "distribution", distribution: {cand: p, ...}} summing to 1. Errors if any ballot is not a distribution.
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 |