-
Notifications
You must be signed in to change notification settings - Fork 129
Sort by the difference +1 - -1 count on issue index #600
Comments
I'm so tempted to +1 here, but I don't :D |
They need to also add the reaction data to the api... just the first post should be enough. |
Right now the way that Github is probably looking at the most requested features is to sort the list here by number of comments. So maybe we need to comment on this to push it up. |
|
@TPS but can you sort by the difference between +1 and -1 ? |
|
If anyone is curious you can see this project's issues sorted by "thumbs up" votes here. |
@howardroark isn't that done already on GitHub: https://github.com/isaacs/github/issues?q=is:issue+is:open+sort:reactions-+1-desc ? |
@howardroark @cirosantilli What you folks are talking about is |
Thanks @TPS and @cirosantilli ! I think i'll modify the version in the link to factor in both up and down votes :) |
My newly released open source project, ghi-scoreboard, which is an alternate UI for Github Issues that does ranking, is meant for this sort of thing but it doesn't do this explicit feature of subtracting -1's from +1's. However, it could be easily modified to do so. If someone wants to add this feature in the code, I could give some pointers. |
@cirosantilli Since you mentioned that, this issue could really use the Parity label! |
This issue seems to be implemented now. |
@math1985 how to use it? |
Sorry I misread, it is still only possible to respond by individual responses but not by difference. |
The correct way to sort content by votes is using the lower bound of Wilson score confidence interval for a Bernoulli parameter. It is an algorithm that treats a post with a high amount of total votes at a higher priority than a post with a low amount of total votes but a similar ratio of up/down votes. Compared to subtracting votes, this avoids the problem of 200 up 100 down being sorted higher than 50 up 0 down, and compared to finding the percentage of likes to dislikes, this avoids the problem of 1 up 0 down being sorted higher than 1000 up 1 down. |
As discussed here: corona-warn-app/cwa-documentation#301 (comment) Unfortunately an in-built sort by count(thumbs-up) minus count(thumbs-down) is not yet available: isaacs/github#600 Also the issue list can't yet display the number of thumbs-up directly: isaacs/github#605
Or possibly even better metrics such as the Wilson score.
Also requested at #9 but let's open an issue just for it.
Now https://github.com/blog/2119-pull-request-and-issue-reactions that we have +1 and -1 (and some other weird reactions), let us sort issues by the net (+1 count) - (-1 count) on the issue index page https://github.com/isaacs/github/issues
Update 2016-03-24: it is now possible to sort by the count of any reactions. But I want the difference between +1 and -1 totals.
GitLab did it recently, here's a screenshot PR https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2781
This is an extension of #527 to consider both up and downvotes, and deals more precisely with the current state of affairs.
Likely implies: #605
The text was updated successfully, but these errors were encountered: