-
-
Notifications
You must be signed in to change notification settings - Fork 367
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
Add fuzzy name matching and mixed sources #1719
Conversation
74519b2
to
4645c12
Compare
Sorry for only chiming in now, but I think this could use some more work:
and
|
This for sure will need more work @grandchild , I wanted to have a working base that allowed both source display methods to coexist to make smaller additive changes. The first example on python I have to check what caused it to be less weighted (I'm guessing description) but on the second one it definitely comes from the weight difference for AUR/sync. Current metric is weighted: 0.6 * (name similarity) + 0.2 * (desc similarity) + 0.2 * (popularity vs official status) popularity vs official status: something from a repo has a (popularity vs official status) = 1, for the AUR votes are taken into account. aur packages: float64(pkg.votes) / float64(pkg.votes+60) , so a package with 500 votes has a weight of 0.89 |
Greetings! Please try to find: https://archlinux.org/packages/community/x86_64/sd/ Cheers! |
Thank you big times! I really LOVE yay (which in my opinion should be the standard packet manager), but for |
-Ss
and-Y
yay --separatesources
for old view)Example: search of
linux
Closes #983 (hopefully after some forth and back on metrics)