{"action":"created","issue":{"url":"https://api.github.com/repos/tsauvine/rubyric/issues/50","repository_url":"https://api.github.com/repos/tsauvine/rubyric","labels_url":"https://api.github.com/repos/tsauvine/rubyric/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/tsauvine/rubyric/issues/50/comments","events_url":"https://api.github.com/repos/tsauvine/rubyric/issues/50/events","html_url":"https://github.com/tsauvine/rubyric/issues/50","id":187993702,"number":50,"title":"Sorting of submissions in submission wall","user":{"login":"tsauvine","id":277475,"avatar_url":"https://avatars.githubusercontent.com/u/277475?v=3","gravatar_id":"","url":"https://api.github.com/users/tsauvine","html_url":"https://github.com/tsauvine","followers_url":"https://api.github.com/users/tsauvine/followers","following_url":"https://api.github.com/users/tsauvine/following{/other_user}","gists_url":"https://api.github.com/users/tsauvine/gists{/gist_id}","starred_url":"https://api.github.com/users/tsauvine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsauvine/subscriptions","organizations_url":"https://api.github.com/users/tsauvine/orgs","repos_url":"https://api.github.com/users/tsauvine/repos","events_url":"https://api.github.com/users/tsauvine/events{/privacy}","received_events_url":"https://api.github.com/users/tsauvine/received_events","type":"User","site_admin":false},"labels":[{"id":477625476,"url":"https://api.github.com/repos/tsauvine/rubyric/labels/priority:high","name":"priority:high","color":"b60205","default":false}],"state":"open","locked":false,"assignee":{"login":"nlhkh","id":3459416,"avatar_url":"https://avatars.githubusercontent.com/u/3459416?v=3","gravatar_id":"","url":"https://api.github.com/users/nlhkh","html_url":"https://github.com/nlhkh","followers_url":"https://api.github.com/users/nlhkh/followers","following_url":"https://api.github.com/users/nlhkh/following{/other_user}","gists_url":"https://api.github.com/users/nlhkh/gists{/gist_id}","starred_url":"https://api.github.com/users/nlhkh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlhkh/subscriptions","organizations_url":"https://api.github.com/users/nlhkh/orgs","repos_url":"https://api.github.com/users/nlhkh/repos","events_url":"https://api.github.com/users/nlhkh/events{/privacy}","received_events_url":"https://api.github.com/users/nlhkh/received_events","type":"User","site_admin":false},"assignees":[{"login":"nlhkh","id":3459416,"avatar_url":"https://avatars.githubusercontent.com/u/3459416?v=3","gravatar_id":"","url":"https://api.github.com/users/nlhkh","html_url":"https://github.com/nlhkh","followers_url":"https://api.github.com/users/nlhkh/followers","following_url":"https://api.github.com/users/nlhkh/following{/other_user}","gists_url":"https://api.github.com/users/nlhkh/gists{/gist_id}","starred_url":"https://api.github.com/users/nlhkh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlhkh/subscriptions","organizations_url":"https://api.github.com/users/nlhkh/orgs","repos_url":"https://api.github.com/users/nlhkh/repos","events_url":"https://api.github.com/users/nlhkh/events{/privacy}","received_events_url":"https://api.github.com/users/nlhkh/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2016-11-08T13:38:12Z","updated_at":"2016-11-10T12:31:12Z","closed_at":null,"body":"In the submission wall, the submissions should be sorted in a more clever way.\r\n\r\nAt the top, there should be a few submission with lots of comments so that users get an idea of what they are supposed to be doing. Also at the top, there should be a few of those submissions that we want to be reviewed next, i.e. the ones with the least reviews.\r\n\r\nIn practice, we could sort the submission by comment count, put ~2 of the most commented ones at the top, and the rest so that the most commented ones are at the bottom. There could be some randomization so that all submissions receive attention evenly.\r\n\r\nPay attention to performance. We can assume that there are a few hundred submissions and each has a few comments. If necessary, we can use pagination or lazy loading and randomize the order so that the same submissions are not always on page 2."},"comment":{"url":"https://api.github.com/repos/tsauvine/rubyric/issues/comments/259678434","html_url":"https://github.com/tsauvine/rubyric/issues/50#issuecomment-259678434","issue_url":"https://api.github.com/repos/tsauvine/rubyric/issues/50","id":259678434,"user":{"login":"nlhkh","id":3459416,"avatar_url":"https://avatars.githubusercontent.com/u/3459416?v=3","gravatar_id":"","url":"https://api.github.com/users/nlhkh","html_url":"https://github.com/nlhkh","followers_url":"https://api.github.com/users/nlhkh/followers","following_url":"https://api.github.com/users/nlhkh/following{/other_user}","gists_url":"https://api.github.com/users/nlhkh/gists{/gist_id}","starred_url":"https://api.github.com/users/nlhkh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlhkh/subscriptions","organizations_url":"https://api.github.com/users/nlhkh/orgs","repos_url":"https://api.github.com/users/nlhkh/repos","events_url":"https://api.github.com/users/nlhkh/events{/privacy}","received_events_url":"https://api.github.com/users/nlhkh/received_events","type":"User","site_admin":false},"created_at":"2016-11-10T12:31:12Z","updated_at":"2016-11-10T12:31:12Z","body":"Could you elaborate \"first shuffle, then sort by a stable method\"?\r\n\r\nThe way I understood your comment is that we aggregate the groups based on their total number of comments, and then we shuffle each aggregation, but I am not sure."}}
{"actor":{"display_login":"nlhkh"}}