Skip to content

chore: Remove dead code and deduplicate internals - #272

Open
Pringled wants to merge 2 commits into
mainfrom
refactor/simplify-internals
Open

Pringled wants to merge 2 commits into
mainfrom
refactor/simplify-internals

Conversation

@Pringled

Copy link
Copy Markdown
Member

This PR removes a bunch of dead code that was left over from older refactors or features we changed. There's also some deduplication, and weighting.py is now just folded into boosting.py because it was only a couple of lines and only used there. Scores and speed on the benchmark are the exact same and all tests still pass.

@codecov

codecov Bot commented Sep 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/semble/cache.py 100.00% <100.00%> (ø)
src/semble/cli.py 100.00% <100.00%> (ø)
src/semble/index/bm25.py 100.00% <100.00%> (ø)
src/semble/index/dense.py 100.00% <100.00%> (ø)
src/semble/index/files.py 100.00% <100.00%> (ø)
src/semble/index/index.py 100.00% <100.00%> (ø)
src/semble/installer/agents.py 100.00% <100.00%> (ø)
src/semble/installer/config.py 100.00% <100.00%> (ø)
src/semble/installer/installer.py 100.00% <ø> (ø)
src/semble/mcp.py 100.00% <100.00%> (ø)
... and 5 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@greptile-apps

greptile-apps Bot commented Sep 18, 2026

Copy link
Copy Markdown

RetriggerConfidence Score: 5/5

The PR appears safe to merge, with no outstanding correctness, security, or repository-rule issues.

Reviews (2) · Last reviewed commit: "fix: Bound the path penalty cache"

Comment thread src/semble/ranking/penalties.py Outdated
@Pringled
Pringled requested a review from stephantul September 18, 2026 07:31

This branch has not been deployed

No deployments
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