Avatar for the Eventual-Inc user
Eventual-Inc
Daft
BlogDocsChangelog

Performance History

Latest Results

Merge branch 'main' into issue-6901
Lucas61000:issue-6901
56 minutes ago
fix(rotation): reject inputs that are not rotations instead of returning a plausible value Three problems, all of the same shape: an input that is not a rotation produced a number rather than a null. rotation_geodesic_angle clamps the cosine into [-1, 1] so that rounding cannot produce NaN for nearly identical frames. That clamp also swallowed nonsense: a matrix of [1..9] against the identity gives a cosine of 7, which clamped to 1 and reported an angle of exactly 0, meaning "no rotation". It now returns null when the cosine lies more than a tolerance outside the range, and still clamps within it. matrix_to_quat returned finite garbage for a matrix outside SO(3): [1..9] gave [0.25, -0.5, 0.25, 2.0]. Shepperd's method yields a unit quaternion exactly when its input is a rotation, so the norm of the result is a cheap and complete test. Scaled matrices, reflections, and negated identity are all rejected. Non-finite inputs were handled inconsistently: quat_inverse returned null while quat_multiply, quat_rotate, and matrix_to_quat propagated NaN. Every expression now treats a row holding NaN or an infinity the way it treats a null, decided once where rows are read rather than in each function. The tolerance is 1e-6, which is far above f64 rounding and above the ~1e-7 cost of widening a Float32 rotation matrix, and far below any real degeneracy. Verified against 200 random rotations and against f32 inputs: no genuine rotation is rejected. Docstrings now state the null policy, and that the order argument is case-insensitive. Throughput is unchanged at 42M rows/s.
alejandro-soto-franco:feat/rotation-expressions
1 hour ago
Merge branch 'main' into issue-3957
Lucas61000:issue-3957
1 hour ago
Merge branch 'main' into issue-2786
Lucas61000:issue-2786
1 hour ago

Latest Branches

CodSpeed Performance Gauge
0%
feat: add Avro file format read/write support#7009
2 hours ago
3f0f5e6
Lucas61000:issue-6901
CodSpeed Performance Gauge
0%
2 hours ago
54b0b63
alejandro-soto-franco:feat/rotation-expressions
CodSpeed Performance Gauge
0%
2 hours ago
5edf332
Lucas61000:issue-3957
© 2026 CodSpeed Technology
Home Terms Privacy Docs