pub fn loop_score(ids: &[u32]) -> f64
Loopiness of a generated id sequence: 1 − unique 4-grams / total. 0 = no repeated 4-gram; near 1 = a tight loop.