Skip to content

feat: remove mode argument from Semble#119

Open
stephantul wants to merge 2 commits into
mainfrom
remove-mode
Open

feat: remove mode argument from Semble#119
stephantul wants to merge 2 commits into
mainfrom
remove-mode

Conversation

@stephantul
Copy link
Copy Markdown
Contributor

This PR removes the mode argument from the search. The mode just led to weaker results because it disabled the ranking pipeline. Because we also expose alpha, users can safely choose full bm25 or full semantic by setting alpha to 0.0 or 1.0, and still get the benefits of the ranking pipeline.

For ablations, I opted to remove the model results as well, I think the results are still pretty clear and actionable, although I can see the value in patching it for evaluation purposes (e.g., maybe disabling the reranking with a private boolean?)

@stephantul stephantul changed the title Remove mode feat: remove mode argument from Semble May 19, 2026
@stephantul stephantul requested a review from Pringled May 19, 2026 18:44
@codecov
Copy link
Copy Markdown

codecov Bot commented May 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/semble/__init__.py 100.00% <100.00%> (ø)
src/semble/cli.py 100.00% <100.00%> (ø)
src/semble/index/index.py 100.00% <100.00%> (ø)
src/semble/mcp.py 100.00% <100.00%> (ø)
src/semble/search.py 100.00% <100.00%> (ø)
src/semble/types.py 100.00% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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