{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/nvs/ent-usefulscripts/pulls/1","id":130711727,"html_url":"https://github.com/nvs/ent-usefulscripts/pull/1","diff_url":"https://github.com/nvs/ent-usefulscripts/pull/1.diff","patch_url":"https://github.com/nvs/ent-usefulscripts/pull/1.patch","issue_url":"https://api.github.com/repos/nvs/ent-usefulscripts/issues/1","number":1,"state":"open","locked":false,"title":"update_w3mmd_elo: Support Gem Elo tracking","user":{"login":"nvs","id":12818,"avatar_url":"https://avatars7.githubusercontent.com/u/12818?v=4","gravatar_id":"","url":"https://api.github.com/users/nvs","html_url":"https://github.com/nvs","followers_url":"https://api.github.com/users/nvs/followers","following_url":"https://api.github.com/users/nvs/following{/other_user}","gists_url":"https://api.github.com/users/nvs/gists{/gist_id}","starred_url":"https://api.github.com/users/nvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvs/subscriptions","organizations_url":"https://api.github.com/users/nvs/orgs","repos_url":"https://api.github.com/users/nvs/repos","events_url":"https://api.github.com/users/nvs/events{/privacy}","received_events_url":"https://api.github.com/users/nvs/received_events","type":"User","site_admin":false},"body":"Issues: nvs/gem#299\r\n\r\nAs W3MMD only supports player flags for a single `winner` and `loser`\r\n(i.e. teams), a different approach must be used for Gem. Hence, the\r\nreliance on the `ranking` variable (base-one indexing). Each game of Gem\r\nwill be considered as up to `N * (N - 1) / 2` separate matchups,\r\nassuming that `N` players opt-in to be rated. It should be noted that\r\nonly the values specified by the `ranking` variable will affect player\r\nratings.\r\n\r\nA player's `ranking` in a Gem game falls within the range `[1, N]`,\r\nwhere `N` represents the number of rated players. Values outside this\r\nrange will cause the game to not be scored. Duplicates of values may\r\nexist, so long as they fall within the specified range.\r\n\r\nThere are two cases when comparing `ranking` values in a matchup:\r\n\r\n- Inequality: This implies that someone has won. They have a higher\r\n  `ranking` (that is, a lower value) than their opponent. As such, ratings\r\n  are adjusted, and both wins and loses are incremented.\r\n- Equality: This implies that a draw occured. As such, ratings do\r\n  not change, and neither wins or loses are incremented.\r\n\r\nThere are a few other conditions that must be satisfied, due to the\r\ndesign of the script. Do note that these have no bearing upon how we\r\nrate players, but must exist for the script to function as intended:\r\n\r\n1. There must be at laest one player flagged as `winner` and one flagged\r\n   as `loser`.\r\n2. A player must be flagged as either a `winner` or a `loser` in order\r\n   to be rated at all.\r\n\r\nSo long as these two conditions are satisfied, the script will function\r\nas expected. For our purposes, it is recommended to have first placed be\r\nflagged as the `winner`, and all other rated players are flagged as\r\n`loser`. All non-rated players should be flagged as `practicing`.","created_at":"2017-07-15T10:36:24Z","updated_at":"2017-07-15T10:36:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"nvs","id":12818,"avatar_url":"https://avatars7.githubusercontent.com/u/12818?v=4","gravatar_id":"","url":"https://api.github.com/users/nvs","html_url":"https://github.com/nvs","followers_url":"https://api.github.com/users/nvs/followers","following_url":"https://api.github.com/users/nvs/following{/other_user}","gists_url":"https://api.github.com/users/nvs/gists{/gist_id}","starred_url":"https://api.github.com/users/nvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvs/subscriptions","organizations_url":"https://api.github.com/users/nvs/orgs","repos_url":"https://api.github.com/users/nvs/repos","events_url":"https://api.github.com/users/nvs/events{/privacy}","received_events_url":"https://api.github.com/users/nvs/received_events","type":"User","site_admin":false},"assignees":[{"login":"nvs","id":12818,"avatar_url":"https://avatars7.githubusercontent.com/u/12818?v=4","gravatar_id":"","url":"https://api.github.com/users/nvs","html_url":"https://github.com/nvs","followers_url":"https://api.github.com/users/nvs/followers","following_url":"https://api.github.com/users/nvs/following{/other_user}","gists_url":"https://api.github.com/users/nvs/gists{/gist_id}","starred_url":"https://api.github.com/users/nvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvs/subscriptions","organizations_url":"https://api.github.com/users/nvs/orgs","repos_url":"https://api.github.com/users/nvs/repos","events_url":"https://api.github.com/users/nvs/events{/privacy}","received_events_url":"https://api.github.com/users/nvs/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/nvs/ent-usefulscripts/pulls/1/commits","review_comments_url":"https://api.github.com/repos/nvs/ent-usefulscripts/pulls/1/comments","review_comment_url":"https://api.github.com/repos/nvs/ent-usefulscripts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nvs/ent-usefulscripts/issues/1/comments","statuses_url":"https://api.github.com/repos/nvs/ent-usefulscripts/statuses/bd211b29dedfdfe4a2573a639d30b626605713cb","head":{"label":"nvs:task/support-gem","ref":"task/support-gem","sha":"bd211b29dedfdfe4a2573a639d30b626605713cb","user":{"login":"nvs","id":12818,"avatar_url":"https://avatars7.githubusercontent.com/u/12818?v=4","gravatar_id":"","url":"https://api.github.com/users/nvs","html_url":"https://github.com/nvs","followers_url":"https://api.github.com/users/nvs/followers","following_url":"https://api.github.com/users/nvs/following{/other_user}","gists_url":"https://api.github.com/users/nvs/gists{/gist_id}","starred_url":"https://api.github.com/users/nvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvs/subscriptions","organizations_url":"https://api.github.com/users/nvs/orgs","repos_url":"https://api.github.com/users/nvs/repos","events_url":"https://api.github.com/users/nvs/events{/privacy}","received_events_url":"https://api.github.com/users/nvs/received_events","type":"User","site_admin":false},"repo":{"id":95860944,"name":"ent-usefulscripts","full_name":"nvs/ent-usefulscripts","owner":{"login":"nvs","id":12818,"avatar_url":"https://avatars7.githubusercontent.com/u/12818?v=4","gravatar_id":"","url":"https://api.github.com/users/nvs","html_url":"https://github.com/nvs","followers_url":"https://api.github.com/users/nvs/followers","following_url":"https://api.github.com/users/nvs/following{/other_user}","gists_url":"https://api.github.com/users/nvs/gists{/gist_id}","starred_url":"https://api.github.com/users/nvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvs/subscriptions","organizations_url":"https://api.github.com/users/nvs/orgs","repos_url":"https://api.github.com/users/nvs/repos","events_url":"https://api.github.com/users/nvs/events{/privacy}","received_events_url":"https://api.github.com/users/nvs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nvs/ent-usefulscripts","description":"Automatically exported from code.google.com/p/ent-usefulscripts","fork":true,"url":"https://api.github.com/repos/nvs/ent-usefulscripts","forks_url":"https://api.github.com/repos/nvs/ent-usefulscripts/forks","keys_url":"https://api.github.com/repos/nvs/ent-usefulscripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nvs/ent-usefulscripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nvs/ent-usefulscripts/teams","hooks_url":"https://api.github.com/repos/nvs/ent-usefulscripts/hooks","issue_events_url":"https://api.github.com/repos/nvs/ent-usefulscripts/issues/events{/number}","events_url":"https://api.github.com/repos/nvs/ent-usefulscripts/events","assignees_url":"https://api.github.com/repos/nvs/ent-usefulscripts/assignees{/user}","branches_url":"https://api.github.com/repos/nvs/ent-usefulscripts/branches{/branch}","tags_url":"https://api.github.com/repos/nvs/ent-usefulscripts/tags","blobs_url":"https://api.github.com/repos/nvs/ent-usefulscripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nvs/ent-usefulscripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nvs/ent-usefulscripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/nvs/ent-usefulscripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nvs/ent-usefulscripts/statuses/{sha}","languages_url":"https://api.github.com/repos/nvs/ent-usefulscripts/languages","stargazers_url":"https://api.github.com/repos/nvs/ent-usefulscripts/stargazers","contributors_url":"https://api.github.com/repos/nvs/ent-usefulscripts/contributors","subscribers_url":"https://api.github.com/repos/nvs/ent-usefulscripts/subscribers","subscription_url":"https://api.github.com/repos/nvs/ent-usefulscripts/subscription","commits_url":"https://api.github.com/repos/nvs/ent-usefulscripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/nvs/ent-usefulscripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/nvs/ent-usefulscripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/nvs/ent-usefulscripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/nvs/ent-usefulscripts/contents/{+path}","compare_url":"https://api.github.com/repos/nvs/ent-usefulscripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nvs/ent-usefulscripts/merges","archive_url":"https://api.github.com/repos/nvs/ent-usefulscripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nvs/ent-usefulscripts/downloads","issues_url":"https://api.github.com/repos/nvs/ent-usefulscripts/issues{/number}","pulls_url":"https://api.github.com/repos/nvs/ent-usefulscripts/pulls{/number}","milestones_url":"https://api.github.com/repos/nvs/ent-usefulscripts/milestones{/number}","notifications_url":"https://api.github.com/repos/nvs/ent-usefulscripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nvs/ent-usefulscripts/labels{/name}","releases_url":"https://api.github.com/repos/nvs/ent-usefulscripts/releases{/id}","deployments_url":"https://api.github.com/repos/nvs/ent-usefulscripts/deployments","created_at":"2017-06-30T07:20:45Z","updated_at":"2017-06-30T07:20:46Z","pushed_at":"2017-07-15T06:20:42Z","git_url":"git://github.com/nvs/ent-usefulscripts.git","ssh_url":"git@github.com:nvs/ent-usefulscripts.git","clone_url":"https://github.com/nvs/ent-usefulscripts.git","svn_url":"https://github.com/nvs/ent-usefulscripts","homepage":null,"size":36,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"nvs:master","ref":"master","sha":"da1af48123bce7efbc480ff1c72b66ee7ee1c69c","user":{"login":"nvs","id":12818,"avatar_url":"https://avatars7.githubusercontent.com/u/12818?v=4","gravatar_id":"","url":"https://api.github.com/users/nvs","html_url":"https://github.com/nvs","followers_url":"https://api.github.com/users/nvs/followers","following_url":"https://api.github.com/users/nvs/following{/other_user}","gists_url":"https://api.github.com/users/nvs/gists{/gist_id}","starred_url":"https://api.github.com/users/nvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvs/subscriptions","organizations_url":"https://api.github.com/users/nvs/orgs","repos_url":"https://api.github.com/users/nvs/repos","events_url":"https://api.github.com/users/nvs/events{/privacy}","received_events_url":"https://api.github.com/users/nvs/received_events","type":"User","site_admin":false},"repo":{"id":95860944,"name":"ent-usefulscripts","full_name":"nvs/ent-usefulscripts","owner":{"login":"nvs","id":12818,"avatar_url":"https://avatars7.githubusercontent.com/u/12818?v=4","gravatar_id":"","url":"https://api.github.com/users/nvs","html_url":"https://github.com/nvs","followers_url":"https://api.github.com/users/nvs/followers","following_url":"https://api.github.com/users/nvs/following{/other_user}","gists_url":"https://api.github.com/users/nvs/gists{/gist_id}","starred_url":"https://api.github.com/users/nvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvs/subscriptions","organizations_url":"https://api.github.com/users/nvs/orgs","repos_url":"https://api.github.com/users/nvs/repos","events_url":"https://api.github.com/users/nvs/events{/privacy}","received_events_url":"https://api.github.com/users/nvs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nvs/ent-usefulscripts","description":"Automatically exported from code.google.com/p/ent-usefulscripts","fork":true,"url":"https://api.github.com/repos/nvs/ent-usefulscripts","forks_url":"https://api.github.com/repos/nvs/ent-usefulscripts/forks","keys_url":"https://api.github.com/repos/nvs/ent-usefulscripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nvs/ent-usefulscripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nvs/ent-usefulscripts/teams","hooks_url":"https://api.github.com/repos/nvs/ent-usefulscripts/hooks","issue_events_url":"https://api.github.com/repos/nvs/ent-usefulscripts/issues/events{/number}","events_url":"https://api.github.com/repos/nvs/ent-usefulscripts/events","assignees_url":"https://api.github.com/repos/nvs/ent-usefulscripts/assignees{/user}","branches_url":"https://api.github.com/repos/nvs/ent-usefulscripts/branches{/branch}","tags_url":"https://api.github.com/repos/nvs/ent-usefulscripts/tags","blobs_url":"https://api.github.com/repos/nvs/ent-usefulscripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nvs/ent-usefulscripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nvs/ent-usefulscripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/nvs/ent-usefulscripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nvs/ent-usefulscripts/statuses/{sha}","languages_url":"https://api.github.com/repos/nvs/ent-usefulscripts/languages","stargazers_url":"https://api.github.com/repos/nvs/ent-usefulscripts/stargazers","contributors_url":"https://api.github.com/repos/nvs/ent-usefulscripts/contributors","subscribers_url":"https://api.github.com/repos/nvs/ent-usefulscripts/subscribers","subscription_url":"https://api.github.com/repos/nvs/ent-usefulscripts/subscription","commits_url":"https://api.github.com/repos/nvs/ent-usefulscripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/nvs/ent-usefulscripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/nvs/ent-usefulscripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/nvs/ent-usefulscripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/nvs/ent-usefulscripts/contents/{+path}","compare_url":"https://api.github.com/repos/nvs/ent-usefulscripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nvs/ent-usefulscripts/merges","archive_url":"https://api.github.com/repos/nvs/ent-usefulscripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nvs/ent-usefulscripts/downloads","issues_url":"https://api.github.com/repos/nvs/ent-usefulscripts/issues{/number}","pulls_url":"https://api.github.com/repos/nvs/ent-usefulscripts/pulls{/number}","milestones_url":"https://api.github.com/repos/nvs/ent-usefulscripts/milestones{/number}","notifications_url":"https://api.github.com/repos/nvs/ent-usefulscripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nvs/ent-usefulscripts/labels{/name}","releases_url":"https://api.github.com/repos/nvs/ent-usefulscripts/releases{/id}","deployments_url":"https://api.github.com/repos/nvs/ent-usefulscripts/deployments","created_at":"2017-06-30T07:20:45Z","updated_at":"2017-06-30T07:20:46Z","pushed_at":"2017-07-15T06:20:42Z","git_url":"git://github.com/nvs/ent-usefulscripts.git","ssh_url":"git@github.com:nvs/ent-usefulscripts.git","clone_url":"https://github.com/nvs/ent-usefulscripts.git","svn_url":"https://github.com/nvs/ent-usefulscripts","homepage":null,"size":36,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nvs/ent-usefulscripts/pulls/1"},"html":{"href":"https://github.com/nvs/ent-usefulscripts/pull/1"},"issue":{"href":"https://api.github.com/repos/nvs/ent-usefulscripts/issues/1"},"comments":{"href":"https://api.github.com/repos/nvs/ent-usefulscripts/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/nvs/ent-usefulscripts/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/nvs/ent-usefulscripts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nvs/ent-usefulscripts/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/nvs/ent-usefulscripts/statuses/bd211b29dedfdfe4a2573a639d30b626605713cb"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":70,"deletions":6,"changed_files":1}}
{"actor":{"display_login":"nvs"}}