# Checks and health

> Checks turn a line into a control, a balance sheet that balances or cash that stays positive, and the model's health reports every failing period.

A **check** marks a line as a control. The line is judged on its own value, at every period:

- an amount passes when it stays within a tolerance of zero (default 1): `Assets - Liabilities - Equity`;
- a condition passes when it is true: `Cash >= 0`, `AND(Debt >= 0, Covenant ratio <= 3)`.

Values are rounded to two decimals, and an empty period reads 0 (write `>= 0` rather than `> 0` for a line that is legitimately empty early on).

## Health

The model's **health** lists every failing check with its period and value. It is judged on the view people see: a check can pass on the base plan and fail under a scenario, and health reports each branch. A failing check never blocks a write: it is a signal for the reviewer and for the agent's next step.

## When the model cannot compute

A cycle, or a formula that points at a deleted line, makes the model **not computable**. Its values then read zero, health is `unknown`, and validation names the cycle or the broken reference. Fix the structure first: the numbers of a non-computable model mean nothing.

## Typical checks

| Check                  | Formula                                     |
| ---------------------- | ------------------------------------------- |
| Balance sheet balances | `Total assets - Total liabilities - Equity` |
| Cash flow ties to cash | `Closing cash - Cash_M-1 - Net cash flow`   |
| Cash stays positive    | `Cash >= 0`                                 |
| Covenant holds         | `Net debt / EBITDA <= 3`                    |
