Skip to content

chore: update dependencies to latest - #29

Merged
lpatiny merged 3 commits into
mainfrom
chore/update-standards
Jul 29, 2026
Merged

chore: update dependencies to latest#29
lpatiny merged 3 commits into
mainfrom
chore/update-standards

Conversation

@lpatiny

@lpatiny lpatiny commented Jul 29, 2026

Copy link
Copy Markdown
Member

Bump devDependencies to their latest versions and raise the ml-matrix
requirement to ^6.14.0, which adds Matrix.transposeMultiply().

lpatiny added 3 commits July 29, 2026 14:35
Bump devDependencies to their latest versions and raise the ml-matrix
requirement to ^6.14.0, which adds Matrix.transposeMultiply().

TypeScript stays on ^6: typescript-eslint does not support the TS 7 API
yet (typescript-eslint/typescript-eslint#10940), so `npm run eslint`
fails outright under TS 7.0.

Also add .DS_Store to src/.npmignore.

Assisted-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
X.transpose().mmul(Y) materialized the transpose and multiplied densely.
transposeMultiply() (new in ml-matrix 6.14.0) streams each shared row as
a rank-1 update and skips zero entries, so both operands stay row-major
and sparse predictors cost far less. The result is identical.

Measured on Node 26, median of 5-40 runs, seeded inputs:

                              XtY alone          fcnnls() end to end
  dense  X 300x40  Y 300x30   0.39 -> 0.27 ms    4.44 -> 4.40 ms
  sparse X 1000x60 Y 1000x50  3.19 -> 0.34 ms   14.53 -> 10.83 ms (1.34x)
  sparse X 2000x80 Y 2000x60  10.3 -> 0.73 ms   35.22 -> 25.95 ms (1.36x)

The dense case barely moves because XtY is a small share of the total
work there; on the sparse matrices typical of deconvolution it is around
a quarter of the runtime.

Assisted-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
interceptAtZero was never documented, and the options example assigned
the whole result to `K` even though `info: true` returns `{ K, info }`.
Add an options table with defaults and describe the info shape.

Assisted-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@codecov

codecov Bot commented Jul 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.35%. Comparing base (0554ec0) to head (b0bf02e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #29      +/-   ##
==========================================
- Coverage   93.38%   93.35%   -0.03%     
==========================================
  Files          18       18              
  Lines         272      271       -1     
  Branches       54       54              
==========================================
- Hits          254      253       -1     
  Misses         15       15              
  Partials        3        3              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@lpatiny
lpatiny merged commit 20bef56 into main Jul 29, 2026
10 checks passed
@lpatiny
lpatiny deleted the chore/update-standards branch July 29, 2026 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant