Govwerk
ballot single peaked axis witnesses
Return the first forbidden preference valley in each ranking under a supplied option axis.
POST https://gov.halowerk.com/v1/ballot-single-peaked-axis-witnessesInputs
| Field | Type | Required | Description |
|---|---|---|---|
| axis | array | Yes | |
| rankings | array | Yes |
Show full input schema
{
"type": "object",
"properties": {
"axis": {
"type": "array",
"items": {
"type": "string",
"maxLength": 24,
"minLength": 1
},
"maxItems": 12,
"minItems": 1
},
"rankings": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"maxLength": 24,
"minLength": 1
},
"maxItems": 12,
"minItems": 1
},
"maxItems": 200,
"minItems": 0
}
},
"required": [
"axis",
"rankings"
],
"additionalProperties": false
}Published input example
{
"axis": [
"A",
"B",
"C"
],
"rankings": [
[
"B",
"A",
"C"
],
[
"A",
"C",
"B"
]
]
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.
More endpoints in this hub
- Govwerk0.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.
- Govwerk0.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.
- Govwerk0.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.