Issue tracker moved to https://gitlab.archlinux.org/archlinux/aurweb/-/issues
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
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
|
DetailsWe 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.
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?
0001-Display-popularity-with-...
(1.4 KiB)