Overview
Count exactly the binary assignments satisfying supplied block quotas, fixed arms and same/different restrictions, then return the lexicographic assignment for a caller-supplied rank. Bounded caller-supplied synthetic records only; no experiment execution or real-world model certification. A schema-valid unknown is a successful result at the same fixed price. Invalid input raises native HTTP400 before settlement.
Protocol
x402 (POST)
Price
$0.0030
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
uncategorized
Provider
finops
Indexed
2026-11-24 12:32:36
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
Input Schema
{
"body": {
"blocks": [
{
"arm1_count": 2,
"id": "B"
}
],
"constraints": [],
"rank": "0",
"units": [
{
"block": "B",
"fixed": null,
"id": "U0"
},
{
"block": "B",
"fixed": null,
"id": "U1"
},
{
"block": "B",
"fixed": null,
"id": "U2"
},
{
"block": "B",
"fixed": null,
"id": "U3"
}
]
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"data": {
"confidence": 1,
"evidence": [
{
"code": "exact_binary_constraint_enumeration_lexicographic_unrank"
}
],
"limits": [
"at_most_twelve_units",
"uniform_only_if_supplied_rank_is_uniform",
"no_rng_no_experiment_execution",
"no_treatment_or_effect_claim"
],
"module": "restricted-block-assignment-unrank",
"state": "observed",
"value": {
"assignment": [
{
"arm": 0,
"unit": "U0"
},
{
"arm": 0,
"unit": "U1"
},
{
"arm": 1,
"unit": "U2"
},
{
"arm": 1,
"unit": "U3"
}
],
"feasible_count": "6",
"issues": []
},
"warnings": []
}
},
"type": "json"
}