Description
Return signage text budget in UTF-16 code units.
Laboratory-safety administration tracks inspection records, equipment counts, training coverage and supplied policy limits. A local balance or current-status flag can reveal a record gap while actual equipment condition, training competence and adequate protection require independent verification.
Return signage text budget in UTF-16 code units.
When to use this tool
Use Biosafety Public Signage Character Budget when checking the stated laboratory-safety record, timing, capacity or inventory convention.
How to use the tool and how it works
- Enter text, maximumCodeUnits, reservedCodeUnits. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read used, remaining, fits. Inspect fits before interpreting the associated values.
Return signage text budget in UTF-16 code units. Require whole 0 <= reservedCodeUnits <= maximumCodeUnits; used = text.length, remaining = maximum-reserved-used, fits includes equality.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| text | Text | Required. Text; maximum UTF-16 length 8192. |
| maximumCodeUnits | Maximum Code Units | Required. Safe integer; minimum 0. |
| reservedCodeUnits | Reserved Code Units | Required. Safe integer; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| used | Used | Required. Safe integer. |
| remaining | Budget minus use under the stated direction, retaining negative deficits where allowed. | Required. Safe integer. |
| fits | Whether calculated use is no greater than the supplied limit. | Required. Boolean. |
{
"input": {
"text": "Wash hands",
"maximumCodeUnits": 14,
"reservedCodeUnits": 2
},
"output": {
"used": 10,
"remaining": 2,
"fits": true
}
} Limitations and assumptions
- Code units are not bytes, graphemes or rendered width; this does not assess comprehension, accessible layout or safe signage.
- 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
Inspect actual equipment and verified records under the applicable procedures; use qualified risk assessment and professional judgment to determine adequate protection and actual authorization.
References
Similar or alternative tools
- Biosafety Equipment Certificate Version Pair
Compare equipment certificate labels and expiry.
- Biosafety Training Seat Capacity Budget Tool
Calculate biosafety training seat capacity budget from explicit caller-supplied inputs.