{"action":"created","comment":{"url":"https://api.github.com/repos/Coursemology/coursemology2/pulls/comments/182619474","pull_request_review_id":113450700,"id":182619474,"diff_hunk":"@@ -77,7 +77,8 @@ json.testCases do\n     end\n   end\n \n-  if can_read_tests && auto_grading && auto_grading.exit_code && auto_grading.exit_code != 0","path":"app/views/course/assessment/answer/programming/_programming.json.jbuilder","position":4,"original_position":4,"commit_id":"67e4503a09108a7a37fa3cb7f5a364fedd0540c5","original_commit_id":"67e4503a09108a7a37fa3cb7f5a364fedd0540c5","user":{"login":"weiqingtoh","id":4353853,"avatar_url":"https://avatars2.githubusercontent.com/u/4353853?v=4","gravatar_id":"","url":"https://api.github.com/users/weiqingtoh","html_url":"https://github.com/weiqingtoh","followers_url":"https://api.github.com/users/weiqingtoh/followers","following_url":"https://api.github.com/users/weiqingtoh/following{/other_user}","gists_url":"https://api.github.com/users/weiqingtoh/gists{/gist_id}","starred_url":"https://api.github.com/users/weiqingtoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weiqingtoh/subscriptions","organizations_url":"https://api.github.com/users/weiqingtoh/orgs","repos_url":"https://api.github.com/users/weiqingtoh/repos","events_url":"https://api.github.com/users/weiqingtoh/events{/privacy}","received_events_url":"https://api.github.com/users/weiqingtoh/received_events","type":"User","site_admin":false},"body":"Suggest that we move this into a helper function? ","created_at":"2018-04-19T02:27:07Z","updated_at":"2018-04-19T02:27:07Z","html_url":"https://github.com/Coursemology/coursemology2/pull/2923#discussion_r182619474","pull_request_url":"https://api.github.com/repos/Coursemology/coursemology2/pulls/2923","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Coursemology/coursemology2/pulls/comments/182619474"},"html":{"href":"https://github.com/Coursemology/coursemology2/pull/2923#discussion_r182619474"},"pull_request":{"href":"https://api.github.com/repos/Coursemology/coursemology2/pulls/2923"}}},"pull_request":{"url":"https://api.github.com/repos/Coursemology/coursemology2/pulls/2923","id":182402994,"html_url":"https://github.com/Coursemology/coursemology2/pull/2923","diff_url":"https://github.com/Coursemology/coursemology2/pull/2923.diff","patch_url":"https://github.com/Coursemology/coursemology2/pull/2923.patch","issue_url":"https://api.github.com/repos/Coursemology/coursemology2/issues/2923","number":2923,"state":"open","locked":false,"title":"Implement flag to show/hide output streams from students.","user":{"login":"fonglh","id":1902527,"avatar_url":"https://avatars0.githubusercontent.com/u/1902527?v=4","gravatar_id":"","url":"https://api.github.com/users/fonglh","html_url":"https://github.com/fonglh","followers_url":"https://api.github.com/users/fonglh/followers","following_url":"https://api.github.com/users/fonglh/following{/other_user}","gists_url":"https://api.github.com/users/fonglh/gists{/gist_id}","starred_url":"https://api.github.com/users/fonglh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fonglh/subscriptions","organizations_url":"https://api.github.com/users/fonglh/orgs","repos_url":"https://api.github.com/users/fonglh/repos","events_url":"https://api.github.com/users/fonglh/events{/privacy}","received_events_url":"https://api.github.com/users/fonglh/received_events","type":"User","site_admin":false},"body":"Fixes #2922.","created_at":"2018-04-18T08:28:58Z","updated_at":"2018-04-19T02:27:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"52f51df5ad899f068876195797bc1c0845eeff0b","assignee":{"login":"fonglh","id":1902527,"avatar_url":"https://avatars0.githubusercontent.com/u/1902527?v=4","gravatar_id":"","url":"https://api.github.com/users/fonglh","html_url":"https://github.com/fonglh","followers_url":"https://api.github.com/users/fonglh/followers","following_url":"https://api.github.com/users/fonglh/following{/other_user}","gists_url":"https://api.github.com/users/fonglh/gists{/gist_id}","starred_url":"https://api.github.com/users/fonglh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fonglh/subscriptions","organizations_url":"https://api.github.com/users/fonglh/orgs","repos_url":"https://api.github.com/users/fonglh/repos","events_url":"https://api.github.com/users/fonglh/events{/privacy}","received_events_url":"https://api.github.com/users/fonglh/received_events","type":"User","site_admin":false},"assignees":[{"login":"fonglh","id":1902527,"avatar_url":"https://avatars0.githubusercontent.com/u/1902527?v=4","gravatar_id":"","url":"https://api.github.com/users/fonglh","html_url":"https://github.com/fonglh","followers_url":"https://api.github.com/users/fonglh/followers","following_url":"https://api.github.com/users/fonglh/following{/other_user}","gists_url":"https://api.github.com/users/fonglh/gists{/gist_id}","starred_url":"https://api.github.com/users/fonglh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fonglh/subscriptions","organizations_url":"https://api.github.com/users/fonglh/orgs","repos_url":"https://api.github.com/users/fonglh/repos","events_url":"https://api.github.com/users/fonglh/events{/privacy}","received_events_url":"https://api.github.com/users/fonglh/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":428708484,"url":"https://api.github.com/repos/Coursemology/coursemology2/labels/needs%20review","name":"needs review","color":"e6e6e6","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Coursemology/coursemology2/pulls/2923/commits","review_comments_url":"https://api.github.com/repos/Coursemology/coursemology2/pulls/2923/comments","review_comment_url":"https://api.github.com/repos/Coursemology/coursemology2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Coursemology/coursemology2/issues/2923/comments","statuses_url":"https://api.github.com/repos/Coursemology/coursemology2/statuses/67e4503a09108a7a37fa3cb7f5a364fedd0540c5","head":{"label":"coursemology-collab:Coursemology/coursemology2#2922-stdoutflag","ref":"Coursemology/coursemology2#2922-stdoutflag","sha":"67e4503a09108a7a37fa3cb7f5a364fedd0540c5","user":{"login":"coursemology-collab","id":8666458,"avatar_url":"https://avatars1.githubusercontent.com/u/8666458?v=4","gravatar_id":"","url":"https://api.github.com/users/coursemology-collab","html_url":"https://github.com/coursemology-collab","followers_url":"https://api.github.com/users/coursemology-collab/followers","following_url":"https://api.github.com/users/coursemology-collab/following{/other_user}","gists_url":"https://api.github.com/users/coursemology-collab/gists{/gist_id}","starred_url":"https://api.github.com/users/coursemology-collab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coursemology-collab/subscriptions","organizations_url":"https://api.github.com/users/coursemology-collab/orgs","repos_url":"https://api.github.com/users/coursemology-collab/repos","events_url":"https://api.github.com/users/coursemology-collab/events{/privacy}","received_events_url":"https://api.github.com/users/coursemology-collab/received_events","type":"Organization","site_admin":false},"repo":{"id":23697674,"name":"coursemology2","full_name":"coursemology-collab/coursemology2","owner":{"login":"coursemology-collab","id":8666458,"avatar_url":"https://avatars1.githubusercontent.com/u/8666458?v=4","gravatar_id":"","url":"https://api.github.com/users/coursemology-collab","html_url":"https://github.com/coursemology-collab","followers_url":"https://api.github.com/users/coursemology-collab/followers","following_url":"https://api.github.com/users/coursemology-collab/following{/other_user}","gists_url":"https://api.github.com/users/coursemology-collab/gists{/gist_id}","starred_url":"https://api.github.com/users/coursemology-collab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coursemology-collab/subscriptions","organizations_url":"https://api.github.com/users/coursemology-collab/orgs","repos_url":"https://api.github.com/users/coursemology-collab/repos","events_url":"https://api.github.com/users/coursemology-collab/events{/privacy}","received_events_url":"https://api.github.com/users/coursemology-collab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coursemology-collab/coursemology2","description":"Rails 5 re-write of Coursemology","fork":true,"url":"https://api.github.com/repos/coursemology-collab/coursemology2","forks_url":"https://api.github.com/repos/coursemology-collab/coursemology2/forks","keys_url":"https://api.github.com/repos/coursemology-collab/coursemology2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coursemology-collab/coursemology2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coursemology-collab/coursemology2/teams","hooks_url":"https://api.github.com/repos/coursemology-collab/coursemology2/hooks","issue_events_url":"https://api.github.com/repos/coursemology-collab/coursemology2/issues/events{/number}","events_url":"https://api.github.com/repos/coursemology-collab/coursemology2/events","assignees_url":"https://api.github.com/repos/coursemology-collab/coursemology2/assignees{/user}","branches_url":"https://api.github.com/repos/coursemology-collab/coursemology2/branches{/branch}","tags_url":"https://api.github.com/repos/coursemology-collab/coursemology2/tags","blobs_url":"https://api.github.com/repos/coursemology-collab/coursemology2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coursemology-collab/coursemology2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coursemology-collab/coursemology2/git/refs{/sha}","trees_url":"https://api.github.com/repos/coursemology-collab/coursemology2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coursemology-collab/coursemology2/statuses/{sha}","languages_url":"https://api.github.com/repos/coursemology-collab/coursemology2/languages","stargazers_url":"https://api.github.com/repos/coursemology-collab/coursemology2/stargazers","contributors_url":"https://api.github.com/repos/coursemology-collab/coursemology2/contributors","subscribers_url":"https://api.github.com/repos/coursemology-collab/coursemology2/subscribers","subscription_url":"https://api.github.com/repos/coursemology-collab/coursemology2/subscription","commits_url":"https://api.github.com/repos/coursemology-collab/coursemology2/commits{/sha}","git_commits_url":"https://api.github.com/repos/coursemology-collab/coursemology2/git/commits{/sha}","comments_url":"https://api.github.com/repos/coursemology-collab/coursemology2/comments{/number}","issue_comment_url":"https://api.github.com/repos/coursemology-collab/coursemology2/issues/comments{/number}","contents_url":"https://api.github.com/repos/coursemology-collab/coursemology2/contents/{+path}","compare_url":"https://api.github.com/repos/coursemology-collab/coursemology2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coursemology-collab/coursemology2/merges","archive_url":"https://api.github.com/repos/coursemology-collab/coursemology2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coursemology-collab/coursemology2/downloads","issues_url":"https://api.github.com/repos/coursemology-collab/coursemology2/issues{/number}","pulls_url":"https://api.github.com/repos/coursemology-collab/coursemology2/pulls{/number}","milestones_url":"https://api.github.com/repos/coursemology-collab/coursemology2/milestones{/number}","notifications_url":"https://api.github.com/repos/coursemology-collab/coursemology2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coursemology-collab/coursemology2/labels{/name}","releases_url":"https://api.github.com/repos/coursemology-collab/coursemology2/releases{/id}","deployments_url":"https://api.github.com/repos/coursemology-collab/coursemology2/deployments","created_at":"2014-09-05T09:32:07Z","updated_at":"2018-04-16T08:43:14Z","pushed_at":"2018-04-19T02:25:39Z","git_url":"git://github.com/coursemology-collab/coursemology2.git","ssh_url":"git@github.com:coursemology-collab/coursemology2.git","clone_url":"https://github.com/coursemology-collab/coursemology2.git","svn_url":"https://github.com/coursemology-collab/coursemology2","homepage":"","size":11863,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"Coursemology:master","ref":"master","sha":"587a2f36c68a7c10b59cf315611ea1887b9538b4","user":{"login":"Coursemology","id":4427741,"avatar_url":"https://avatars0.githubusercontent.com/u/4427741?v=4","gravatar_id":"","url":"https://api.github.com/users/Coursemology","html_url":"https://github.com/Coursemology","followers_url":"https://api.github.com/users/Coursemology/followers","following_url":"https://api.github.com/users/Coursemology/following{/other_user}","gists_url":"https://api.github.com/users/Coursemology/gists{/gist_id}","starred_url":"https://api.github.com/users/Coursemology/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coursemology/subscriptions","organizations_url":"https://api.github.com/users/Coursemology/orgs","repos_url":"https://api.github.com/users/Coursemology/repos","events_url":"https://api.github.com/users/Coursemology/events{/privacy}","received_events_url":"https://api.github.com/users/Coursemology/received_events","type":"Organization","site_admin":false},"repo":{"id":22155032,"name":"coursemology2","full_name":"Coursemology/coursemology2","owner":{"login":"Coursemology","id":4427741,"avatar_url":"https://avatars0.githubusercontent.com/u/4427741?v=4","gravatar_id":"","url":"https://api.github.com/users/Coursemology","html_url":"https://github.com/Coursemology","followers_url":"https://api.github.com/users/Coursemology/followers","following_url":"https://api.github.com/users/Coursemology/following{/other_user}","gists_url":"https://api.github.com/users/Coursemology/gists{/gist_id}","starred_url":"https://api.github.com/users/Coursemology/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coursemology/subscriptions","organizations_url":"https://api.github.com/users/Coursemology/orgs","repos_url":"https://api.github.com/users/Coursemology/repos","events_url":"https://api.github.com/users/Coursemology/events{/privacy}","received_events_url":"https://api.github.com/users/Coursemology/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Coursemology/coursemology2","description":"Rails 5 re-write of Coursemology","fork":false,"url":"https://api.github.com/repos/Coursemology/coursemology2","forks_url":"https://api.github.com/repos/Coursemology/coursemology2/forks","keys_url":"https://api.github.com/repos/Coursemology/coursemology2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Coursemology/coursemology2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Coursemology/coursemology2/teams","hooks_url":"https://api.github.com/repos/Coursemology/coursemology2/hooks","issue_events_url":"https://api.github.com/repos/Coursemology/coursemology2/issues/events{/number}","events_url":"https://api.github.com/repos/Coursemology/coursemology2/events","assignees_url":"https://api.github.com/repos/Coursemology/coursemology2/assignees{/user}","branches_url":"https://api.github.com/repos/Coursemology/coursemology2/branches{/branch}","tags_url":"https://api.github.com/repos/Coursemology/coursemology2/tags","blobs_url":"https://api.github.com/repos/Coursemology/coursemology2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Coursemology/coursemology2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Coursemology/coursemology2/git/refs{/sha}","trees_url":"https://api.github.com/repos/Coursemology/coursemology2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Coursemology/coursemology2/statuses/{sha}","languages_url":"https://api.github.com/repos/Coursemology/coursemology2/languages","stargazers_url":"https://api.github.com/repos/Coursemology/coursemology2/stargazers","contributors_url":"https://api.github.com/repos/Coursemology/coursemology2/contributors","subscribers_url":"https://api.github.com/repos/Coursemology/coursemology2/subscribers","subscription_url":"https://api.github.com/repos/Coursemology/coursemology2/subscription","commits_url":"https://api.github.com/repos/Coursemology/coursemology2/commits{/sha}","git_commits_url":"https://api.github.com/repos/Coursemology/coursemology2/git/commits{/sha}","comments_url":"https://api.github.com/repos/Coursemology/coursemology2/comments{/number}","issue_comment_url":"https://api.github.com/repos/Coursemology/coursemology2/issues/comments{/number}","contents_url":"https://api.github.com/repos/Coursemology/coursemology2/contents/{+path}","compare_url":"https://api.github.com/repos/Coursemology/coursemology2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Coursemology/coursemology2/merges","archive_url":"https://api.github.com/repos/Coursemology/coursemology2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Coursemology/coursemology2/downloads","issues_url":"https://api.github.com/repos/Coursemology/coursemology2/issues{/number}","pulls_url":"https://api.github.com/repos/Coursemology/coursemology2/pulls{/number}","milestones_url":"https://api.github.com/repos/Coursemology/coursemology2/milestones{/number}","notifications_url":"https://api.github.com/repos/Coursemology/coursemology2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Coursemology/coursemology2/labels{/name}","releases_url":"https://api.github.com/repos/Coursemology/coursemology2/releases{/id}","deployments_url":"https://api.github.com/repos/Coursemology/coursemology2/deployments","created_at":"2014-07-23T14:57:06Z","updated_at":"2018-04-18T11:51:40Z","pushed_at":"2018-04-19T02:25:57Z","git_url":"git://github.com/Coursemology/coursemology2.git","ssh_url":"git@github.com:Coursemology/coursemology2.git","clone_url":"https://github.com/Coursemology/coursemology2.git","svn_url":"https://github.com/Coursemology/coursemology2","homepage":"https://coursemology.org","size":11677,"stargazers_count":45,"watchers_count":45,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":43,"mirror_url":null,"archived":false,"open_issues_count":202,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":43,"open_issues":202,"watchers":45,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Coursemology/coursemology2/pulls/2923"},"html":{"href":"https://github.com/Coursemology/coursemology2/pull/2923"},"issue":{"href":"https://api.github.com/repos/Coursemology/coursemology2/issues/2923"},"comments":{"href":"https://api.github.com/repos/Coursemology/coursemology2/issues/2923/comments"},"review_comments":{"href":"https://api.github.com/repos/Coursemology/coursemology2/pulls/2923/comments"},"review_comment":{"href":"https://api.github.com/repos/Coursemology/coursemology2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Coursemology/coursemology2/pulls/2923/commits"},"statuses":{"href":"https://api.github.com/repos/Coursemology/coursemology2/statuses/67e4503a09108a7a37fa3cb7f5a364fedd0540c5"}},"author_association":"OWNER"}}
{"actor":{"display_login":"weiqingtoh"}}