Skip to content

feat: move code to weighting, add tests#50

Merged
stephantul merged 2 commits intomainfrom
move-weighting
Apr 29, 2026
Merged

feat: move code to weighting, add tests#50
stephantul merged 2 commits intomainfrom
move-weighting

Conversation

@stephantul
Copy link
Copy Markdown
Contributor

This PR moves the weighting code of the boosting to a separate file, providing some separation between the two. The weighting code and boosting code do share functions.

I also created a separate test make command that skips the git commits and git stuff, since not every environment has git or wants to create git repositories. When not running the git commands, one of the tests did not have full coverage, so I added an additional test to up coverage again.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

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

@stephantul stephantul requested a review from Pringled April 29, 2026 16:28
@stephantul stephantul merged commit 1d37088 into main Apr 29, 2026
13 checks passed
@stephantul stephantul deleted the move-weighting branch April 29, 2026 16:37
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