pub fn report_scale_migration(
site: &str,
model_form: f64,
origin_form: impl FnOnce() -> f64,
)Expand description
Migration diagnostic for the one-model_scale change
(docs/developer/kernel-plans/offset-unification-audit.md, slice 0).
Switching a pipeline’s scale definition moves EVERY tolerance derived from
it at once, so the corpus must be measurable before and after. Call this at
a site that is changing over, with the old origin-distance value and the new
size-based one, and run the batteries with BREP_SCALE_DIAG=1 to see which
fixtures actually move and by how much. ratio > 1 means the old
definition was LOOSER than the new one there (the placement-inflation this
slice removes); ratio < 1 means it was tighter.
Silent and free unless the variable is set: the lookup happens once and the
superseded origin_form closure is never called otherwise, so the retired
definition costs nothing in the shipped path while staying re-measurable.