Stateless SHA-256 bucketing of unit ids into an experiment with traffic gating, ...
https://www.brainiac.software/api/v1/experimentation/bucket-assignOverview
Stateless SHA-256 bucketing of unit ids into an experiment with traffic gating, ordered group shares and an optional layer, documented so any SDK can reproduce it. Docs: https://www.brainiac.software/api/experimentation/bucket-assign
Protocol
x402 (POST)
Price
$0.01
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
uncategorized
Provider
Units Experiment Groups
Source
bazaar
Indexed
2026-11-24 19:01:16
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": {
"experiment": {
"groups": [
{
"name": "control",
"share": 0.5
},
{
"name": "treatment",
"share": 0.5
}
],
"salt": "exp_checkout_v2",
"trafficShare": 1
},
"layer": null,
"unitIds": [
"user_42",
"user_43"
]
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"algorithm": "sha256(salt + '.' + unitId), first 8 bytes big-endian uint64 mod 10000",
"assignments": [
{
"bucket": 7765,
"group": "treatment",
"groupBucket": 8754,
"inExperiment": true,
"unitId": "user_42"
},
{
"bucket": 1211,
"group": "treatment",
"groupBucket": 9800,
"inExperiment": true,
"unitId": "user_43"
}
],
"limitations": [
"Group assignment hashes salt + '.group.' + unitId so changing trafficShare does not reshuffle groups. Changing a salt reshuffles every unit. Group shares are",
"Pure computation on the supplied input: no events are stored and no network is called. Results are statistical calculations for human review."
],
"sources": [
{
"retrievedAt": "2026-11-14T00:00:00.000Z",
"source": "NIST FIPS 180-4 Secure Hash Standard (SHA-256)",
"status": "ok",
"url": "https://csrc.nist.gov/pubs/fips/180-4/upd1/final"
}
]
},
"type": "json"
}