{"action":"created","comment":{"url":"https://api.github.com/repos/Cloud-CV/evalai-cli/pulls/comments/197180647","pull_request_review_id":130874486,"id":197180647,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NzE4MDY0Nw==","diff_hunk":"@@ -21,17 +24,21 @@ def print_challenge_table(challenge):\n     title = \"{} {}\".format(challenge_title, challenge_id)\n \n     description = \"{}\\n\".format(challenge[\"short_description\"])\n-    date = \"End Date : \" + style(challenge[\"end_date\"].split(\"T\")[0], fg=\"red\")\n-    date = \"\\n{}\\n\\n\".format(style(date, bold=True))\n-    challenge = \"{}{}{}{}\".format(title, description, date, br)\n+    end_date = \"End Date : \" + style(challenge[\"end_date\"].split(\"T\")[0], fg=\"red\")\n+    end_date = \"\\n{}\\n\\n\".format(style(end_date, bold=True))\n+    challenge = \"{}{}{}{}\".format(title, description, end_date, br)\n     echo(challenge)\n \n \n-def get_challenges(url):\n+def display_challenges(url):\n+","path":"evalai/utils/challenges.py","position":35,"original_position":35,"commit_id":"08c0a537fa7f5553d9aa5c89e7a9907a66e4f3fa","original_commit_id":"08c0a537fa7f5553d9aa5c89e7a9907a66e4f3fa","user":{"login":"varunagrawal","id":975964,"node_id":"MDQ6VXNlcjk3NTk2NA==","avatar_url":"https://avatars2.githubusercontent.com/u/975964?v=4","gravatar_id":"","url":"https://api.github.com/users/varunagrawal","html_url":"https://github.com/varunagrawal","followers_url":"https://api.github.com/users/varunagrawal/followers","following_url":"https://api.github.com/users/varunagrawal/following{/other_user}","gists_url":"https://api.github.com/users/varunagrawal/gists{/gist_id}","starred_url":"https://api.github.com/users/varunagrawal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varunagrawal/subscriptions","organizations_url":"https://api.github.com/users/varunagrawal/orgs","repos_url":"https://api.github.com/users/varunagrawal/repos","events_url":"https://api.github.com/users/varunagrawal/events{/privacy}","received_events_url":"https://api.github.com/users/varunagrawal/received_events","type":"User","site_admin":false},"body":"Any reason for this extra line here?","created_at":"2018-06-21T15:36:32Z","updated_at":"2018-06-21T15:38:10Z","html_url":"https://github.com/Cloud-CV/evalai-cli/pull/44#discussion_r197180647","pull_request_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/pulls/44","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Cloud-CV/evalai-cli/pulls/comments/197180647"},"html":{"href":"https://github.com/Cloud-CV/evalai-cli/pull/44#discussion_r197180647"},"pull_request":{"href":"https://api.github.com/repos/Cloud-CV/evalai-cli/pulls/44"}}},"pull_request":{"url":"https://api.github.com/repos/Cloud-CV/evalai-cli/pulls/44","id":196418119,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2NDE4MTE5","html_url":"https://github.com/Cloud-CV/evalai-cli/pull/44","diff_url":"https://github.com/Cloud-CV/evalai-cli/pull/44.diff","patch_url":"https://github.com/Cloud-CV/evalai-cli/pull/44.patch","issue_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/issues/44","number":44,"state":"open","locked":false,"title":"Display challenge data along with renaming function & variable names","user":{"login":"RishabhJain2018","id":12206047,"node_id":"MDQ6VXNlcjEyMjA2MDQ3","avatar_url":"https://avatars2.githubusercontent.com/u/12206047?v=4","gravatar_id":"","url":"https://api.github.com/users/RishabhJain2018","html_url":"https://github.com/RishabhJain2018","followers_url":"https://api.github.com/users/RishabhJain2018/followers","following_url":"https://api.github.com/users/RishabhJain2018/following{/other_user}","gists_url":"https://api.github.com/users/RishabhJain2018/gists{/gist_id}","starred_url":"https://api.github.com/users/RishabhJain2018/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RishabhJain2018/subscriptions","organizations_url":"https://api.github.com/users/RishabhJain2018/orgs","repos_url":"https://api.github.com/users/RishabhJain2018/repos","events_url":"https://api.github.com/users/RishabhJain2018/events{/privacy}","received_events_url":"https://api.github.com/users/RishabhJain2018/received_events","type":"User","site_admin":false},"body":"Fixes #25\r\nFixes #45 \r\n\r\nThe major changes that this PR takes into account is:\r\n\r\n1. Add commands for displaying the past, ongoing, future, all challenge data.\r\n2. Add commands for displaying the hosted & participated challenges by a user.\r\nCommands: \r\n```\r\n\r\n- evalai challenges\r\n- evalai challenges ongoing\r\n- evalai challenges past\r\n- evalai challenges future\r\n- evalai challenges --host\r\n- evalai challenges --participant\r\n- evalai challenges --host --participant\r\n\r\n```\r\n3. Modified the function names along with variables and removed the redundant code.","created_at":"2018-06-21T11:17:56Z","updated_at":"2018-06-21T15:38:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9e3f57390ba9c9d01b2625fc6a985604309d547b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/pulls/44/commits","review_comments_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/pulls/44/comments","review_comment_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/issues/44/comments","statuses_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/statuses/08c0a537fa7f5553d9aa5c89e7a9907a66e4f3fa","head":{"label":"Cloud-CV:fix2","ref":"fix2","sha":"08c0a537fa7f5553d9aa5c89e7a9907a66e4f3fa","user":{"login":"Cloud-CV","id":20895851,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwODk1ODUx","avatar_url":"https://avatars0.githubusercontent.com/u/20895851?v=4","gravatar_id":"","url":"https://api.github.com/users/Cloud-CV","html_url":"https://github.com/Cloud-CV","followers_url":"https://api.github.com/users/Cloud-CV/followers","following_url":"https://api.github.com/users/Cloud-CV/following{/other_user}","gists_url":"https://api.github.com/users/Cloud-CV/gists{/gist_id}","starred_url":"https://api.github.com/users/Cloud-CV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cloud-CV/subscriptions","organizations_url":"https://api.github.com/users/Cloud-CV/orgs","repos_url":"https://api.github.com/users/Cloud-CV/repos","events_url":"https://api.github.com/users/Cloud-CV/events{/privacy}","received_events_url":"https://api.github.com/users/Cloud-CV/received_events","type":"Organization","site_admin":false},"repo":{"id":129204440,"node_id":"MDEwOlJlcG9zaXRvcnkxMjkyMDQ0NDA=","name":"evalai-cli","full_name":"Cloud-CV/evalai-cli","owner":{"login":"Cloud-CV","id":20895851,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwODk1ODUx","avatar_url":"https://avatars0.githubusercontent.com/u/20895851?v=4","gravatar_id":"","url":"https://api.github.com/users/Cloud-CV","html_url":"https://github.com/Cloud-CV","followers_url":"https://api.github.com/users/Cloud-CV/followers","following_url":"https://api.github.com/users/Cloud-CV/following{/other_user}","gists_url":"https://api.github.com/users/Cloud-CV/gists{/gist_id}","starred_url":"https://api.github.com/users/Cloud-CV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cloud-CV/subscriptions","organizations_url":"https://api.github.com/users/Cloud-CV/orgs","repos_url":"https://api.github.com/users/Cloud-CV/repos","events_url":"https://api.github.com/users/Cloud-CV/events{/privacy}","received_events_url":"https://api.github.com/users/Cloud-CV/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Cloud-CV/evalai-cli","description":"Official EvalAI APIs","fork":false,"url":"https://api.github.com/repos/Cloud-CV/evalai-cli","forks_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/forks","keys_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/teams","hooks_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/hooks","issue_events_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/issues/events{/number}","events_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/events","assignees_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/assignees{/user}","branches_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/branches{/branch}","tags_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/tags","blobs_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/languages","stargazers_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/stargazers","contributors_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/contributors","subscribers_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/subscribers","subscription_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/subscription","commits_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/contents/{+path}","compare_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/merges","archive_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/downloads","issues_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/issues{/number}","pulls_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/labels{/name}","releases_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/releases{/id}","deployments_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/deployments","created_at":"2018-04-12T06:33:35Z","updated_at":"2018-06-20T10:37:03Z","pushed_at":"2018-06-21T15:07:15Z","git_url":"git://github.com/Cloud-CV/evalai-cli.git","ssh_url":"git@github.com:Cloud-CV/evalai-cli.git","clone_url":"https://github.com/Cloud-CV/evalai-cli.git","svn_url":"https://github.com/Cloud-CV/evalai-cli","homepage":null,"size":40,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":27,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":4,"open_issues":27,"watchers":5,"default_branch":"master"}},"base":{"label":"Cloud-CV:master","ref":"master","sha":"c01e4214ff694e7c6d42e77eb7bff616ecbedea3","user":{"login":"Cloud-CV","id":20895851,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwODk1ODUx","avatar_url":"https://avatars0.githubusercontent.com/u/20895851?v=4","gravatar_id":"","url":"https://api.github.com/users/Cloud-CV","html_url":"https://github.com/Cloud-CV","followers_url":"https://api.github.com/users/Cloud-CV/followers","following_url":"https://api.github.com/users/Cloud-CV/following{/other_user}","gists_url":"https://api.github.com/users/Cloud-CV/gists{/gist_id}","starred_url":"https://api.github.com/users/Cloud-CV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cloud-CV/subscriptions","organizations_url":"https://api.github.com/users/Cloud-CV/orgs","repos_url":"https://api.github.com/users/Cloud-CV/repos","events_url":"https://api.github.com/users/Cloud-CV/events{/privacy}","received_events_url":"https://api.github.com/users/Cloud-CV/received_events","type":"Organization","site_admin":false},"repo":{"id":129204440,"node_id":"MDEwOlJlcG9zaXRvcnkxMjkyMDQ0NDA=","name":"evalai-cli","full_name":"Cloud-CV/evalai-cli","owner":{"login":"Cloud-CV","id":20895851,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwODk1ODUx","avatar_url":"https://avatars0.githubusercontent.com/u/20895851?v=4","gravatar_id":"","url":"https://api.github.com/users/Cloud-CV","html_url":"https://github.com/Cloud-CV","followers_url":"https://api.github.com/users/Cloud-CV/followers","following_url":"https://api.github.com/users/Cloud-CV/following{/other_user}","gists_url":"https://api.github.com/users/Cloud-CV/gists{/gist_id}","starred_url":"https://api.github.com/users/Cloud-CV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cloud-CV/subscriptions","organizations_url":"https://api.github.com/users/Cloud-CV/orgs","repos_url":"https://api.github.com/users/Cloud-CV/repos","events_url":"https://api.github.com/users/Cloud-CV/events{/privacy}","received_events_url":"https://api.github.com/users/Cloud-CV/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Cloud-CV/evalai-cli","description":"Official EvalAI APIs","fork":false,"url":"https://api.github.com/repos/Cloud-CV/evalai-cli","forks_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/forks","keys_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/teams","hooks_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/hooks","issue_events_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/issues/events{/number}","events_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/events","assignees_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/assignees{/user}","branches_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/branches{/branch}","tags_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/tags","blobs_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/languages","stargazers_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/stargazers","contributors_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/contributors","subscribers_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/subscribers","subscription_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/subscription","commits_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/contents/{+path}","compare_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/merges","archive_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/downloads","issues_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/issues{/number}","pulls_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/labels{/name}","releases_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/releases{/id}","deployments_url":"https://api.github.com/repos/Cloud-CV/evalai-cli/deployments","created_at":"2018-04-12T06:33:35Z","updated_at":"2018-06-20T10:37:03Z","pushed_at":"2018-06-21T15:07:15Z","git_url":"git://github.com/Cloud-CV/evalai-cli.git","ssh_url":"git@github.com:Cloud-CV/evalai-cli.git","clone_url":"https://github.com/Cloud-CV/evalai-cli.git","svn_url":"https://github.com/Cloud-CV/evalai-cli","homepage":null,"size":40,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":27,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":4,"open_issues":27,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Cloud-CV/evalai-cli/pulls/44"},"html":{"href":"https://github.com/Cloud-CV/evalai-cli/pull/44"},"issue":{"href":"https://api.github.com/repos/Cloud-CV/evalai-cli/issues/44"},"comments":{"href":"https://api.github.com/repos/Cloud-CV/evalai-cli/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/Cloud-CV/evalai-cli/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/Cloud-CV/evalai-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Cloud-CV/evalai-cli/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/Cloud-CV/evalai-cli/statuses/08c0a537fa7f5553d9aa5c89e7a9907a66e4f3fa"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"varunagrawal"}}