Governance Tools
coalition weighted voting swing profile
Return critical-predecessor counts by coalition size and weight for a declared weighted voting rule.
POST https://gov.halowerk.com/v1/coalition-weighted-voting-swing-profileInputs
| Field | Type | Required | Description |
|---|---|---|---|
| weights | array | Yes | |
| quota | integer | Yes |
Show full input schema
{
"type": "object",
"properties": {
"weights": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"maxItems": 8,
"minItems": 1
},
"quota": {
"type": "integer",
"minimum": 1,
"maximum": 8000000
}
},
"required": [
"weights",
"quota"
],
"additionalProperties": false
}Published input example
{
"weights": [
2,
1,
1
],
"quota": 3
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-19 UTC.
More endpoints in this hub
- Governance Tools0.005 USDC
ballot baldwin elimination rounds
POSThttps://gov.halowerk.com/v1/ballot-baldwin-elimination-roundsReturn simultaneous minimum-Borda elimination rounds under the declared Baldwin tie rule.
- Governance Tools0.005 USDC
ballot borda position scores
POSThttps://gov.halowerk.com/v1/ballot-borda-position-scoresReturn weighted n-minus-one Borda position scores and all tied leaders.
- Governance Tools0.005 USDC
ballot condorcet pairwise table
POSThttps://gov.halowerk.com/v1/ballot-condorcet-pairwise-tableReturn weighted pairwise preference counts and strict or weak Condorcet winners.