Skip to content

test: cover linear regression algorithm (#12) - #21

Draft
Vamsi-2581 wants to merge 1 commit into
marvelefe:mainfrom
Vamsi-2581:test/linear-regression-coverage-12
Draft

Vamsi-2581 wants to merge 1 commit into
marvelefe:mainfrom
Vamsi-2581:test/linear-regression-coverage-12

Conversation

@Vamsi-2581

Copy link
Copy Markdown

Description

Adds focused, deterministic unit coverage for the Linear Regression slice of issue #12: fitting and predicting a known linear relationship, regression metrics, and the regression/residual/loss visualization data. Updates the developer guide to point to the actual root tests/ layout. This is one algorithm-specific PR in the split series.

Related Issue

Part of #12 (the issue explicitly allows one PR per algorithm).

Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 💥 Breaking change
  • 📚 Documentation update
  • 🎨 Design / UX / accessibility improvement
  • ⚡ Performance improvement
  • 🧪 Tests
  • 🔧 Chore / refactor / tooling

How Has This Been Tested?

  • Added deterministic Vitest cases for fit/predict, metrics, and visualization output.
  • Tests, type-check, and build were not run locally; this work was prepared through GitHub cloud tools. CI results will be checked after submission.

Checklist

  • The change is focused and covers one algorithm
  • I added tests for the selected algorithm
  • I updated the developer guide's test-location example
  • Commit follows Conventional Commits and includes the requested sign-off
  • I read the Contributing Guide and Code of Conduct
  • npm run test, npm run type-check, and npm run build pass

Signed-off-by: Vamsi-1 <245859299+Vamsi-2581@users.noreply.github.com>
Assisted-by: OpenAI Codex
@Vamsi-2581
Vamsi-2581 marked this pull request as draft October 20, 2026 02:38
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