Overview
For2..6 indexed positive symbol weights and max code length1..5, synthesize exact minimum weighted bits, lexicographically first optimal original-index length vector, canonical MSB-first bitwords, exact number of optimal assigned length vectors and Kraft capacity witness. Report infeasibility when the cap cannot fit the alphabet. Compare the entire supplied artifact.
Protocol
x402 (POST)
Price
$0.0030
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
uncategorized
Provider
datenvertrag
Indexed
2026-11-24 12:33:23
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
Input Schema
{
"body": {
"claimed": {
"codes": [
"00",
"01",
"100",
"101",
"110",
"111"
],
"feasible": true,
"kraft_capacity": 8,
"kraft_units": 8,
"lengths": [
2,
2,
3,
3,
3,
3
],
"optimal_assignment_count": 5,
"weighted_bits": 214
},
"max_length": 3,
"weights": [
100,
1,
1,
1,
1,
1
]
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"data": {
"claimed_matches": true,
"missing": [],
"module": "bounded-prefix-codebook-audit",
"state": "observed",
"value": {
"codes": [
"00",
"01",
"100",
"101",
"110",
"111"
],
"feasible": true,
"kraft_capacity": 8,
"kraft_units": 8,
"lengths": [
2,
2,
3,
3,
3,
3
],
"optimal_assignment_count": 5,
"weighted_bits": 214
}
}
},
"type": "json"
}