Skip to content

fix(sum): use pairwise summation for floating-point linalg::Sum#849

Merged
pcchen merged 2 commits into
masterfrom
claude/835-pairwise-sum
Jun 13, 2026
Merged

fix(sum): use pairwise summation for floating-point linalg::Sum#849
pcchen merged 2 commits into
masterfrom
claude/835-pairwise-sum

test(sum): cover PairwiseSumBlocks branches and heterogeneous magnitudes

e7a9b3e
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 10, 2026 in 0s

29.68% (+0.19%) compared to 87c9fd5

View this Pull Request on Codecov

29.68% (+0.19%) compared to 87c9fd5

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 29.68%. Comparing base (87c9fd5) to head (e7a9b3e).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #849      +/-   ##
==========================================
+ Coverage   29.49%   29.68%   +0.19%     
==========================================
  Files         241      242       +1     
  Lines       35524    35544      +20     
  Branches    14780    14781       +1     
==========================================
+ Hits        10477    10551      +74     
+ Misses      17791    17737      -54     
  Partials     7256     7256              
Components Coverage Δ
C++ backend 30.96% <100.00%> (+0.22%) ⬆️
Python bindings 17.09% <ø> (ø)
Python package 52.71% <ø> (ø)
Files with missing lines Coverage Δ
src/backend/linalg_internal_cpu/Sum_internal.cpp 96.29% <100.00%> (+86.61%) ⬆️
src/backend/linalg_internal_cpu/pairwise_sum.hpp 100.00% <100.00%> (ø)

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 87c9fd5...e7a9b3e. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.