mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-16 22:48:55 +00:00
Review fixes for the size-stability false positive and Fallow CRAP score. - isRotationSizeStable now bounds the bbox ratio in BOTH width and height. The width-only guard let a top-anchored height-scaling element (fixed width, growing height) through: its AABB center moves on its own, so it emitted rotation_pivot_drift and recommended a destructive pivot rewrite. - Factor the guard chain into named single-decision predicates (hasEnoughRotationSamples / isActuallySpinning / isRotationSizeStable / isSizableRotation) so detectRotationPivotDrift reads as a candidate filter + drift test. Drops the CRAP score (complexity + coverage). - Export detectRotationPivotDrift and add direct positive/negative coverage for all five filter stages, including the height-scaling regression. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>