Skip to content

Remove unused rank-bm25 dependency, fix hybrid-search phrasing - #3

Merged
sahilkalgutkar merged 1 commit into
mainfrom
chore/remove-unused-dependency
Aug 19, 2026
Merged

sahilkalgutkar merged 1 commit into
mainfrom
chore/remove-unused-dependency

Conversation

@sahilkalgutkar

Copy link
Copy Markdown
Owner

Found during a cross-repo audit: rank-bm25 was listed in requirements.txt but never imported anywhere in the codebase — dead dependency. Also, the README described retrieval as "hybrid search," which normally implies keyword + vector — but there's no BM25/keyword component here, only vector similarity blended with a recency-decay weight. Reworded to say that explicitly instead of overstating it.

Verified: fresh venv, pip install -r requirements-dev.txt && pytest — 34/34 pass without the removed dependency.

rank-bm25 was in requirements.txt but never imported anywhere in the
codebase. Retrieval blends vector similarity with recency decay, not
keyword search, so the README's "hybrid search" phrasing overstated
what retrieve/ actually does — reworded to be explicit that there's no
BM25/keyword component.
@sahilkalgutkar
sahilkalgutkar merged commit e11b7c1 into main Aug 19, 2026
1 check passed
@sahilkalgutkar
sahilkalgutkar deleted the chore/remove-unused-dependency branch August 19, 2026 03:41
@codecov

codecov Bot commented Aug 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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