{"action":"reopened","number":568,"pull_request":{"url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/568","id":81175251,"html_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/568","diff_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/568.diff","patch_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/568.patch","issue_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/568","number":568,"state":"open","locked":false,"title":"Removed duplicate results in Pokemon.get_seen","user":{"login":"GenuineSounds","id":945942,"avatar_url":"https://avatars.githubusercontent.com/u/945942?v=3","gravatar_id":"","url":"https://api.github.com/users/GenuineSounds","html_url":"https://github.com/GenuineSounds","followers_url":"https://api.github.com/users/GenuineSounds/followers","following_url":"https://api.github.com/users/GenuineSounds/following{/other_user}","gists_url":"https://api.github.com/users/GenuineSounds/gists{/gist_id}","starred_url":"https://api.github.com/users/GenuineSounds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GenuineSounds/subscriptions","organizations_url":"https://api.github.com/users/GenuineSounds/orgs","repos_url":"https://api.github.com/users/GenuineSounds/repos","events_url":"https://api.github.com/users/GenuineSounds/events{/privacy}","received_events_url":"https://api.github.com/users/GenuineSounds/received_events","type":"User","site_admin":false},"body":"## Description\r\nRemoved duplicate pokemon in the results affecting total pokemon count in the full stats page.\r\n\r\nThis affected the total count making all percentage calculations erroneous and also making the outputted json data larger than it needed to be.\r\n\r\n## What This Fixes\r\nEVERYTHING! But more specifically the /stats page.\r\n* Correct total count.\r\n* Total count jumping around sporadically.\r\n* Correct percentage.\r\n\r\n## Motivation and Context\r\nThis bug was due to sending more than one result per pokemon if there were more than one with the same `lastappeared` time or more precisely `disappear_time`.\r\n\r\n## How Has This Been Tested?\r\nDouble checked any other statistics and if they would be affected, no problems I could find.\r\n\r\n## Types of changes\r\n- [x] Bug fix (non-breaking change which fixes an issue)\r\n- [ ] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n## Checklist:\r\n- [x] My code follows the code style of this project.\r\n- [ ] My change requires a change to the documentation.\r\n- [ ] I have updated the documentation accordingly.","created_at":"2016-08-12T20:02:58Z","updated_at":"2016-09-23T09:25:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ded4d1f86f25ce92ebca281cdbc2cc28657520c9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/568/commits","review_comments_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/568/comments","review_comment_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/568/comments","statuses_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/statuses/a1ee2cd801cb6d779c31c63d85b7d4d7d6a65eab","head":{"label":"GenuineSounds:patch-3","ref":"patch-3","sha":"a1ee2cd801cb6d779c31c63d85b7d4d7d6a65eab","user":{"login":"GenuineSounds","id":945942,"avatar_url":"https://avatars.githubusercontent.com/u/945942?v=3","gravatar_id":"","url":"https://api.github.com/users/GenuineSounds","html_url":"https://github.com/GenuineSounds","followers_url":"https://api.github.com/users/GenuineSounds/followers","following_url":"https://api.github.com/users/GenuineSounds/following{/other_user}","gists_url":"https://api.github.com/users/GenuineSounds/gists{/gist_id}","starred_url":"https://api.github.com/users/GenuineSounds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GenuineSounds/subscriptions","organizations_url":"https://api.github.com/users/GenuineSounds/orgs","repos_url":"https://api.github.com/users/GenuineSounds/repos","events_url":"https://api.github.com/users/GenuineSounds/events{/privacy}","received_events_url":"https://api.github.com/users/GenuineSounds/received_events","type":"User","site_admin":false},"repo":{"id":65309270,"name":"PokemonGo-Map","full_name":"GenuineSounds/PokemonGo-Map","owner":{"login":"GenuineSounds","id":945942,"avatar_url":"https://avatars.githubusercontent.com/u/945942?v=3","gravatar_id":"","url":"https://api.github.com/users/GenuineSounds","html_url":"https://github.com/GenuineSounds","followers_url":"https://api.github.com/users/GenuineSounds/followers","following_url":"https://api.github.com/users/GenuineSounds/following{/other_user}","gists_url":"https://api.github.com/users/GenuineSounds/gists{/gist_id}","starred_url":"https://api.github.com/users/GenuineSounds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GenuineSounds/subscriptions","organizations_url":"https://api.github.com/users/GenuineSounds/orgs","repos_url":"https://api.github.com/users/GenuineSounds/repos","events_url":"https://api.github.com/users/GenuineSounds/events{/privacy}","received_events_url":"https://api.github.com/users/GenuineSounds/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GenuineSounds/PokemonGo-Map","description":"🌏 Live visualization of all the pokemon in your area... and more!","fork":true,"url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map","forks_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/forks","keys_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/teams","hooks_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/hooks","issue_events_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/issues/events{/number}","events_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/events","assignees_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/assignees{/user}","branches_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/branches{/branch}","tags_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/tags","blobs_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/git/refs{/sha}","trees_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/statuses/{sha}","languages_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/languages","stargazers_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/stargazers","contributors_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/contributors","subscribers_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/subscribers","subscription_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/subscription","commits_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/commits{/sha}","git_commits_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/git/commits{/sha}","comments_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/comments{/number}","issue_comment_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/issues/comments{/number}","contents_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/contents/{+path}","compare_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/merges","archive_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/downloads","issues_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/issues{/number}","pulls_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/pulls{/number}","milestones_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/milestones{/number}","notifications_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/labels{/name}","releases_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/releases{/id}","deployments_url":"https://api.github.com/repos/GenuineSounds/PokemonGo-Map/deployments","created_at":"2016-08-09T16:07:12Z","updated_at":"2016-08-09T16:07:14Z","pushed_at":"2016-08-12T19:56:30Z","git_url":"git://github.com/GenuineSounds/PokemonGo-Map.git","ssh_url":"git@github.com:GenuineSounds/PokemonGo-Map.git","clone_url":"https://github.com/GenuineSounds/PokemonGo-Map.git","svn_url":"https://github.com/GenuineSounds/PokemonGo-Map","homepage":"","size":22000,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"PokemonGoMap:develop","ref":"develop","sha":"c5e097020d56aae2a6d1a8e22036ab0163f3ca80","user":{"login":"PokemonGoMap","id":20848202,"avatar_url":"https://avatars.githubusercontent.com/u/20848202?v=3","gravatar_id":"","url":"https://api.github.com/users/PokemonGoMap","html_url":"https://github.com/PokemonGoMap","followers_url":"https://api.github.com/users/PokemonGoMap/followers","following_url":"https://api.github.com/users/PokemonGoMap/following{/other_user}","gists_url":"https://api.github.com/users/PokemonGoMap/gists{/gist_id}","starred_url":"https://api.github.com/users/PokemonGoMap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PokemonGoMap/subscriptions","organizations_url":"https://api.github.com/users/PokemonGoMap/orgs","repos_url":"https://api.github.com/users/PokemonGoMap/repos","events_url":"https://api.github.com/users/PokemonGoMap/events{/privacy}","received_events_url":"https://api.github.com/users/PokemonGoMap/received_events","type":"Organization","site_admin":false},"repo":{"id":64970925,"name":"PokemonGo-Map","full_name":"PokemonGoMap/PokemonGo-Map","owner":{"login":"PokemonGoMap","id":20848202,"avatar_url":"https://avatars.githubusercontent.com/u/20848202?v=3","gravatar_id":"","url":"https://api.github.com/users/PokemonGoMap","html_url":"https://github.com/PokemonGoMap","followers_url":"https://api.github.com/users/PokemonGoMap/followers","following_url":"https://api.github.com/users/PokemonGoMap/following{/other_user}","gists_url":"https://api.github.com/users/PokemonGoMap/gists{/gist_id}","starred_url":"https://api.github.com/users/PokemonGoMap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PokemonGoMap/subscriptions","organizations_url":"https://api.github.com/users/PokemonGoMap/orgs","repos_url":"https://api.github.com/users/PokemonGoMap/repos","events_url":"https://api.github.com/users/PokemonGoMap/events{/privacy}","received_events_url":"https://api.github.com/users/PokemonGoMap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PokemonGoMap/PokemonGo-Map","description":"🌏 Live visualization of all the pokemon in your area... and more!","fork":false,"url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map","forks_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/forks","keys_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/teams","hooks_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/hooks","issue_events_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/events{/number}","events_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/events","assignees_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/assignees{/user}","branches_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/branches{/branch}","tags_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/tags","blobs_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/git/refs{/sha}","trees_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/statuses/{sha}","languages_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/languages","stargazers_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/stargazers","contributors_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/contributors","subscribers_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/subscribers","subscription_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/subscription","commits_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/commits{/sha}","git_commits_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/git/commits{/sha}","comments_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/comments{/number}","issue_comment_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/comments{/number}","contents_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/contents/{+path}","compare_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/merges","archive_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/downloads","issues_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues{/number}","pulls_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls{/number}","milestones_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/milestones{/number}","notifications_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/labels{/name}","releases_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/releases{/id}","deployments_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/deployments","created_at":"2016-08-04T22:18:49Z","updated_at":"2016-09-23T07:17:54Z","pushed_at":"2016-09-23T05:54:32Z","git_url":"git://github.com/PokemonGoMap/PokemonGo-Map.git","ssh_url":"git@github.com:PokemonGoMap/PokemonGo-Map.git","clone_url":"https://github.com/PokemonGoMap/PokemonGo-Map.git","svn_url":"https://github.com/PokemonGoMap/PokemonGo-Map","homepage":"","size":32431,"stargazers_count":2417,"watchers_count":2417,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1336,"mirror_url":null,"open_issues_count":180,"forks":1336,"open_issues":180,"watchers":2417,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/568"},"html":{"href":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/568"},"issue":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/568"},"comments":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/568/comments"},"review_comments":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/568/comments"},"review_comment":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/568/commits"},"statuses":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/statuses/a1ee2cd801cb6d779c31c63d85b7d4d7d6a65eab"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":3,"review_comments":0,"commits":1,"additions":1,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"primaxius"}}