AUR web interface

Tasklist

FS#62947 - Excessive precision of popularity

Attached to Project: AUR web interface
Opened by Allan McRae (Allan) - Thursday, 20 June 2019, 03:51 GMT
Last edited by Lukas Fleischer (lfleischer) - Tuesday, 21 April 2020, 16:08 GMT
Task Type Bug Report
Category Backend
Status Closed
Assigned To No-one
Architecture All
Severity Very Low
Priority Urgent
Reported Version 4.7.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

We probably don't need 6 decimal points here...

Popularity: 37.486858
This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Tuesday, 21 April 2020, 16:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 5.0.0.
Comment by Allan McRae (Allan) - Thursday, 20 June 2019, 04:15 GMT
Patch.
Comment by Lukas Fleischer (lfleischer) - Thursday, 20 June 2019, 11:48 GMT
The majority (over 80%) of AUR packages has a popularity less than 0.01 and for more than 25% of these packages, the popularity is actually non-zero. We can certainly use 2 decimal points by default and switch to lower precision only below a certain threshold (0.2?)
Comment by Allan McRae (Allan) - Thursday, 20 June 2019, 11:52 GMT
If a popularity is less than 0.01 for a package, is the number even meaningful?

Loading...