{"action":"created","comment":{"url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/pulls/comments/85036735","pull_request_review_id":5776147,"id":85036735,"diff_hunk":"@@ -484,6 +465,14 @@ def submit(self, data, suffix=''):\n             else:\n                 self.count_attempts += 1\n             self._compute_score()\n+            self.runtime.publish(\n+                self,\n+                'grade',\n+                {\n+                    'value': self.score,\n+                    'max_value': 1\n+                }","path":"freetextresponse/freetextresponse.py","position":80,"original_position":80,"commit_id":"fe8365e4d6febf8166b15ce42a6879d5cf7516e8","original_commit_id":"fe8365e4d6febf8166b15ce42a6879d5cf7516e8","user":{"login":"stvstnfrd","id":7300975,"avatar_url":"https://avatars.githubusercontent.com/u/7300975?v=3","gravatar_id":"","url":"https://api.github.com/users/stvstnfrd","html_url":"https://github.com/stvstnfrd","followers_url":"https://api.github.com/users/stvstnfrd/followers","following_url":"https://api.github.com/users/stvstnfrd/following{/other_user}","gists_url":"https://api.github.com/users/stvstnfrd/gists{/gist_id}","starred_url":"https://api.github.com/users/stvstnfrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stvstnfrd/subscriptions","organizations_url":"https://api.github.com/users/stvstnfrd/orgs","repos_url":"https://api.github.com/users/stvstnfrd/repos","events_url":"https://api.github.com/users/stvstnfrd/events{/privacy}","received_events_url":"https://api.github.com/users/stvstnfrd/received_events","type":"User","site_admin":false},"body":"Trailing comma?","created_at":"2016-10-26T01:49:08Z","updated_at":"2016-10-26T01:52:43Z","html_url":"https://github.com/Stanford-Online/xblock-free-text-response/pull/8#discussion_r85036735","pull_request_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/pulls/comments/85036735"},"html":{"href":"https://github.com/Stanford-Online/xblock-free-text-response/pull/8#discussion_r85036735"},"pull_request":{"href":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/pulls/8","id":90913724,"html_url":"https://github.com/Stanford-Online/xblock-free-text-response/pull/8","diff_url":"https://github.com/Stanford-Online/xblock-free-text-response/pull/8.diff","patch_url":"https://github.com/Stanford-Online/xblock-free-text-response/pull/8.patch","issue_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/issues/8","number":8,"state":"open","locked":false,"title":"Remove Credit enumeration and clean up score calculation","user":{"login":"kluo","id":868615,"avatar_url":"https://avatars.githubusercontent.com/u/868615?v=3","gravatar_id":"","url":"https://api.github.com/users/kluo","html_url":"https://github.com/kluo","followers_url":"https://api.github.com/users/kluo/followers","following_url":"https://api.github.com/users/kluo/following{/other_user}","gists_url":"https://api.github.com/users/kluo/gists{/gist_id}","starred_url":"https://api.github.com/users/kluo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kluo/subscriptions","organizations_url":"https://api.github.com/users/kluo/orgs","repos_url":"https://api.github.com/users/kluo/repos","events_url":"https://api.github.com/users/kluo/events{/privacy}","received_events_url":"https://api.github.com/users/kluo/received_events","type":"User","site_admin":false},"body":"Submissions were failing to go through due to incompatible score type from the Credit enum. Removed and simplified some logic and tests.\r\n\r\n@stvstnfrd \r\n","created_at":"2016-10-25T23:56:27Z","updated_at":"2016-10-26T01:52:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"525504bdbdb1553222fc2856489ed992bd712bc1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/pulls/8/commits","review_comments_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/pulls/8/comments","review_comment_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/issues/8/comments","statuses_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/statuses/fe8365e4d6febf8166b15ce42a6879d5cf7516e8","head":{"label":"Stanford-Online:kluo/remove-credit-enum","ref":"kluo/remove-credit-enum","sha":"fe8365e4d6febf8166b15ce42a6879d5cf7516e8","user":{"login":"Stanford-Online","id":2159497,"avatar_url":"https://avatars.githubusercontent.com/u/2159497?v=3","gravatar_id":"","url":"https://api.github.com/users/Stanford-Online","html_url":"https://github.com/Stanford-Online","followers_url":"https://api.github.com/users/Stanford-Online/followers","following_url":"https://api.github.com/users/Stanford-Online/following{/other_user}","gists_url":"https://api.github.com/users/Stanford-Online/gists{/gist_id}","starred_url":"https://api.github.com/users/Stanford-Online/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stanford-Online/subscriptions","organizations_url":"https://api.github.com/users/Stanford-Online/orgs","repos_url":"https://api.github.com/users/Stanford-Online/repos","events_url":"https://api.github.com/users/Stanford-Online/events{/privacy}","received_events_url":"https://api.github.com/users/Stanford-Online/received_events","type":"Organization","site_admin":false},"repo":{"id":43999481,"name":"xblock-free-text-response","full_name":"Stanford-Online/xblock-free-text-response","owner":{"login":"Stanford-Online","id":2159497,"avatar_url":"https://avatars.githubusercontent.com/u/2159497?v=3","gravatar_id":"","url":"https://api.github.com/users/Stanford-Online","html_url":"https://github.com/Stanford-Online","followers_url":"https://api.github.com/users/Stanford-Online/followers","following_url":"https://api.github.com/users/Stanford-Online/following{/other_user}","gists_url":"https://api.github.com/users/Stanford-Online/gists{/gist_id}","starred_url":"https://api.github.com/users/Stanford-Online/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stanford-Online/subscriptions","organizations_url":"https://api.github.com/users/Stanford-Online/orgs","repos_url":"https://api.github.com/users/Stanford-Online/repos","events_url":"https://api.github.com/users/Stanford-Online/events{/privacy}","received_events_url":"https://api.github.com/users/Stanford-Online/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Stanford-Online/xblock-free-text-response","description":null,"fork":false,"url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response","forks_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/forks","keys_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/teams","hooks_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/hooks","issue_events_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/issues/events{/number}","events_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/events","assignees_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/assignees{/user}","branches_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/branches{/branch}","tags_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/tags","blobs_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/git/refs{/sha}","trees_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/statuses/{sha}","languages_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/languages","stargazers_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/stargazers","contributors_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/contributors","subscribers_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/subscribers","subscription_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/subscription","commits_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/commits{/sha}","git_commits_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/git/commits{/sha}","comments_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/comments{/number}","issue_comment_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/issues/comments{/number}","contents_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/contents/{+path}","compare_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/merges","archive_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/downloads","issues_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/issues{/number}","pulls_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/pulls{/number}","milestones_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/milestones{/number}","notifications_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/labels{/name}","releases_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/releases{/id}","deployments_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/deployments","created_at":"2015-10-10T07:19:14Z","updated_at":"2016-06-14T21:19:10Z","pushed_at":"2016-10-25T23:56:27Z","git_url":"git://github.com/Stanford-Online/xblock-free-text-response.git","ssh_url":"git@github.com:Stanford-Online/xblock-free-text-response.git","clone_url":"https://github.com/Stanford-Online/xblock-free-text-response.git","svn_url":"https://github.com/Stanford-Online/xblock-free-text-response","homepage":null,"size":58,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":3,"default_branch":"master"}},"base":{"label":"Stanford-Online:master","ref":"master","sha":"f64266f73dde4e7506a89eabfa834e575df7f116","user":{"login":"Stanford-Online","id":2159497,"avatar_url":"https://avatars.githubusercontent.com/u/2159497?v=3","gravatar_id":"","url":"https://api.github.com/users/Stanford-Online","html_url":"https://github.com/Stanford-Online","followers_url":"https://api.github.com/users/Stanford-Online/followers","following_url":"https://api.github.com/users/Stanford-Online/following{/other_user}","gists_url":"https://api.github.com/users/Stanford-Online/gists{/gist_id}","starred_url":"https://api.github.com/users/Stanford-Online/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stanford-Online/subscriptions","organizations_url":"https://api.github.com/users/Stanford-Online/orgs","repos_url":"https://api.github.com/users/Stanford-Online/repos","events_url":"https://api.github.com/users/Stanford-Online/events{/privacy}","received_events_url":"https://api.github.com/users/Stanford-Online/received_events","type":"Organization","site_admin":false},"repo":{"id":43999481,"name":"xblock-free-text-response","full_name":"Stanford-Online/xblock-free-text-response","owner":{"login":"Stanford-Online","id":2159497,"avatar_url":"https://avatars.githubusercontent.com/u/2159497?v=3","gravatar_id":"","url":"https://api.github.com/users/Stanford-Online","html_url":"https://github.com/Stanford-Online","followers_url":"https://api.github.com/users/Stanford-Online/followers","following_url":"https://api.github.com/users/Stanford-Online/following{/other_user}","gists_url":"https://api.github.com/users/Stanford-Online/gists{/gist_id}","starred_url":"https://api.github.com/users/Stanford-Online/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stanford-Online/subscriptions","organizations_url":"https://api.github.com/users/Stanford-Online/orgs","repos_url":"https://api.github.com/users/Stanford-Online/repos","events_url":"https://api.github.com/users/Stanford-Online/events{/privacy}","received_events_url":"https://api.github.com/users/Stanford-Online/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Stanford-Online/xblock-free-text-response","description":null,"fork":false,"url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response","forks_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/forks","keys_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/teams","hooks_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/hooks","issue_events_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/issues/events{/number}","events_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/events","assignees_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/assignees{/user}","branches_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/branches{/branch}","tags_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/tags","blobs_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/git/refs{/sha}","trees_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/statuses/{sha}","languages_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/languages","stargazers_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/stargazers","contributors_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/contributors","subscribers_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/subscribers","subscription_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/subscription","commits_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/commits{/sha}","git_commits_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/git/commits{/sha}","comments_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/comments{/number}","issue_comment_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/issues/comments{/number}","contents_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/contents/{+path}","compare_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/merges","archive_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/downloads","issues_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/issues{/number}","pulls_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/pulls{/number}","milestones_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/milestones{/number}","notifications_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/labels{/name}","releases_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/releases{/id}","deployments_url":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/deployments","created_at":"2015-10-10T07:19:14Z","updated_at":"2016-06-14T21:19:10Z","pushed_at":"2016-10-25T23:56:27Z","git_url":"git://github.com/Stanford-Online/xblock-free-text-response.git","ssh_url":"git@github.com:Stanford-Online/xblock-free-text-response.git","clone_url":"https://github.com/Stanford-Online/xblock-free-text-response.git","svn_url":"https://github.com/Stanford-Online/xblock-free-text-response","homepage":null,"size":58,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/pulls/8"},"html":{"href":"https://github.com/Stanford-Online/xblock-free-text-response/pull/8"},"issue":{"href":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/issues/8"},"comments":{"href":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/Stanford-Online/xblock-free-text-response/statuses/fe8365e4d6febf8166b15ce42a6879d5cf7516e8"}}}}
{"actor":{"display_login":"stvstnfrd"}}