Skip to content

Commit

Permalink
update skillset formula
Browse files Browse the repository at this point in the history
  • Loading branch information
umihico committed Jan 30, 2019
1 parent 87aac9e commit 33aa122
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Expand Up @@ -14,9 +14,13 @@ GIF Screenshots of everybody's [#portfolio-websites](https://github.com/topics/p
![readme_img](/readme_img.jpg)

### Skillset calculation formula
1. exacts 'language' and 'size' from https://api.github.com/users/USERNAME/repos?per_page=100&page=1&sort=pushed (this means one repository can have only one language)
2. weighting size by last-pushed day sort index(1-100), so `size=1+(1/index)*size`.
3. distribute 100 points according to size.
1. exacts 'language' and 'size' from https://api.github.com/users/USERNAME/repos?per_page=100&page=1&sort=pushed
2. excludes forked repositories.
3. put `date_point`(1-100) according to last pushed dates.(oldest is 1)
4. put `size_point`(1-100) according to sizes.(smallest is 1)
5. calc each repository point by `date_point * size_point`.
6. sum repositories points according to the language.
3. distribute 100 points according to language points.


### Where is my gif?
Expand Down

0 comments on commit 33aa122

Please sign in to comment.