← Back to directory

Representation gap measures the largest percentage-point difference between popu...

https://rechen.halowerk.com/v1/seat-apportion-representation-gap

Overview

Representation gap measures the largest percentage-point difference between population and assigned seat shares. Use it when an agent needs quantifying disproportionality under a supplied allocation.

Protocol x402 (POST)
Price $0.0050
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider rechen
Source bazaar
Indexed 2026-11-24 12:32:10

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "allocation": [ 2, 3, 3, 3 ], "seats": 11, "weights": [ 643503, 1363582, 1379089, 1098163 ] }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "data": { "gap_points": [ 3.831804, -3.134934, -3.480738, 2.783867 ], "half_absolute_sum": 6.615671, "largest_absolute_gap": 3.831804 }, "limitations": "Input order resolves exact ties. Group indices start at 1. Examples use 2020 US Census apportionment populations with illustrative house sizes.", "measured_at": "2026-11-24T10:49:25.914Z", "source": { "reference": "Caller-supplied group weights and seat count", "retrieved_at": "2026-11-24T10:49:25.914Z" } }, "type": "json" }