Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explain the buffs and debuffs #7

Open
kauefraga opened this issue Sep 14, 2024 · 1 comment
Open

Explain the buffs and debuffs #7

kauefraga opened this issue Sep 14, 2024 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@kauefraga
Copy link
Owner

Add a paragraph in the analysis page listing the buffs, debuffs and their respective points

@kauefraga kauefraga added enhancement New feature or request good first issue Good for newcomers labels Sep 14, 2024
@kauefraga
Copy link
Owner Author

kauefraga commented Sep 16, 2024

A score variable is initialized with 0 and then

  • profile has display name, add 5 points to the score
  • profile display name is short (length <= 10), double score
  • profile has banner, add 5 points to score
  • profile has avatar, add 5 points to score
  • profile handle has numbers, decrease 5 points of score
  • profile has description, add 5 points to score
  • profile description has an amount of characters (length >= 20 && length <= 50), double score [401ea82]
  • based on the profile followers/following ratio, add followersCount / followsCount points to score [487d50b]

The final score value is rounded using Math.ceil

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant