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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"profile": "<profile>"
},
"name": "opinion_pool"
}
}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 |