You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
Sort by the difference +1 - -1 count on issue index #600
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.
@isaacs@cirosantilli@ALL This now seems to be solved (& then some — sort by any of the supplied reactions!), e.g., for this repo, to sort open issues by most 👍s:
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.
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.
Activity
MichaelSp commentedon Mar 11, 2016
I'm so tempted to +1 here, but I don't :D
Mottie commentedon Mar 12, 2016
They need to also add the reaction data to the api... just the first post should be enough.
jcrben commentedon Mar 23, 2016
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 commentedon Mar 24, 2016
@isaacs @cirosantilli @ALL This now seems to be solved (& then some — sort by any of the supplied reactions!), e.g., for this repo, to sort open issues by most 👍s:https://github.com/isaacs/github/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-descThis is fully accessible by the typical issues-list sort-menu. ☺[-]Sort by +1 + -1 count on issue index[/-][+]Sort by +1 - -1 count on issue index[/+][-]Sort by +1 - -1 count on issue index[/-][+]Sort by the difference +1 - -1 count on issue index[/+]cirosantilli commentedon Mar 24, 2016
@TPS but can you sort by the difference between +1 and -1 ?
TPS commentedon Mar 24, 2016
@cirosantilli I though that was #605? Again, these fine differences.…cirosantilli commentedon Mar 24, 2016
@TPS #605 is show, this is sort. sort likely implies show though.
TPS commentedon Mar 24, 2016
OIC!:
#527= Bulk/gross sort#600= Net sort
#605= Net view
Right?:bulb:
howardroark commentedon Jun 17, 2016
If anyone is curious you can see this project's issues sorted by "thumbs up" votes here.
cirosantilli commentedon Jun 17, 2016
@howardroark isn't that done already on GitHub: https://github.com/isaacs/github/issues?q=is:issue+is:open+sort:reactions-+1-desc ?
TPS commentedon Jun 17, 2016
@howardroark @cirosantilli What you folks are talking about is
#527, which was solved some months ago.howardroark commentedon Jun 19, 2016
Thanks @TPS and @cirosantilli ! I think i'll modify the version in the link to factor in both up and down votes :)
arshaw commentedon Jul 5, 2016
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.
TPS commentedon Jul 5, 2016
@cirosantilli Since you mentioned that, this issue could really use the Parity label!
matthijsmelissen commentedon Jul 22, 2017
This issue seems to be implemented now.
cirosantilli commentedon Jul 22, 2017
@math1985 how to use it?
matthijsmelissen commentedon Jul 22, 2017
Sorry I misread, it is still only possible to respond by individual responses but not by difference.
aaronfranke commentedon Feb 4, 2019
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.
Include link to ranked issue list