github-readme-stats/api
kitswas 5577bbf07f
New top language algorithm implementation (#1732)
* Reduced vercel maxDuration

* Implemented new algorithm for Top Langs

* Revert "Reduced vercel maxDuration"

This reverts commit b0bc626efe12c738cf5005e7f11c7d2a07b6387a.

* Added documentation

* Fixed broken implementation

* Update fetchTopLanguages.test.js

Changed tests

* Now uses the general formula

The parameters p and q can be set by the user.

* Updated tests and added new test

* Added new test

New test for order by repo count.

* Updated documentation

Added explanation and examples for new options.

* Updated documentation

This was overwritten in the merge commit.

* docs: improve docs and fix tests

* Renamed parameters

Renamed `p` and `q` to `size_weight` and `count_weight`, respectively.

* Updated the documentation

Changes introduced in f2516d60a4

---------

Co-authored-by: rickstaa <rick.staa@outlook.com>
2023-04-25 08:19:05 +02:00
..
status refactor: fix code comments and change 'up' rate limit (#2560) 2023-03-02 07:44:43 +05:30
index.js feat(RankIcon): add rank_icon option (#2628) 2023-04-24 13:56:14 +00:00
pin.js feat: improve card loading speed (#2124) 2022-11-21 10:21:46 +01:00
top-langs.js New top language algorithm implementation (#1732) 2023-04-25 08:19:05 +02:00
wakatime.js feat: improve card loading speed (#2124) 2022-11-21 10:21:46 +01:00