Skip to content

test: expand algorithm unit test coverage (LinearRegression, LogisticRegression, KMeans, FeatureScaling) - #22

Merged
marvelefe merged 2 commits into
marvelefe:mainfrom
slopgobblercobbler:test/expand-algorithm-coverage
Oct 21, 2026
Merged

marvelefe merged 2 commits into
marvelefe:mainfrom
slopgobblercobbler:test/expand-algorithm-coverage

Conversation

@slopgobblercobbler

Copy link
Copy Markdown
Contributor

Summary

Resolves #12.

Adds dedicated, deterministic unit test coverage for the primary algorithms specified in #12:

  • LinearRegression.ts (tests/linear-regression-algorithm.test.ts)
  • LogisticRegression.ts (tests/logistic-regression-algorithm.test.ts)
  • KMeans.ts (tests/kmeans-algorithm.test.ts)
  • FeatureScaling.ts (tests/feature-scaling-algorithm.test.ts)
  • Updated docs/DEVELOPER_GUIDE.md testing convention.

Validation

  • npm run test passed with 204 tests across all 12 test suites.

@marvelefe

Copy link
Copy Markdown
Owner

@slopggobblercobbler81 Thanks for taking the time to contribute to this project

@marvelefe
marvelefe merged commit 0f46981 into marvelefe:main Oct 21, 2026
3 checks passed
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.

Only 2 of ~60 algorithms have tests - expand algorithm test coverage

2 participants