question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improvements to calculateRank

See original GitHub issue

Is your feature request related to a problem? Please describe. Right now, ranks are displayed as grades, based on the percentile of contributions. However, there are 2 issues with this.

  1. The way ranks are calculated make them somewhat arbitrary. Since the majority of people that have a github account do not actually use their account. It’s quite easy to make A+ through even just a couple of commits. EX: image image

Thus, this doesn’t provide a very good picture of how much someone has actually contributed.

Ranks are also a very opinionated way of looking at how “helpful” a person is on github.

  1. The level of abstraction that displaying your percentile as a “grade” does doesn’t provide a very good understanding of how much a person has actually done on .

Describe the solution you’d like There are two parts to my preferred way of solving this.

  1. Ranks should be displayed as an exact number, rather than an opinionated rank based off of manually chosen percentage ranges.
  2. The way said number is calculated should be refactored, there are a couple different ways to implement this, but I’d like a way that takes into account the distribution of github users more.

Describe alternatives you’ve considered

  • To avoid breaking changes, you can simply add a direct percentage as another option / parameter for the card.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

5reactions
nathanchucommented, Dec 17, 2020

Actually, you can make A+ with no commits 😄

It’s impossible to get lower than an A+, which seems odd to me since there is code to handle that.

2reactions
stale[bot]commented, Feb 17, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to calculate rank improvement percentage? I mean if I ...
(100–38)/100 = 62% improvement. If I improved a keyword from position 5 to position 2, the improvement would be: (5–2)/5 = ...
Read more >
How to indicate whether the improvement of a ranking is ...
After comparing each of them against the ground truth, I calculate precision at 5 (P@5) metric to measure how good are each of...
Read more >
Excel RANK function and other ways to calculate rank - Ablebits
See how to use Rank formula in Excel to rank numbers descending, ascending or based on multiple criteria, calculate percentile rank, ...
Read more >
Showing changes in Ranking over time: try bump chart
But what we needs is the rank. To do so, right click on the Revenue pill, choose Quick Table Calculation -> Rank. At...
Read more >
RANK function - Microsoft Support
This article describes the formula syntax and usage of the RANK function in Microsoft Excel. Description. Returns the rank of a number in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found