{"action":"created","comment":{"url":"https://api.github.com/repos/holyzala/CS361/pulls/comments/155238044","pull_request_review_id":81522810,"id":155238044,"diff_hunk":"@@ -239,10 +239,16 @@ def get_status(self, now, username):\n         total_time = timedelta(days=0, hours=0, minutes=0, seconds=0)\n         for t in current_team.time_log.all():\n             total_time += t.time_delta\n+        scoreboard = self.teams.order_by(\"-points\")\n+        place = 0\n+        for p in scoreboard:\n+            place+=1\n+            if (p.username == current_team.username):\n+                break\n         if current_team.current_landmark <= len(self.landmarks.all()):\n-            stat_str = 'Points:{};You Are On Landmark:{};Current Landmark Elapsed Time:{};Time Taken For Landmarks:{}'\n-            return stat_str.format(current_team.points, current_team.current_landmark+1,\n-                                   str(current_time_calc).split(\".\")[0], total_time)\n+            stat_str = 'You are in place {} of {} teams\\nPoints:{}\\n;You are on Landmark:{} of {}\\nCurrent Landmark Elapsed Time:{}\\nTotal Time Taken:{}'","path":"project/eScavenge/models.py","position":14,"original_position":14,"commit_id":"4ae7840d6ffe812aec7657b74aa4a874a6d45099","original_commit_id":"4ae7840d6ffe812aec7657b74aa4a874a6d45099","user":{"login":"holyzala","id":1694398,"avatar_url":"https://avatars1.githubusercontent.com/u/1694398?v=4","gravatar_id":"","url":"https://api.github.com/users/holyzala","html_url":"https://github.com/holyzala","followers_url":"https://api.github.com/users/holyzala/followers","following_url":"https://api.github.com/users/holyzala/following{/other_user}","gists_url":"https://api.github.com/users/holyzala/gists{/gist_id}","starred_url":"https://api.github.com/users/holyzala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holyzala/subscriptions","organizations_url":"https://api.github.com/users/holyzala/orgs","repos_url":"https://api.github.com/users/holyzala/repos","events_url":"https://api.github.com/users/holyzala/events{/privacy}","received_events_url":"https://api.github.com/users/holyzala/received_events","type":"User","site_admin":false},"body":"There's a semicolon left that should be removed I think\r\n`You are in place {} of {} teams\\nPoints:{}\\n;You`","created_at":"2017-12-06T13:39:26Z","updated_at":"2017-12-06T13:39:26Z","html_url":"https://github.com/holyzala/CS361/pull/126#discussion_r155238044","pull_request_url":"https://api.github.com/repos/holyzala/CS361/pulls/126","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/holyzala/CS361/pulls/comments/155238044"},"html":{"href":"https://github.com/holyzala/CS361/pull/126#discussion_r155238044"},"pull_request":{"href":"https://api.github.com/repos/holyzala/CS361/pulls/126"}}},"pull_request":{"url":"https://api.github.com/repos/holyzala/CS361/pulls/126","id":156645582,"html_url":"https://github.com/holyzala/CS361/pull/126","diff_url":"https://github.com/holyzala/CS361/pull/126.diff","patch_url":"https://github.com/holyzala/CS361/pull/126.patch","issue_url":"https://api.github.com/repos/holyzala/CS361/issues/126","number":126,"state":"closed","locked":false,"title":"Updated Get Stats Format, Fixed Tests","user":{"login":"AlexStiyer","id":19898828,"avatar_url":"https://avatars1.githubusercontent.com/u/19898828?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexStiyer","html_url":"https://github.com/AlexStiyer","followers_url":"https://api.github.com/users/AlexStiyer/followers","following_url":"https://api.github.com/users/AlexStiyer/following{/other_user}","gists_url":"https://api.github.com/users/AlexStiyer/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexStiyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexStiyer/subscriptions","organizations_url":"https://api.github.com/users/AlexStiyer/orgs","repos_url":"https://api.github.com/users/AlexStiyer/repos","events_url":"https://api.github.com/users/AlexStiyer/events{/privacy}","received_events_url":"https://api.github.com/users/AlexStiyer/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-12-06T05:43:08Z","updated_at":"2017-12-06T13:39:26Z","closed_at":"2017-12-06T06:50:43Z","merged_at":"2017-12-06T06:50:43Z","merge_commit_sha":"4350e4c5f73a0536e8fa7a1a35d3600d07a38ffe","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/holyzala/CS361/pulls/126/commits","review_comments_url":"https://api.github.com/repos/holyzala/CS361/pulls/126/comments","review_comment_url":"https://api.github.com/repos/holyzala/CS361/pulls/comments{/number}","comments_url":"https://api.github.com/repos/holyzala/CS361/issues/126/comments","statuses_url":"https://api.github.com/repos/holyzala/CS361/statuses/4ae7840d6ffe812aec7657b74aa4a874a6d45099","head":{"label":"holyzala:ADSs2_GetStatsUpdateExisting","ref":"ADSs2_GetStatsUpdateExisting","sha":"4ae7840d6ffe812aec7657b74aa4a874a6d45099","user":{"login":"holyzala","id":1694398,"avatar_url":"https://avatars1.githubusercontent.com/u/1694398?v=4","gravatar_id":"","url":"https://api.github.com/users/holyzala","html_url":"https://github.com/holyzala","followers_url":"https://api.github.com/users/holyzala/followers","following_url":"https://api.github.com/users/holyzala/following{/other_user}","gists_url":"https://api.github.com/users/holyzala/gists{/gist_id}","starred_url":"https://api.github.com/users/holyzala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holyzala/subscriptions","organizations_url":"https://api.github.com/users/holyzala/orgs","repos_url":"https://api.github.com/users/holyzala/repos","events_url":"https://api.github.com/users/holyzala/events{/privacy}","received_events_url":"https://api.github.com/users/holyzala/received_events","type":"User","site_admin":false},"repo":{"id":105701196,"name":"CS361","full_name":"holyzala/CS361","owner":{"login":"holyzala","id":1694398,"avatar_url":"https://avatars1.githubusercontent.com/u/1694398?v=4","gravatar_id":"","url":"https://api.github.com/users/holyzala","html_url":"https://github.com/holyzala","followers_url":"https://api.github.com/users/holyzala/followers","following_url":"https://api.github.com/users/holyzala/following{/other_user}","gists_url":"https://api.github.com/users/holyzala/gists{/gist_id}","starred_url":"https://api.github.com/users/holyzala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holyzala/subscriptions","organizations_url":"https://api.github.com/users/holyzala/orgs","repos_url":"https://api.github.com/users/holyzala/repos","events_url":"https://api.github.com/users/holyzala/events{/privacy}","received_events_url":"https://api.github.com/users/holyzala/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/holyzala/CS361","description":"Shared repository for Introduction to Software Engineering class","fork":false,"url":"https://api.github.com/repos/holyzala/CS361","forks_url":"https://api.github.com/repos/holyzala/CS361/forks","keys_url":"https://api.github.com/repos/holyzala/CS361/keys{/key_id}","collaborators_url":"https://api.github.com/repos/holyzala/CS361/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/holyzala/CS361/teams","hooks_url":"https://api.github.com/repos/holyzala/CS361/hooks","issue_events_url":"https://api.github.com/repos/holyzala/CS361/issues/events{/number}","events_url":"https://api.github.com/repos/holyzala/CS361/events","assignees_url":"https://api.github.com/repos/holyzala/CS361/assignees{/user}","branches_url":"https://api.github.com/repos/holyzala/CS361/branches{/branch}","tags_url":"https://api.github.com/repos/holyzala/CS361/tags","blobs_url":"https://api.github.com/repos/holyzala/CS361/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/holyzala/CS361/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/holyzala/CS361/git/refs{/sha}","trees_url":"https://api.github.com/repos/holyzala/CS361/git/trees{/sha}","statuses_url":"https://api.github.com/repos/holyzala/CS361/statuses/{sha}","languages_url":"https://api.github.com/repos/holyzala/CS361/languages","stargazers_url":"https://api.github.com/repos/holyzala/CS361/stargazers","contributors_url":"https://api.github.com/repos/holyzala/CS361/contributors","subscribers_url":"https://api.github.com/repos/holyzala/CS361/subscribers","subscription_url":"https://api.github.com/repos/holyzala/CS361/subscription","commits_url":"https://api.github.com/repos/holyzala/CS361/commits{/sha}","git_commits_url":"https://api.github.com/repos/holyzala/CS361/git/commits{/sha}","comments_url":"https://api.github.com/repos/holyzala/CS361/comments{/number}","issue_comment_url":"https://api.github.com/repos/holyzala/CS361/issues/comments{/number}","contents_url":"https://api.github.com/repos/holyzala/CS361/contents/{+path}","compare_url":"https://api.github.com/repos/holyzala/CS361/compare/{base}...{head}","merges_url":"https://api.github.com/repos/holyzala/CS361/merges","archive_url":"https://api.github.com/repos/holyzala/CS361/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/holyzala/CS361/downloads","issues_url":"https://api.github.com/repos/holyzala/CS361/issues{/number}","pulls_url":"https://api.github.com/repos/holyzala/CS361/pulls{/number}","milestones_url":"https://api.github.com/repos/holyzala/CS361/milestones{/number}","notifications_url":"https://api.github.com/repos/holyzala/CS361/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/holyzala/CS361/labels{/name}","releases_url":"https://api.github.com/repos/holyzala/CS361/releases{/id}","deployments_url":"https://api.github.com/repos/holyzala/CS361/deployments","created_at":"2017-10-03T20:43:13Z","updated_at":"2017-11-08T05:19:05Z","pushed_at":"2017-12-06T06:50:43Z","git_url":"git://github.com/holyzala/CS361.git","ssh_url":"git@github.com:holyzala/CS361.git","clone_url":"https://github.com/holyzala/CS361.git","svn_url":"https://github.com/holyzala/CS361","homepage":"","size":325,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":18,"license":null,"forks":2,"open_issues":18,"watchers":2,"default_branch":"master"}},"base":{"label":"holyzala:master","ref":"master","sha":"672edaf53315eb902a9cdccad7f4b3a5281ef95a","user":{"login":"holyzala","id":1694398,"avatar_url":"https://avatars1.githubusercontent.com/u/1694398?v=4","gravatar_id":"","url":"https://api.github.com/users/holyzala","html_url":"https://github.com/holyzala","followers_url":"https://api.github.com/users/holyzala/followers","following_url":"https://api.github.com/users/holyzala/following{/other_user}","gists_url":"https://api.github.com/users/holyzala/gists{/gist_id}","starred_url":"https://api.github.com/users/holyzala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holyzala/subscriptions","organizations_url":"https://api.github.com/users/holyzala/orgs","repos_url":"https://api.github.com/users/holyzala/repos","events_url":"https://api.github.com/users/holyzala/events{/privacy}","received_events_url":"https://api.github.com/users/holyzala/received_events","type":"User","site_admin":false},"repo":{"id":105701196,"name":"CS361","full_name":"holyzala/CS361","owner":{"login":"holyzala","id":1694398,"avatar_url":"https://avatars1.githubusercontent.com/u/1694398?v=4","gravatar_id":"","url":"https://api.github.com/users/holyzala","html_url":"https://github.com/holyzala","followers_url":"https://api.github.com/users/holyzala/followers","following_url":"https://api.github.com/users/holyzala/following{/other_user}","gists_url":"https://api.github.com/users/holyzala/gists{/gist_id}","starred_url":"https://api.github.com/users/holyzala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holyzala/subscriptions","organizations_url":"https://api.github.com/users/holyzala/orgs","repos_url":"https://api.github.com/users/holyzala/repos","events_url":"https://api.github.com/users/holyzala/events{/privacy}","received_events_url":"https://api.github.com/users/holyzala/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/holyzala/CS361","description":"Shared repository for Introduction to Software Engineering class","fork":false,"url":"https://api.github.com/repos/holyzala/CS361","forks_url":"https://api.github.com/repos/holyzala/CS361/forks","keys_url":"https://api.github.com/repos/holyzala/CS361/keys{/key_id}","collaborators_url":"https://api.github.com/repos/holyzala/CS361/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/holyzala/CS361/teams","hooks_url":"https://api.github.com/repos/holyzala/CS361/hooks","issue_events_url":"https://api.github.com/repos/holyzala/CS361/issues/events{/number}","events_url":"https://api.github.com/repos/holyzala/CS361/events","assignees_url":"https://api.github.com/repos/holyzala/CS361/assignees{/user}","branches_url":"https://api.github.com/repos/holyzala/CS361/branches{/branch}","tags_url":"https://api.github.com/repos/holyzala/CS361/tags","blobs_url":"https://api.github.com/repos/holyzala/CS361/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/holyzala/CS361/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/holyzala/CS361/git/refs{/sha}","trees_url":"https://api.github.com/repos/holyzala/CS361/git/trees{/sha}","statuses_url":"https://api.github.com/repos/holyzala/CS361/statuses/{sha}","languages_url":"https://api.github.com/repos/holyzala/CS361/languages","stargazers_url":"https://api.github.com/repos/holyzala/CS361/stargazers","contributors_url":"https://api.github.com/repos/holyzala/CS361/contributors","subscribers_url":"https://api.github.com/repos/holyzala/CS361/subscribers","subscription_url":"https://api.github.com/repos/holyzala/CS361/subscription","commits_url":"https://api.github.com/repos/holyzala/CS361/commits{/sha}","git_commits_url":"https://api.github.com/repos/holyzala/CS361/git/commits{/sha}","comments_url":"https://api.github.com/repos/holyzala/CS361/comments{/number}","issue_comment_url":"https://api.github.com/repos/holyzala/CS361/issues/comments{/number}","contents_url":"https://api.github.com/repos/holyzala/CS361/contents/{+path}","compare_url":"https://api.github.com/repos/holyzala/CS361/compare/{base}...{head}","merges_url":"https://api.github.com/repos/holyzala/CS361/merges","archive_url":"https://api.github.com/repos/holyzala/CS361/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/holyzala/CS361/downloads","issues_url":"https://api.github.com/repos/holyzala/CS361/issues{/number}","pulls_url":"https://api.github.com/repos/holyzala/CS361/pulls{/number}","milestones_url":"https://api.github.com/repos/holyzala/CS361/milestones{/number}","notifications_url":"https://api.github.com/repos/holyzala/CS361/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/holyzala/CS361/labels{/name}","releases_url":"https://api.github.com/repos/holyzala/CS361/releases{/id}","deployments_url":"https://api.github.com/repos/holyzala/CS361/deployments","created_at":"2017-10-03T20:43:13Z","updated_at":"2017-11-08T05:19:05Z","pushed_at":"2017-12-06T06:50:43Z","git_url":"git://github.com/holyzala/CS361.git","ssh_url":"git@github.com:holyzala/CS361.git","clone_url":"https://github.com/holyzala/CS361.git","svn_url":"https://github.com/holyzala/CS361","homepage":"","size":325,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":18,"license":null,"forks":2,"open_issues":18,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/holyzala/CS361/pulls/126"},"html":{"href":"https://github.com/holyzala/CS361/pull/126"},"issue":{"href":"https://api.github.com/repos/holyzala/CS361/issues/126"},"comments":{"href":"https://api.github.com/repos/holyzala/CS361/issues/126/comments"},"review_comments":{"href":"https://api.github.com/repos/holyzala/CS361/pulls/126/comments"},"review_comment":{"href":"https://api.github.com/repos/holyzala/CS361/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/holyzala/CS361/pulls/126/commits"},"statuses":{"href":"https://api.github.com/repos/holyzala/CS361/statuses/4ae7840d6ffe812aec7657b74aa4a874a6d45099"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"holyzala"}}