Files
fizzy/test/models
Mike Dalessio e0fa376d4f Update scoreable to return a large positive number when score==0 (#290)
Avoid infinite activity score orders

Items with a zero activity score were getting an activity sorting score
of -infinity, because we base the value on log2(score). Adjusting the
calculation avoids this edge case, by always basing the sorting score on
a non-zero number.

---------

Co-authored-by: Kevin McConnell <kevin@37signals.com>
2025-03-11 07:39:17 -04:00
..
2024-09-18 13:06:30 -04:00
2024-08-19 15:55:40 -05:00
2025-03-05 17:16:31 +00:00
2025-03-05 17:16:31 +00:00
2024-10-27 20:30:15 -06:00
2025-03-05 17:16:31 +00:00
2024-10-03 12:54:13 +01:00
2024-09-05 17:36:48 -04:00