Skip to content

fix: adaptive epsilon for dtypes - #85

Merged
stephantul merged 1 commit into
mainfrom
adaptive-epsilon
Oct 2, 2026
Merged

stephantul merged 1 commit into
mainfrom
adaptive-epsilon

Conversation

@stephantul

Copy link
Copy Markdown
Contributor

Fixes #83 .

This PR adds an adaptive epsilon so that float16s are correctly recognized as being unit length.

@stephantul
stephantul requested a review from Pringled October 2, 2026 06:50
@codecov

codecov Bot commented Oct 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
tests/test_utils.py 100.00% <100.00%> (ø)
vicinity/utils.py 97.95% <100.00%> (+0.08%) ⬆️

... and 2 files with indirect coverage changes

🚀 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.

LGTM

@stephantul
stephantul merged commit 2fd706d into main Oct 2, 2026
5 checks passed
@stephantul
stephantul deleted the adaptive-epsilon branch October 2, 2026 08:32
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.

normalize_or_copy doesn't recognize float16 normalized vectors as normalized

2 participants