News for hackers. Stuff that matters.
Re:Ask HN: I want to create IMDB for Open source projects by pjerem on Monday April 15, 2024 @01:50PM (#40043586)
Ideally those projects would still get reviews so timeframed reviews still makes sense.
Re:Ask HN: I want to create IMDB for Open source projects by perlgeek on Monday April 15, 2024 @02:55PM (#40044304)
You probably need to adjust the time scale of what "recent" means based on the number of reviews.

If a project has a total of 10 reviews, it's probably best to not just take the average of the 2 newest reviews. On the other hand, if a project gets dozens of reviews a month, taking of the last two months or so would totally make sense.