{"action":"opened","number":1455,"pull_request":{"url":"https://api.github.com/repos/Automattic/sensei/pulls/1455","id":69621734,"html_url":"https://github.com/Automattic/sensei/pull/1455","diff_url":"https://github.com/Automattic/sensei/pull/1455.diff","patch_url":"https://github.com/Automattic/sensei/pull/1455.patch","issue_url":"https://api.github.com/repos/Automattic/sensei/issues/1455","number":1455,"state":"open","locked":false,"title":"Grade also unanswered questions","user":{"login":"MikkoVirenius","id":2517613,"avatar_url":"https://avatars.githubusercontent.com/u/2517613?v=3","gravatar_id":"","url":"https://api.github.com/users/MikkoVirenius","html_url":"https://github.com/MikkoVirenius","followers_url":"https://api.github.com/users/MikkoVirenius/followers","following_url":"https://api.github.com/users/MikkoVirenius/following{/other_user}","gists_url":"https://api.github.com/users/MikkoVirenius/gists{/gist_id}","starred_url":"https://api.github.com/users/MikkoVirenius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikkoVirenius/subscriptions","organizations_url":"https://api.github.com/users/MikkoVirenius/orgs","repos_url":"https://api.github.com/users/MikkoVirenius/repos","events_url":"https://api.github.com/users/MikkoVirenius/events{/privacy}","received_events_url":"https://api.github.com/users/MikkoVirenius/received_events","type":"User","site_admin":false},"body":"Problem description: if a quiz contains three multiple choice questions and user answers only two of them, unanswered question will not be graded, because $_POST variable doesn't contain its ID.\r\n\r\nI think this is **critical** issue, because user can pass the quiz without answering all of the questions correctly.\r\n\r\nThis commit solves the issue by merging user answers with quiz questions keys so that all questions will be graded.","created_at":"2016-05-11T06:38:57Z","updated_at":"2016-05-11T06:38:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Automattic/sensei/pulls/1455/commits","review_comments_url":"https://api.github.com/repos/Automattic/sensei/pulls/1455/comments","review_comment_url":"https://api.github.com/repos/Automattic/sensei/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Automattic/sensei/issues/1455/comments","statuses_url":"https://api.github.com/repos/Automattic/sensei/statuses/4f4eb9bf32999a4ddecb7f89c33499c689e84666","head":{"label":"MikkoVirenius:grade-also-unanswered-questions","ref":"grade-also-unanswered-questions","sha":"4f4eb9bf32999a4ddecb7f89c33499c689e84666","user":{"login":"MikkoVirenius","id":2517613,"avatar_url":"https://avatars.githubusercontent.com/u/2517613?v=3","gravatar_id":"","url":"https://api.github.com/users/MikkoVirenius","html_url":"https://github.com/MikkoVirenius","followers_url":"https://api.github.com/users/MikkoVirenius/followers","following_url":"https://api.github.com/users/MikkoVirenius/following{/other_user}","gists_url":"https://api.github.com/users/MikkoVirenius/gists{/gist_id}","starred_url":"https://api.github.com/users/MikkoVirenius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikkoVirenius/subscriptions","organizations_url":"https://api.github.com/users/MikkoVirenius/orgs","repos_url":"https://api.github.com/users/MikkoVirenius/repos","events_url":"https://api.github.com/users/MikkoVirenius/events{/privacy}","received_events_url":"https://api.github.com/users/MikkoVirenius/received_events","type":"User","site_admin":false},"repo":{"id":55600118,"name":"sensei","full_name":"MikkoVirenius/sensei","owner":{"login":"MikkoVirenius","id":2517613,"avatar_url":"https://avatars.githubusercontent.com/u/2517613?v=3","gravatar_id":"","url":"https://api.github.com/users/MikkoVirenius","html_url":"https://github.com/MikkoVirenius","followers_url":"https://api.github.com/users/MikkoVirenius/followers","following_url":"https://api.github.com/users/MikkoVirenius/following{/other_user}","gists_url":"https://api.github.com/users/MikkoVirenius/gists{/gist_id}","starred_url":"https://api.github.com/users/MikkoVirenius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikkoVirenius/subscriptions","organizations_url":"https://api.github.com/users/MikkoVirenius/orgs","repos_url":"https://api.github.com/users/MikkoVirenius/repos","events_url":"https://api.github.com/users/MikkoVirenius/events{/privacy}","received_events_url":"https://api.github.com/users/MikkoVirenius/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MikkoVirenius/sensei","description":"Sensei the Learning Management Plugin for WordPress","fork":true,"url":"https://api.github.com/repos/MikkoVirenius/sensei","forks_url":"https://api.github.com/repos/MikkoVirenius/sensei/forks","keys_url":"https://api.github.com/repos/MikkoVirenius/sensei/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MikkoVirenius/sensei/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MikkoVirenius/sensei/teams","hooks_url":"https://api.github.com/repos/MikkoVirenius/sensei/hooks","issue_events_url":"https://api.github.com/repos/MikkoVirenius/sensei/issues/events{/number}","events_url":"https://api.github.com/repos/MikkoVirenius/sensei/events","assignees_url":"https://api.github.com/repos/MikkoVirenius/sensei/assignees{/user}","branches_url":"https://api.github.com/repos/MikkoVirenius/sensei/branches{/branch}","tags_url":"https://api.github.com/repos/MikkoVirenius/sensei/tags","blobs_url":"https://api.github.com/repos/MikkoVirenius/sensei/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MikkoVirenius/sensei/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MikkoVirenius/sensei/git/refs{/sha}","trees_url":"https://api.github.com/repos/MikkoVirenius/sensei/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MikkoVirenius/sensei/statuses/{sha}","languages_url":"https://api.github.com/repos/MikkoVirenius/sensei/languages","stargazers_url":"https://api.github.com/repos/MikkoVirenius/sensei/stargazers","contributors_url":"https://api.github.com/repos/MikkoVirenius/sensei/contributors","subscribers_url":"https://api.github.com/repos/MikkoVirenius/sensei/subscribers","subscription_url":"https://api.github.com/repos/MikkoVirenius/sensei/subscription","commits_url":"https://api.github.com/repos/MikkoVirenius/sensei/commits{/sha}","git_commits_url":"https://api.github.com/repos/MikkoVirenius/sensei/git/commits{/sha}","comments_url":"https://api.github.com/repos/MikkoVirenius/sensei/comments{/number}","issue_comment_url":"https://api.github.com/repos/MikkoVirenius/sensei/issues/comments{/number}","contents_url":"https://api.github.com/repos/MikkoVirenius/sensei/contents/{+path}","compare_url":"https://api.github.com/repos/MikkoVirenius/sensei/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MikkoVirenius/sensei/merges","archive_url":"https://api.github.com/repos/MikkoVirenius/sensei/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MikkoVirenius/sensei/downloads","issues_url":"https://api.github.com/repos/MikkoVirenius/sensei/issues{/number}","pulls_url":"https://api.github.com/repos/MikkoVirenius/sensei/pulls{/number}","milestones_url":"https://api.github.com/repos/MikkoVirenius/sensei/milestones{/number}","notifications_url":"https://api.github.com/repos/MikkoVirenius/sensei/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MikkoVirenius/sensei/labels{/name}","releases_url":"https://api.github.com/repos/MikkoVirenius/sensei/releases{/id}","deployments_url":"https://api.github.com/repos/MikkoVirenius/sensei/deployments","created_at":"2016-04-06T11:26:30Z","updated_at":"2016-04-06T11:26:31Z","pushed_at":"2016-05-11T06:30:07Z","git_url":"git://github.com/MikkoVirenius/sensei.git","ssh_url":"git@github.com:MikkoVirenius/sensei.git","clone_url":"https://github.com/MikkoVirenius/sensei.git","svn_url":"https://github.com/MikkoVirenius/sensei","homepage":"http://senseilms.com/","size":14001,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Automattic:master","ref":"master","sha":"4deae19fbd06b2b7b7fc50fa70010c84a3b25191","user":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"repo":{"id":7537577,"name":"sensei","full_name":"Automattic/sensei","owner":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Automattic/sensei","description":"Sensei the Learning Management Plugin for WordPress","fork":false,"url":"https://api.github.com/repos/Automattic/sensei","forks_url":"https://api.github.com/repos/Automattic/sensei/forks","keys_url":"https://api.github.com/repos/Automattic/sensei/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Automattic/sensei/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Automattic/sensei/teams","hooks_url":"https://api.github.com/repos/Automattic/sensei/hooks","issue_events_url":"https://api.github.com/repos/Automattic/sensei/issues/events{/number}","events_url":"https://api.github.com/repos/Automattic/sensei/events","assignees_url":"https://api.github.com/repos/Automattic/sensei/assignees{/user}","branches_url":"https://api.github.com/repos/Automattic/sensei/branches{/branch}","tags_url":"https://api.github.com/repos/Automattic/sensei/tags","blobs_url":"https://api.github.com/repos/Automattic/sensei/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Automattic/sensei/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Automattic/sensei/git/refs{/sha}","trees_url":"https://api.github.com/repos/Automattic/sensei/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Automattic/sensei/statuses/{sha}","languages_url":"https://api.github.com/repos/Automattic/sensei/languages","stargazers_url":"https://api.github.com/repos/Automattic/sensei/stargazers","contributors_url":"https://api.github.com/repos/Automattic/sensei/contributors","subscribers_url":"https://api.github.com/repos/Automattic/sensei/subscribers","subscription_url":"https://api.github.com/repos/Automattic/sensei/subscription","commits_url":"https://api.github.com/repos/Automattic/sensei/commits{/sha}","git_commits_url":"https://api.github.com/repos/Automattic/sensei/git/commits{/sha}","comments_url":"https://api.github.com/repos/Automattic/sensei/comments{/number}","issue_comment_url":"https://api.github.com/repos/Automattic/sensei/issues/comments{/number}","contents_url":"https://api.github.com/repos/Automattic/sensei/contents/{+path}","compare_url":"https://api.github.com/repos/Automattic/sensei/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Automattic/sensei/merges","archive_url":"https://api.github.com/repos/Automattic/sensei/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Automattic/sensei/downloads","issues_url":"https://api.github.com/repos/Automattic/sensei/issues{/number}","pulls_url":"https://api.github.com/repos/Automattic/sensei/pulls{/number}","milestones_url":"https://api.github.com/repos/Automattic/sensei/milestones{/number}","notifications_url":"https://api.github.com/repos/Automattic/sensei/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Automattic/sensei/labels{/name}","releases_url":"https://api.github.com/repos/Automattic/sensei/releases{/id}","deployments_url":"https://api.github.com/repos/Automattic/sensei/deployments","created_at":"2013-01-10T08:52:41Z","updated_at":"2016-05-05T07:56:19Z","pushed_at":"2016-05-09T22:03:57Z","git_url":"git://github.com/Automattic/sensei.git","ssh_url":"git@github.com:Automattic/sensei.git","clone_url":"https://github.com/Automattic/sensei.git","svn_url":"https://github.com/Automattic/sensei","homepage":"http://senseilms.com/","size":14171,"stargazers_count":98,"watchers_count":98,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":45,"mirror_url":null,"open_issues_count":67,"forks":45,"open_issues":67,"watchers":98,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Automattic/sensei/pulls/1455"},"html":{"href":"https://github.com/Automattic/sensei/pull/1455"},"issue":{"href":"https://api.github.com/repos/Automattic/sensei/issues/1455"},"comments":{"href":"https://api.github.com/repos/Automattic/sensei/issues/1455/comments"},"review_comments":{"href":"https://api.github.com/repos/Automattic/sensei/pulls/1455/comments"},"review_comment":{"href":"https://api.github.com/repos/Automattic/sensei/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Automattic/sensei/pulls/1455/commits"},"statuses":{"href":"https://api.github.com/repos/Automattic/sensei/statuses/4f4eb9bf32999a4ddecb7f89c33499c689e84666"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":0,"changed_files":1}}