Hacker News new | past | comments | ask | show | jobs | submit login
Ask HN: npm.com's package quality ranking seems unreliable
1 point by prmph on July 19, 2017 | hide | past | favorite
Npm.com has some radio buttons on the top left that purport to let you sort package listings by Popularity, Quality, and Maintenance

But it seems the Quality ranking does not really work.

For example, search for the term "decimal" and sort by quality [1]. The first package listed is decimal [2]. This seems suspicious; there are only 77 downloads for this library in the last day, whereas other similar libraries have thousands of downloads. Now you might say that popularity is not necessarily a good measure of quality, but in the read-me for this package, I see this (under the header "Can I help":

_Of course you can, I suck at math, and this implementation is very naive. If you are a math Guru and you see something wrong or a way to simplify things you can send in a pull request._

So how exactly does np determine the quality of packages?

[1] https://www.npmjs.com/search?q=decimal&page=1&ranking=optimal [2] https://www.npmjs.com/package/decimal




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: