Researchwerk
study randomization block balance
Return per-block allocation deviations from supplied target arm ratios.
POST https://research.halowerk.com/v1/study-randomization-block-balanceInputs
| Field | Type | Required | Description |
|---|---|---|---|
| ratios | array | Yes | |
| blocks | array | Yes |
Show full input schema
{
"type": "object",
"properties": {
"ratios": {
"type": "array",
"items": {
"type": "object",
"properties": {
"arm": {
"type": "string",
"maxLength": 48,
"minLength": 1
},
"weight": {
"type": "number",
"minimum": 1e-06,
"maximum": 1000000000
}
},
"required": [
"arm",
"weight"
],
"additionalProperties": false
},
"maxItems": 20,
"minItems": 1
},
"blocks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 48,
"minLength": 1
},
"counts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"arm": {
"type": "string",
"maxLength": 48,
"minLength": 1
},
"n": {
"type": "integer",
"minimum": 0,
"maximum": 1000000000
}
},
"required": [
"arm",
"n"
],
"additionalProperties": false
},
"maxItems": 20,
"minItems": 0
}
},
"required": [
"id",
"counts"
],
"additionalProperties": false
},
"maxItems": 100,
"minItems": 1
}
},
"required": [
"ratios",
"blocks"
],
"additionalProperties": false
}Published input example
{
"ratios": [
{
"arm": "A",
"weight": 1
},
{
"arm": "B",
"weight": 1
}
],
"blocks": [
{
"id": "block_01",
"counts": [
{
"arm": "A",
"n": 8
},
{
"arm": "B",
"n": 2
}
]
}
]
}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
- Researchwerk0.006 USDC
conflict events
POSThttps://research.halowerk.com/v1/conflict-eventsSearches global news coverage for protest, conflict and diplomatic activity in a region and returns the reporting with source counts, languages, countries of publication and the article links. Ranking is by breadth of coverage rather than b
- Researchwerk0.006 USDC
controversy pulse
POSThttps://research.halowerk.com/v1/controversy-pulseTracks how much is written about an organisation and in what tone, comparing a recent window against the same term own longer baseline, and returns both the volume ratio and the tone shift with the articles behind them. The framing is fixed
- Researchwerk0.005 USDC
dataset discovery
POSThttps://research.halowerk.com/v1/dataset-discoverySearches the official EU open data portal and returns datasets with what decides whether they are usable: the licence, classified by whether commercial reuse is allowed and what attribution or share-alike it demands. A dataset under a non-c