Skip to content

clean up post-processing code#323

Merged
stephantul merged 3 commits intomainfrom
clean-up-post-processing
Apr 21, 2026
Merged

clean up post-processing code#323
stephantul merged 3 commits intomainfrom
clean-up-post-processing

Conversation

@stephantul
Copy link
Copy Markdown
Contributor

The post processing code was too complicated, I split it up in two functions. The call sites are now significantly less complex.

@stephantul stephantul requested a review from Pringled April 21, 2026 05:11
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
model2vec/distill/distillation.py 94.44% <100.00%> (+4.16%) ⬆️
model2vec/distill/inference.py 98.34% <100.00%> (+0.02%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Member

@Pringled Pringled left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice ✨

@stephantul stephantul merged commit 810d25e into main Apr 21, 2026
9 checks passed
@stephantul stephantul deleted the clean-up-post-processing branch April 21, 2026 05:25
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.

2 participants