3 ms·
And which method should be used to determine code quality?
by demaga 2y ago
And which method should be used to determine code quality?
- PeeMcGee 2y agoAn easy one would be to promote projects that look like actual useful projects that contain code. Most of the ultra-starred things I see are awesome lists or otherwise non-useful markdown listicles and blogs.
- est 2y agoIf that's a problem, then what method should be used to rank repos? If "stars" were the only metric we can find, then people should stop complaining "fake" stars.
- demaga 2y agoI'm with the other commenters on this issue. Stars are good enough as a marker, since you can use other markers (like # of contributors and recent commits) to make your own mind regarding quality of a repo.
- saagarjha 2y agoDefinitely not stars lmao. Why would you want to use a measure of publicity as a measure of quality?
- hulitu 2y ago> Definitely not stars lmao. Why would you want to use a measure of publicity as a measure of quality? It is Microsoft.
- michaelt 2y agoIt's simple. Code quality is (Number of stars + number of forks * median number of commits per fork + 10 * number of closed issues + 100 * number of open issues + 3 * number of dependent packages + 0.01 * number of installs in the last 30 days) * number of commits in the last 100 days * number of core contributors active in the last 7 days / percentage of lines of code with no test coverage / (1+the number of open CVEs in dependencies) * the vibe factor