Skip to content

Main content

Biobank Storage Box Empty Position Count Tool

Find free positions while deduplicating overlapping occupied and reserved slots.

Loading tool…

Description

List integer storage positions not occupied or reserved.

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.

List integer storage positions not occupied or reserved.

When to use this tool

Use Biobank Storage Box Empty Position Count when checking the stated biobank address, label, inventory or support convention.

How to use the tool and how it works

  1. Enter capacity, occupied, reserved. Follow any array-alignment requirements below. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read emptyIndices, available. Use the output convention below.

List integer storage positions not occupied or reserved. Require whole capacity 0..256 and supplied positions within it; enumerate 0..capacity-1 and omit values present in either list.1

Input fieldMeaning and unitsAccepted input
capacityCapacityRequired. Safe integer; minimum 0; maximum 256.
occupiedWhole zero-based blocked positions in range; duplicates do not block extra positions.Required. Array of safe integer; maximum items 256.
reservedReservedRequired. Array of safe integer; maximum items 256.
Output fieldInterpretationReturned shape
emptyIndicesEmpty IndicesRequired. Array of safe integer; maximum items 256.
availableAvailableRequired. Safe integer.
json
{
  "input": {
    "capacity": 6,
    "occupied": [
      0,
      2,
      2
    ],
    "reserved": [
      2,
      5
    ]
  },
  "output": {
    "emptyIndices": [
      1,
      3,
      4
    ],
    "available": 3
  }
}

Limitations and assumptions

  • Blocked positions must be whole indexes in range; no actual inventory or reservation is changed.
  • 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

  1. Calculation and input contract: biobanking/biobank-storage-box-empty-position-count — tool.io

Similar or alternative tools