pub fn ratio(safe: u64, total: u64) -> f64
Cache-preservation ratio: safe / total, or 1.0 when nothing has been rewritten yet (the trivially-safe empty state). Pure, so it is unit-tested independently of the global counters.
safe / total
1.0