You are not logged in.

#1 2023-03-02 02:28:28

altart
Member
Registered: 2023-03-02
Posts: 2
Website

How does the AUR calculate package popularity?

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

#2 2023-03-02 02:35:04

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: How does the AUR calculate package popularity?

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)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2023-03-02 02:36:11

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,447

Re: How does the AUR calculate package popularity?

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.

Offline

#4 2023-03-02 03:51:31

altart
Member
Registered: 2023-03-02
Posts: 2
Website

Re: How does the AUR calculate package popularity?

Wow, I feel kind of stupid for not having noticed. Thank you very much!!


Just like you.

Offline

#5 2024-08-03 14:48:24

aljustiet
Member
Registered: 2024-02-09
Posts: 83
Website

Re: How does the AUR calculate package popularity?

V1del wrote:

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

#6 2024-08-03 15:46:51

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: How does the AUR calculate package popularity?

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

Board footer

Powered by FluxBB