A Bash report can derive a capacity reserve number and classify it with fixed thresholds.

Program

Play the script to choose demand and inspect the reserve status line.

capacity_reserve_reliability_report.sh
#!/usr/bin/env bash

demand=
capacity=100
reserve=$((capacity - demand))
if (( reserve >= 25 )); then
    status="stable"
elif (( reserve >= 10 )); then
    status="watch"
else
    status="tight"
fi
echo "demand=$demand reserve=$reserve status=$status"
#!/usr/bin/env bash

demand=
capacity=100
reserve=$((capacity - demand))
if (( reserve >= 25 )); then
    status="stable"
elif (( reserve >= 10 )); then
    status="watch"
else
    status="tight"
fi
echo "demand=$demand reserve=$reserve status=$status"
#!/usr/bin/env bash

demand=
capacity=100
reserve=$((capacity - demand))
if (( reserve >= 25 )); then
    status="stable"
elif (( reserve >= 10 )); then
    status="watch"
else
    status="tight"
fi
echo "demand=$demand reserve=$reserve status=$status"
reserve The script derives reserve from fixed capacity minus selected demand.
classification The branch labels the margin as stable, watch, or tight.
deterministic input Demand is the only selector; no host capacity data is read.