Description
Look up a serialized factor tuple in supplied strata.
Allocation bookkeeping distinguishes arm counts, indexing and vocabulary matches from generation of a concealed random sequence. Floored targets can leave unassigned remainders, and a local balance score does not establish that an allocation method protects a trial from selection bias.
Look up a serialized factor tuple in supplied strata.
When to use this tool
Use Randomization Stratum Index when checking the stated clinical-research record, allocation, timing, analysis or evidence-basis convention.
How to use the tool and how it works
- Enter levels, suppliedStrata. Keep parallel arrays aligned. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read found, index, key. Inspect found before interpreting the associated values.
Look up a serialized factor tuple in supplied strata. Require unique suppliedStrata; key = JSON.stringify(levels), found checks literal membership and index is zero-based or -1 when absent.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| levels | Levels | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| suppliedStrata | Supplied Strata | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| found | Found | Required. Boolean. |
| index | Zero-based exact serialized-key match, or -1 when found=false. | Required. Safe integer. |
| key | Key | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"levels": [
"A",
"B"
],
"suppliedStrata": [
"[\"A\",\"B\"]",
"[\"A\",\"C\"]"
]
},
"output": {
"found": true,
"index": 0,
"key": "[\"A\",\"B\"]"
}
} Limitations and assumptions
- The stratum list must contain the exact serialization; no factor normalization, appropriate design or random allocation is established.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
Alternative or Complementary methods
Use the complete approved protocol, authenticated source records and qualified clinical/statistical oversight for actual trial design, conduct and interpretation.
References
Similar or alternative tools
- Research Randomization Block Slot Index
Return block and slot coordinates for an indexed subject.
- Randomization Arm Balance Remainder
Return block-allocation remainders by arm.