Skip to content

Add --related-items, JSON output, and better testing to lenskit recommend#1087

Merged
mdekstrand merged 4 commits intolenskit:mainfrom
mdekstrand:feature/related-recs-cli
Apr 25, 2026
Merged

Add --related-items, JSON output, and better testing to lenskit recommend#1087
mdekstrand merged 4 commits intolenskit:mainfrom
mdekstrand:feature/related-recs-cli

Conversation

@mdekstrand
Copy link
Copy Markdown
Member

@mdekstrand mdekstrand commented Apr 23, 2026

This primarily adds --related-items and --json to the LensKit recommend CLI command.

Support code for using #1086.

@mdekstrand mdekstrand added this to the 2026.2 milestone Apr 23, 2026
@mdekstrand mdekstrand added data Data management support. cli Command-line interface labels Apr 23, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 23, 2026

Codecov Report

❌ Patch coverage is 57.14286% with 18 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.68%. Comparing base (dc34cae) to head (78ab1b3).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
src/lenskit/cli/recommend.py 57.14% 18 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1087      +/-   ##
==========================================
+ Coverage   89.49%   89.68%   +0.19%     
==========================================
  Files         231      231              
  Lines       16017    16042      +25     
==========================================
+ Hits        14334    14388      +54     
+ Misses       1683     1654      -29     

☔ 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 force-pushed the feature/related-recs-cli branch from 9f91dcb to 4200ff1 Compare April 24, 2026 22:01
@mdekstrand mdekstrand force-pushed the feature/related-recs-cli branch from 4200ff1 to 78ab1b3 Compare April 25, 2026 15:51
@mdekstrand mdekstrand changed the title Enhance attribute access and add --related-items to LensKit CLI Add --related-items, JSON output, and better testing to lenskit recommend Apr 25, 2026
@mdekstrand mdekstrand removed the data Data management support. label Apr 25, 2026
@mdekstrand mdekstrand merged commit 78ab1b3 into lenskit:main Apr 25, 2026
40 of 41 checks passed
@mdekstrand mdekstrand deleted the feature/related-recs-cli branch April 25, 2026 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli Command-line interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant