Description
Return box capacity, free-slot count and reservation conflicts.
Biobank administration tracks specimen IDs, source labels, storage addresses and inventory assertions. A check symbol, row-major index or supported-record count helps reconcile metadata while actual specimen identity, storage conditions and availability require verified records and physical controls.
Return box capacity, free-slot count and reservation conflicts.
When to use this tool
Use Storage Box Slot Closure Token when checking the stated biobank address, label, inventory or support convention.
How to use the tool and how it works
- Enter rows, columns, occupiedSlots, reservedSlots. Follow any array-alignment requirements below. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read totalSlots, freeSlots, overlappingReservations, duplicateOccupancy. Use the output convention below.
Return box capacity, free-slot count and reservation conflicts. Require whole rows/columns 1..256 and supplied positions within [0,rows*columns); freeSlots subtracts distinct occupied/reserved values, overlap lists shared reservations and duplicateOccupancy counts later repeats.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| rows | Rows | Required. Safe integer; minimum 1; maximum 256. |
| columns | Columns | Required. Safe integer; minimum 1; maximum 256. |
| occupiedSlots | Whole zero-based occupied positions in range, compared with reservations as literal indexes. | Required. Array of safe integer; maximum items 256. |
| reservedSlots | Reserved Slots | Required. Array of safe integer; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| totalSlots | Total Slots | Required. Safe integer. |
| freeSlots | Free Slots | Required. Safe integer. |
| overlappingReservations | Overlapping Reservations | Required. Array of safe integer; maximum items 256. |
| duplicateOccupancy | Duplicate Occupancy | Required. Safe integer. |
{
"input": {
"rows": 2,
"columns": 3,
"occupiedSlots": [
0,
1,
1
],
"reservedSlots": [
1,
2
]
},
"output": {
"totalSlots": 6,
"freeSlots": 3,
"overlappingReservations": [
1
],
"duplicateOccupancy": 1
}
} Limitations and assumptions
- Positions must be whole indexes within the box; no physical inspection or actual reservation occurs.
- 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
Use the complete inventory/label format and verified physical records; inspect actual storage and specimen conditions under appropriate professional procedures.
References
Similar or alternative tools
- Biobank Storage Box Empty Position Count
List integer storage positions not occupied or reserved.
- Storage Position Index Offset
Return a row-major storage index with an origin offset.