severity(lock, cost, scale, traffic, config, multiplier).
Lock-queue damage tracks traffic, not table size; rewrite/scan damage tracks rows and bytes. The multiplier is staleness headroom (thresholds shrink as the snapshot ages). Unknown scale is unbounded, never small. An ACCESS EXCLUSIVE operation is never silent: the floor is :info.
Summary
Types
@type scale() :: {:rows, non_neg_integer(), non_neg_integer()} | :zero | :unknown
@type traffic() :: :hot | :cold | :unknown