Sophia reports how often its per-coordinate steps hit the clip. Tracking this fraction shows whether the curvature estimate is too small, which causes frequent clipping.
Implement clip_fraction(ratios), the share of coordinates whose ratio magnitude reaches one.
Take the absolute values, compare with one, and average the boolean result.
No results yet
Run your code to check it against the examples, or submit to run every test.