Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Differences in floating point precision representation causing unexpected search results #685

Open
maryjgoldman opened this issue Dec 20, 2024 · 0 comments

Comments

@maryjgoldman
Copy link
Collaborator

We hold floating point numbers in the browser as 64bit but we never show that to the user. We always round to 4 significant digits, including in the downloads offered outside the hub downloads. However, we do use the more precise number when searching for samples.

What this means is that sometimes a sample is expected to be included but is actually not included due to rounding
Screenshot 2024-12-19 at 4 03 29 PM

https://xenabrowser.net/?bookmark=92f8094adc2f89d0d0c4ac5bddbf8176

A potentially easy solution is to offer the more precise floating points for download from the UI.

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

No branches or pull requests

1 participant