Description
Subtract distinct unavailable slots and count repeated annotations separately.
Laboratory study records distinguish observations, sample identities, personnel, and supporting sources. Missingness and duplication depend on record scope; a metadata check cannot establish scientific validity or regulatory acceptance.
Subtract distinct unavailable slots and count repeated annotations separately.
When to use this tool
Use Archive Container Span Budget when you need a laboratory-record consistency or source-support check.
How to use the tool and how it works
- Enter firstSlot, lastSlot, unavailable. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read nominalSlots, availableSlots, duplicateAnnotations. Use the output convention below.
Require an ordered inclusive nonnegative slot range and unavailable indexes inside it. Subtract distinct unavailable slots and count repeated annotations separately.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| firstSlot | First Slot | Required. Safe integer; minimum 0. |
| lastSlot | Last Slot | Required. Safe integer. |
| unavailable | Unavailable | Required. Array of safe integer; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| nominalSlots | Nominal Slots | Required. Safe integer. |
| availableSlots | Available Slots | Required. Safe integer. |
| duplicateAnnotations | Duplicate Annotations | Required. Safe integer. |
{
"input": {
"firstSlot": 10,
"lastSlot": 20,
"unavailable": [
12,
15,
15
]
},
"output": {
"nominalSlots": 11,
"availableSlots": 9,
"duplicateAnnotations": 1
}
} Limitations and assumptions
- This is numeric capacity bookkeeping without physical container dimensions, record condition, storage suitability, or archival completeness verification.
- 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.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Review the controlled study records and audit trail for the complete evidentiary chain. Resolve duplicate identifiers, sampling units, and authorization rules before drawing study-level conclusions.
References
Similar or alternative tools
- GLP Archive Box Folder Span Count
Validate an ordered inclusive box/folder span with fixed positive foldersPerBox and one-based folder numbers.
- Archive Box Capacity Remainder
Use exact integer division and remainder to return fullBoxes and remainingRecords.