Skip to content

feat: small helper method to reduce overlap - #365

Merged
stephantul merged 1 commit into
mainfrom
add-helper-method
Sep 12, 2026
Merged

feat: small helper method to reduce overlap#365
stephantul merged 1 commit into
mainfrom
add-helper-method

Conversation

@stephantul

Copy link
Copy Markdown
Contributor

Adds a small helper method to reduce boilerplate in encode and encode_as_sequence. This doesn't reduce the total number of lines by much, but it does make it easier to maintain.

@stephantul
stephantul requested a review from Pringled September 12, 2026 06:38
@codecov

codecov Bot commented Sep 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
model2vec/model.py 97.35% <100.00%> (-0.22%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Pringled Pringled left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yuuup I like it

@stephantul
stephantul merged commit 629cc6f into main Sep 12, 2026
11 checks passed
@stephantul
stephantul deleted the add-helper-method branch September 12, 2026 09:55
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