Liquidity Lu saysHealth factor = collateral × threshold / debt. When it drops below 1, anyone can liquidate the position — repay part of the debt and seize collateral at a bonus.
A lending position has a health factor: HF = collateral × liquidationThreshold / debt. Above 1 is safe; below 1 the position is liquidatable by anyone. The liquidator repays a portion of the debt and seizes collateral worth more than the repayment — the difference is the liquidation bonus, typically 5-10%.
Liquidation bots ("keepers") race to find unhealthy positions during volatility spikes. The demo shows a position fall from HF=1.0 to HF=0.80 after a 20% price drop, becoming liquidatable.