Description
Return signed storage capacity slack.
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 signed storage capacity slack.
When to use this tool
Use Freezer Position Capacity Slack when checking the stated biobank address, label, inventory or support convention.
How to use the tool and how it works
- Enter capacity, occupied, reserved. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read slack. Use the output convention below.
Return signed storage capacity slack. Require nonnegative whole capacity/occupied/reserved; compute capacity-occupied-reserved with exact intermediates, then convert to numeric output.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| capacity | Capacity | Required. Safe integer; minimum 0. |
| occupied | Occupied | Required. Safe integer; minimum 0. |
| reserved | Reserved | Required. Safe integer; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| slack | Slack | Required. Safe integer. |
{
"input": {
"capacity": 100,
"occupied": 80,
"reserved": 15
},
"output": {
"slack": 5
}
} Limitations and assumptions
- Negative slack is retained; overlap of occupied/reserved positions is not resolved and no slot is actually allocated.
- 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.