Skip to content

pr/sknetwork rs core#595

Closed
nathandelara wants to merge 5 commits into
developfrom
pr/sknetwork-rs-core
Closed

pr/sknetwork rs core#595
nathandelara wants to merge 5 commits into
developfrom
pr/sknetwork-rs-core

Conversation

@nathandelara

Copy link
Copy Markdown
Member
  • Add sknetwork-rs core crate with CI and publish scaffolding.
  • Harden Rust CI with bench-feature coverage and clippy checks.

nathandelara and others added 2 commits June 13, 2026 12:17
Introduces the Rust port as an additive subtree under sknetwork-rs/: library
source, Cargo metadata, LICENSE, README, docs, and publish check scripts.
Benchmark harness (benchmarking/) is intentionally excluded; it lives on
wip/full-port-with-benchmarks. Python packaging is unchanged (MANIFEST.in
excludes sknetwork-rs). Adds rust_checks workflow for cargo test and docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
Runs all-target tests with the bench feature enabled and adds a clippy pass
focused on panic/unwrap/indexing risk signals so regressions surface in PR CI.

Co-authored-by: Cursor <cursoragent@cursor.com>
@codecov

codecov Bot commented Jul 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.22%. Comparing base (4eab026) to head (634ed8c).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #595   +/-   ##
========================================
  Coverage    98.22%   98.22%           
========================================
  Files          182      182           
  Lines         8356     8356           
========================================
  Hits          8208     8208           
  Misses         148      148           

☔ 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.

nathandelara and others added 3 commits July 2, 2026 11:21
In CI, Lanczos can occasionally return fewer retained components than the
requested max dimension while still producing a valid embedding. Update the
options contract test to assert dimensions are within [1, min_dim] instead of
exactly min_dim for Lanczos-backed PCA/SVD.

Co-authored-by: Cursor <cursoragent@cursor.com>
Remove duplicate license metadata warning by keeping SPDX `license` only and
explicitly include README/LICENSE in the package include list. Improve the
publish package gate to surface cargo package errors instead of swallowing
stderr, making CI failures diagnosable.

Co-authored-by: Cursor <cursoragent@cursor.com>
Replace rg usage in publish gate scripts with POSIX grep so checks run on
standard GitHub runners without extra tool dependencies.

Co-authored-by: Cursor <cursoragent@cursor.com>
@tbonald

tbonald commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

We prefer to keep a pure Python project.
Thanks!

@tbonald tbonald closed this Jul 2, 2026
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.

2 participants