You are not logged in.
I was browsing the AUR when I noticed that it has a popularity system.
I went to check which was the most popular package, and unsurprisingly it was hyprland, but I was in doubt about how it calculates and if it has something to do with time since one day hyprland will decay from use and there are several packages in the AUR who has 0 popularity.
Just like you.
Offline
You can vote for a package. Or you can send tacos to the TUs.
https://aur.archlinux.org/packages/aurvote
Last edited by jasonwryan (2023-03-02 02:35:51)
Offline
There's a question mark you can hover on the popularity table name. which reads
Popularity is calculated as the sum of all votes with each vote being weighted with a factor of 0.98 per day since its creation.
Offline
Wow, I feel kind of stupid for not having noticed. Thank you very much!!
Just like you.
Offline
There's a question mark you can hover on the popularity table name. which reads
The popularity hover text wrote:Popularity is calculated as the sum of all votes with each vote being weighted with a factor of 0.98 per day since its creation.
Does this mean that every day it's decreased like this:
1 * 0.98^n
?
Offline
What's the "n" there? Based on the description the calculation would be:
Popularity_today = Popularity_yesterday * 0.98 + New_votes_from_today
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline