-
-
Notifications
You must be signed in to change notification settings - Fork 311
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
Fix to get threshold 0 working as documented #644
Fix to get threshold 0 working as documented #644
Conversation
…unt list is guaranteed
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Let me know what you think |
@allevo can you please take a look at this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's actually a neat fix. I like the approach
I put a comment, but generally, it is ok for me! |
Co-authored-by: Tommaso Allevi <tomallevi@gmail.com>
Added changes, thanks! |
Thank you @valstu , will release this in a few hours. |
This PR is a suggestion to fix #642. Instead of two sets, one for token counts and one for scores we combine them into a single set. Now when sorting the list it guarantees that they're in right order. Read further information and try the test case of a bug on Replit, mentioned in the issue #642