Description
Return allocation-count support from verified matching period records.
Clinical research distinguishes supplied protocol metadata, participant/event records, allocation bookkeeping and an analysis target. A local count, permission flag or denominator choice can help reconcile records without establishing valid consent, randomization, regulatory compliance or a reliable treatment-effect estimate.
Return allocation-count support from verified matching period records.
When to use this tool
Use Allocation Period Support Share when checking the stated clinical-research record, allocation, timing, analysis or evidence-basis convention.
How to use the tool and how it works
- Enter periodIds, allocationCounts, sourceCounts, verified. 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 allocatedDecimal, supportedDecimal, discrepantPeriods, share, defined. Inspect defined before interpreting the associated values.
Return allocation-count support from verified matching period records. Require aligned nonnegative whole arrays; sum allocations exactly, count supported allocation amounts only when verified and equal source count; return exact totals, discrepancy count and floating share, or zero with defined false.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| periodIds | Period Ids | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| allocationCounts | Allocation Counts | Required. Array of safe integer; maximum items 256. |
| sourceCounts | Source Counts | Required. Array of safe integer; maximum items 256. |
| verified | Verified | Required. Array of boolean; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| allocatedDecimal | Allocated Decimal | Required. Text; maximum UTF-16 length 8192. |
| supportedDecimal | Exact allocation count summed only from verified equal source-count rows. | Required. Text; maximum UTF-16 length 8192. |
| discrepantPeriods | Discrepant Periods | Required. Safe integer. |
| share | Dimensionless numerator/denominator ratio under the explicit basis above. | Required. Finite number. |
| defined | Whether the stated denominator or information basis permits interpretation of the associated value; inspect before using a placeholder. | Required. Boolean. |
{
"input": {
"periodIds": [
"a",
"b"
],
"allocationCounts": [
2,
3
],
"sourceCounts": [
2,
4
],
"verified": [
true,
true
]
},
"output": {
"allocatedDecimal": "5",
"supportedDecimal": "2",
"discrepantPeriods": 1,
"share": 0.4,
"defined": true
}
} Limitations and assumptions
- Duplicate period labels are not removed; verification flags and source counts are supplied, not authenticated allocation records.
- 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
- Interim Cutoff Exposure Share
Return observed exposure as a share of planned exposure at a cutoff.
- Analysis Window Support Share
Return supported analysis-window duration.