Files
hyperframes/packages
xuanruandClaude Opus 4.8 6aff5734a1 fix(lint): rigid-size guard in both dims + direct tests for rotation_pivot_drift
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>
2026-07-23 07:17:23 +00:00
..
2026-07-22 04:41:54 +00:00
2026-07-22 04:41:54 +00:00
2026-07-22 04:41:54 +00:00
2026-07-22 04:41:54 +00:00
2026-07-22 04:41:54 +00:00
2026-07-22 04:41:54 +00:00
2026-07-22 04:41:54 +00:00
2026-07-22 04:41:54 +00:00
2026-07-22 04:41:54 +00:00
2026-07-22 04:41:54 +00:00