{"action":"created","comment":{"url":"https://api.github.com/repos/mumuki/mumuki-laboratory/pulls/comments/219490033","pull_request_review_id":157680856,"id":219490033,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxOTQ5MDAzMw==","diff_hunk":"@@ -131,8 +131,8 @@ def attempts_left_for(assignment)\n     max_attempts_for(assignment) - (assignment.attempts_count || 0)\n   end\n \n-  def limited?\n-    true\n+  def limited_for?(exercise)\n+    max_attempts_for(exercise).present?","path":"app/models/exam.rb","position":7,"original_position":7,"commit_id":"5042193a5989a4706621159f5b443377dbd60f39","original_commit_id":"5042193a5989a4706621159f5b443377dbd60f39","user":{"login":"flbulgarelli","id":677436,"node_id":"MDQ6VXNlcjY3NzQzNg==","avatar_url":"https://avatars1.githubusercontent.com/u/677436?v=4","gravatar_id":"","url":"https://api.github.com/users/flbulgarelli","html_url":"https://github.com/flbulgarelli","followers_url":"https://api.github.com/users/flbulgarelli/followers","following_url":"https://api.github.com/users/flbulgarelli/following{/other_user}","gists_url":"https://api.github.com/users/flbulgarelli/gists{/gist_id}","starred_url":"https://api.github.com/users/flbulgarelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flbulgarelli/subscriptions","organizations_url":"https://api.github.com/users/flbulgarelli/orgs","repos_url":"https://api.github.com/users/flbulgarelli/repos","events_url":"https://api.github.com/users/flbulgarelli/events{/privacy}","received_events_url":"https://api.github.com/users/flbulgarelli/received_events","type":"User","site_admin":false},"body":"Hmm, the problem is that it should take only one of them. Which objects are we actually passing?","created_at":"2018-09-21T13:07:07Z","updated_at":"2018-09-21T13:07:07Z","html_url":"https://github.com/mumuki/mumuki-laboratory/pull/1199#discussion_r219490033","pull_request_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/pulls/1199","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/mumuki/mumuki-laboratory/pulls/comments/219490033"},"html":{"href":"https://github.com/mumuki/mumuki-laboratory/pull/1199#discussion_r219490033"},"pull_request":{"href":"https://api.github.com/repos/mumuki/mumuki-laboratory/pulls/1199"}},"in_reply_to_id":219488545},"pull_request":{"url":"https://api.github.com/repos/mumuki/mumuki-laboratory/pulls/1199","id":217139035,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3MTM5MDM1","html_url":"https://github.com/mumuki/mumuki-laboratory/pull/1199","diff_url":"https://github.com/mumuki/mumuki-laboratory/pull/1199.diff","patch_url":"https://github.com/mumuki/mumuki-laboratory/pull/1199.patch","issue_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/issues/1199","number":1199,"state":"open","locked":false,"title":"Issue#1194 exam breaks if submissions limits not set","user":{"login":"julian-berbel","id":11720274,"node_id":"MDQ6VXNlcjExNzIwMjc0","avatar_url":"https://avatars1.githubusercontent.com/u/11720274?v=4","gravatar_id":"","url":"https://api.github.com/users/julian-berbel","html_url":"https://github.com/julian-berbel","followers_url":"https://api.github.com/users/julian-berbel/followers","following_url":"https://api.github.com/users/julian-berbel/following{/other_user}","gists_url":"https://api.github.com/users/julian-berbel/gists{/gist_id}","starred_url":"https://api.github.com/users/julian-berbel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julian-berbel/subscriptions","organizations_url":"https://api.github.com/users/julian-berbel/orgs","repos_url":"https://api.github.com/users/julian-berbel/repos","events_url":"https://api.github.com/users/julian-berbel/events{/privacy}","received_events_url":"https://api.github.com/users/julian-berbel/received_events","type":"User","site_admin":false},"body":"Fixes #1194.","created_at":"2018-09-21T00:03:14Z","updated_at":"2018-09-21T13:07:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d379efaeedb52a1cd6ee573f6aeb58fdd316afcd","assignee":{"login":"julian-berbel","id":11720274,"node_id":"MDQ6VXNlcjExNzIwMjc0","avatar_url":"https://avatars1.githubusercontent.com/u/11720274?v=4","gravatar_id":"","url":"https://api.github.com/users/julian-berbel","html_url":"https://github.com/julian-berbel","followers_url":"https://api.github.com/users/julian-berbel/followers","following_url":"https://api.github.com/users/julian-berbel/following{/other_user}","gists_url":"https://api.github.com/users/julian-berbel/gists{/gist_id}","starred_url":"https://api.github.com/users/julian-berbel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julian-berbel/subscriptions","organizations_url":"https://api.github.com/users/julian-berbel/orgs","repos_url":"https://api.github.com/users/julian-berbel/repos","events_url":"https://api.github.com/users/julian-berbel/events{/privacy}","received_events_url":"https://api.github.com/users/julian-berbel/received_events","type":"User","site_admin":false},"assignees":[{"login":"julian-berbel","id":11720274,"node_id":"MDQ6VXNlcjExNzIwMjc0","avatar_url":"https://avatars1.githubusercontent.com/u/11720274?v=4","gravatar_id":"","url":"https://api.github.com/users/julian-berbel","html_url":"https://github.com/julian-berbel","followers_url":"https://api.github.com/users/julian-berbel/followers","following_url":"https://api.github.com/users/julian-berbel/following{/other_user}","gists_url":"https://api.github.com/users/julian-berbel/gists{/gist_id}","starred_url":"https://api.github.com/users/julian-berbel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julian-berbel/subscriptions","organizations_url":"https://api.github.com/users/julian-berbel/orgs","repos_url":"https://api.github.com/users/julian-berbel/repos","events_url":"https://api.github.com/users/julian-berbel/events{/privacy}","received_events_url":"https://api.github.com/users/julian-berbel/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"flbulgarelli","id":677436,"node_id":"MDQ6VXNlcjY3NzQzNg==","avatar_url":"https://avatars1.githubusercontent.com/u/677436?v=4","gravatar_id":"","url":"https://api.github.com/users/flbulgarelli","html_url":"https://github.com/flbulgarelli","followers_url":"https://api.github.com/users/flbulgarelli/followers","following_url":"https://api.github.com/users/flbulgarelli/following{/other_user}","gists_url":"https://api.github.com/users/flbulgarelli/gists{/gist_id}","starred_url":"https://api.github.com/users/flbulgarelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flbulgarelli/subscriptions","organizations_url":"https://api.github.com/users/flbulgarelli/orgs","repos_url":"https://api.github.com/users/flbulgarelli/repos","events_url":"https://api.github.com/users/flbulgarelli/events{/privacy}","received_events_url":"https://api.github.com/users/flbulgarelli/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":209668821,"node_id":"MDU6TGFiZWwyMDk2Njg4MjE=","url":"https://api.github.com/repos/mumuki/mumuki-laboratory/labels/in%20progress","name":"in progress","color":"ededed","default":false},{"id":491215282,"node_id":"MDU6TGFiZWw0OTEyMTUyODI=","url":"https://api.github.com/repos/mumuki/mumuki-laboratory/labels/pending-review","name":"pending-review","color":"AAe6e6","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/pulls/1199/commits","review_comments_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/pulls/1199/comments","review_comment_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/issues/1199/comments","statuses_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/statuses/5042193a5989a4706621159f5b443377dbd60f39","head":{"label":"mumuki:issue#1194-exam-breaks-if-submissions-limits-not-set","ref":"issue#1194-exam-breaks-if-submissions-limits-not-set","sha":"5042193a5989a4706621159f5b443377dbd60f39","user":{"login":"mumuki","id":10385254,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMzg1MjU0","avatar_url":"https://avatars2.githubusercontent.com/u/10385254?v=4","gravatar_id":"","url":"https://api.github.com/users/mumuki","html_url":"https://github.com/mumuki","followers_url":"https://api.github.com/users/mumuki/followers","following_url":"https://api.github.com/users/mumuki/following{/other_user}","gists_url":"https://api.github.com/users/mumuki/gists{/gist_id}","starred_url":"https://api.github.com/users/mumuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mumuki/subscriptions","organizations_url":"https://api.github.com/users/mumuki/orgs","repos_url":"https://api.github.com/users/mumuki/repos","events_url":"https://api.github.com/users/mumuki/events{/privacy}","received_events_url":"https://api.github.com/users/mumuki/received_events","type":"Organization","site_admin":false},"repo":{"id":27654303,"node_id":"MDEwOlJlcG9zaXRvcnkyNzY1NDMwMw==","name":"mumuki-laboratory","full_name":"mumuki/mumuki-laboratory","private":false,"owner":{"login":"mumuki","id":10385254,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMzg1MjU0","avatar_url":"https://avatars2.githubusercontent.com/u/10385254?v=4","gravatar_id":"","url":"https://api.github.com/users/mumuki","html_url":"https://github.com/mumuki","followers_url":"https://api.github.com/users/mumuki/followers","following_url":"https://api.github.com/users/mumuki/following{/other_user}","gists_url":"https://api.github.com/users/mumuki/gists{/gist_id}","starred_url":"https://api.github.com/users/mumuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mumuki/subscriptions","organizations_url":"https://api.github.com/users/mumuki/orgs","repos_url":"https://api.github.com/users/mumuki/repos","events_url":"https://api.github.com/users/mumuki/events{/privacy}","received_events_url":"https://api.github.com/users/mumuki/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/mumuki/mumuki-laboratory","description":" :microscope: Where students practice and receive automated and human feedback","fork":false,"url":"https://api.github.com/repos/mumuki/mumuki-laboratory","forks_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/forks","keys_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/teams","hooks_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/hooks","issue_events_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/issues/events{/number}","events_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/events","assignees_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/assignees{/user}","branches_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/branches{/branch}","tags_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/tags","blobs_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/git/refs{/sha}","trees_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/statuses/{sha}","languages_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/languages","stargazers_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/stargazers","contributors_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/contributors","subscribers_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/subscribers","subscription_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/subscription","commits_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/commits{/sha}","git_commits_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/git/commits{/sha}","comments_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/comments{/number}","issue_comment_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/issues/comments{/number}","contents_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/contents/{+path}","compare_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/merges","archive_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/downloads","issues_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/issues{/number}","pulls_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/pulls{/number}","milestones_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/milestones{/number}","notifications_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/labels{/name}","releases_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/releases{/id}","deployments_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/deployments","created_at":"2014-12-07T00:31:42Z","updated_at":"2018-09-20T21:11:00Z","pushed_at":"2018-09-21T12:56:08Z","git_url":"git://github.com/mumuki/mumuki-laboratory.git","ssh_url":"git@github.com:mumuki/mumuki-laboratory.git","clone_url":"https://github.com/mumuki/mumuki-laboratory.git","svn_url":"https://github.com/mumuki/mumuki-laboratory","homepage":"http://mumuki.io","size":14343,"stargazers_count":115,"watchers_count":115,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"archived":false,"open_issues_count":84,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":18,"open_issues":84,"watchers":115,"default_branch":"master"}},"base":{"label":"mumuki:master","ref":"master","sha":"1e014ad05f7a7cd9f81d081bebda0ab0c2038c49","user":{"login":"mumuki","id":10385254,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMzg1MjU0","avatar_url":"https://avatars2.githubusercontent.com/u/10385254?v=4","gravatar_id":"","url":"https://api.github.com/users/mumuki","html_url":"https://github.com/mumuki","followers_url":"https://api.github.com/users/mumuki/followers","following_url":"https://api.github.com/users/mumuki/following{/other_user}","gists_url":"https://api.github.com/users/mumuki/gists{/gist_id}","starred_url":"https://api.github.com/users/mumuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mumuki/subscriptions","organizations_url":"https://api.github.com/users/mumuki/orgs","repos_url":"https://api.github.com/users/mumuki/repos","events_url":"https://api.github.com/users/mumuki/events{/privacy}","received_events_url":"https://api.github.com/users/mumuki/received_events","type":"Organization","site_admin":false},"repo":{"id":27654303,"node_id":"MDEwOlJlcG9zaXRvcnkyNzY1NDMwMw==","name":"mumuki-laboratory","full_name":"mumuki/mumuki-laboratory","private":false,"owner":{"login":"mumuki","id":10385254,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMzg1MjU0","avatar_url":"https://avatars2.githubusercontent.com/u/10385254?v=4","gravatar_id":"","url":"https://api.github.com/users/mumuki","html_url":"https://github.com/mumuki","followers_url":"https://api.github.com/users/mumuki/followers","following_url":"https://api.github.com/users/mumuki/following{/other_user}","gists_url":"https://api.github.com/users/mumuki/gists{/gist_id}","starred_url":"https://api.github.com/users/mumuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mumuki/subscriptions","organizations_url":"https://api.github.com/users/mumuki/orgs","repos_url":"https://api.github.com/users/mumuki/repos","events_url":"https://api.github.com/users/mumuki/events{/privacy}","received_events_url":"https://api.github.com/users/mumuki/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/mumuki/mumuki-laboratory","description":" :microscope: Where students practice and receive automated and human feedback","fork":false,"url":"https://api.github.com/repos/mumuki/mumuki-laboratory","forks_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/forks","keys_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/teams","hooks_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/hooks","issue_events_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/issues/events{/number}","events_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/events","assignees_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/assignees{/user}","branches_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/branches{/branch}","tags_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/tags","blobs_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/git/refs{/sha}","trees_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/statuses/{sha}","languages_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/languages","stargazers_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/stargazers","contributors_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/contributors","subscribers_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/subscribers","subscription_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/subscription","commits_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/commits{/sha}","git_commits_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/git/commits{/sha}","comments_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/comments{/number}","issue_comment_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/issues/comments{/number}","contents_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/contents/{+path}","compare_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/merges","archive_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/downloads","issues_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/issues{/number}","pulls_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/pulls{/number}","milestones_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/milestones{/number}","notifications_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/labels{/name}","releases_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/releases{/id}","deployments_url":"https://api.github.com/repos/mumuki/mumuki-laboratory/deployments","created_at":"2014-12-07T00:31:42Z","updated_at":"2018-09-20T21:11:00Z","pushed_at":"2018-09-21T12:56:08Z","git_url":"git://github.com/mumuki/mumuki-laboratory.git","ssh_url":"git@github.com:mumuki/mumuki-laboratory.git","clone_url":"https://github.com/mumuki/mumuki-laboratory.git","svn_url":"https://github.com/mumuki/mumuki-laboratory","homepage":"http://mumuki.io","size":14343,"stargazers_count":115,"watchers_count":115,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"archived":false,"open_issues_count":84,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":18,"open_issues":84,"watchers":115,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mumuki/mumuki-laboratory/pulls/1199"},"html":{"href":"https://github.com/mumuki/mumuki-laboratory/pull/1199"},"issue":{"href":"https://api.github.com/repos/mumuki/mumuki-laboratory/issues/1199"},"comments":{"href":"https://api.github.com/repos/mumuki/mumuki-laboratory/issues/1199/comments"},"review_comments":{"href":"https://api.github.com/repos/mumuki/mumuki-laboratory/pulls/1199/comments"},"review_comment":{"href":"https://api.github.com/repos/mumuki/mumuki-laboratory/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mumuki/mumuki-laboratory/pulls/1199/commits"},"statuses":{"href":"https://api.github.com/repos/mumuki/mumuki-laboratory/statuses/5042193a5989a4706621159f5b443377dbd60f39"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"flbulgarelli"}}