Skip to content

Conversation

@aisa6148
Copy link

@aisa6148 aisa6148 commented Jun 3, 2025

Refactor LensKit Statistical Components and Fix Ray Tests

Changes

  1. Statistical Module Reorganization
  • Moved argtopn from lenskit.stats to lenskit.data.types
  • Removed duplicate implementation from stats.base
  • Updated all imports
  1. Gini Implementation
  • Moved Gini implementation to base.py
  1. BLB (Bag of Little Bootstraps) Improvements
  • Fixed parallel processing tests
  • Added ignore_reinit_error=True to Ray initialization
  • Improved test stability and reliability

No. of files changed: 10

@codecov
Copy link

codecov bot commented Jun 3, 2025

Codecov Report

❌ Patch coverage is 97.11538% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.42%. Comparing base (16e5fc7) to head (9060f8a).
⚠️ Report is 145 commits behind head on main.

Files with missing lines Patch % Lines
src/lenskit/stats/blb.py 96.10% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #786      +/-   ##
==========================================
+ Coverage   90.39%   90.42%   +0.02%     
==========================================
  Files         150      152       +2     
  Lines       10592    10675      +83     
==========================================
+ Hits         9575     9653      +78     
- Misses       1017     1022       +5     

☔ View full report in Codecov by Sentry.
📢 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.

@mdekstrand mdekstrand linked an issue Jun 3, 2025 that may be closed by this pull request
@mdekstrand
Copy link
Member

Kluver is helping debug #787, and we'll use that one as the basis for the version to merge (if we can get it working). Thank Thanks for working on this!

@mdekstrand mdekstrand closed this Aug 15, 2025
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.

Implement Bag of Little Bootstraps

2 participants