{"action":"created","comment":{"url":"https://api.github.com/repos/openstax/tutor-server/pulls/comments/34620555","id":34620555,"diff_hunk":"@@ -129,8 +134,9 @@ def compile_pages(task_steps)\n   def filter_task_steps_by_page(task_steps, page)\n     page_data = outputs.page_data.select { |p| p.id == page.id }.first\n     page_los = page_data.los\n+    page_aplos = page_data.aplos\n     task_steps.select do |task_step|\n-      (task_step.tasked.los & page_los).any?\n+      (task_step.tasked.los & page_los).any? || (task_step.tasked.aplos & page_aplos).any?","path":"app/routines/get_course_guide.rb","position":31,"original_position":31,"commit_id":"9fd522d0be330f3ed3fc49bf77ad0bcf6bf722f9","original_commit_id":"9fd522d0be330f3ed3fc49bf77ad0bcf6bf722f9","user":{"login":"jpslav","id":1001691,"avatar_url":"https://avatars.githubusercontent.com/u/1001691?v=3","gravatar_id":"","url":"https://api.github.com/users/jpslav","html_url":"https://github.com/jpslav","followers_url":"https://api.github.com/users/jpslav/followers","following_url":"https://api.github.com/users/jpslav/following{/other_user}","gists_url":"https://api.github.com/users/jpslav/gists{/gist_id}","starred_url":"https://api.github.com/users/jpslav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpslav/subscriptions","organizations_url":"https://api.github.com/users/jpslav/orgs","repos_url":"https://api.github.com/users/jpslav/repos","events_url":"https://api.github.com/users/jpslav/events{/privacy}","received_events_url":"https://api.github.com/users/jpslav/received_events","type":"User","site_admin":false},"body":"@Dantemss all this aplo stuff is totally what we have to do right now, but as I imagine you agree in the fall we have got to figure out something different, otherwise when we add another book with some other kind of LO, we're going to have to add yet another blahlo.  /cc @kevinburleigh75 ","created_at":"2015-07-14T21:14:37Z","updated_at":"2015-07-14T21:14:37Z","html_url":"https://github.com/openstax/tutor-server/pull/434#discussion_r34620555","pull_request_url":"https://api.github.com/repos/openstax/tutor-server/pulls/434","_links":{"self":{"href":"https://api.github.com/repos/openstax/tutor-server/pulls/comments/34620555"},"html":{"href":"https://github.com/openstax/tutor-server/pull/434#discussion_r34620555"},"pull_request":{"href":"https://api.github.com/repos/openstax/tutor-server/pulls/434"}}},"pull_request":{"url":"https://api.github.com/repos/openstax/tutor-server/pulls/434","id":39621410,"html_url":"https://github.com/openstax/tutor-server/pull/434","diff_url":"https://github.com/openstax/tutor-server/pull/434.diff","patch_url":"https://github.com/openstax/tutor-server/pull/434.patch","issue_url":"https://api.github.com/repos/openstax/tutor-server/issues/434","number":434,"state":"open","locked":false,"title":"Updated several components to use AP LO's; Corrected exercise types used in iReading (SP/Pers)/HW (builder/SP/Pers)/PW","user":{"login":"Dantemss","id":1017808,"avatar_url":"https://avatars.githubusercontent.com/u/1017808?v=3","gravatar_id":"","url":"https://api.github.com/users/Dantemss","html_url":"https://github.com/Dantemss","followers_url":"https://api.github.com/users/Dantemss/followers","following_url":"https://api.github.com/users/Dantemss/following{/other_user}","gists_url":"https://api.github.com/users/Dantemss/gists{/gist_id}","starred_url":"https://api.github.com/users/Dantemss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dantemss/subscriptions","organizations_url":"https://api.github.com/users/Dantemss/orgs","repos_url":"https://api.github.com/users/Dantemss/repos","events_url":"https://api.github.com/users/Dantemss/events{/privacy}","received_events_url":"https://api.github.com/users/Dantemss/received_events","type":"User","site_admin":false},"body":"Will be ready to be merged after https://github.com/openstax/tutor-server/pull/439 is merged.","created_at":"2015-07-09T19:52:41Z","updated_at":"2015-07-14T21:14:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ffb8f43a49f23e2639c5b0a260616d5e852685cf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openstax/tutor-server/pulls/434/commits","review_comments_url":"https://api.github.com/repos/openstax/tutor-server/pulls/434/comments","review_comment_url":"https://api.github.com/repos/openstax/tutor-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openstax/tutor-server/issues/434/comments","statuses_url":"https://api.github.com/repos/openstax/tutor-server/statuses/9fd522d0be330f3ed3fc49bf77ad0bcf6bf722f9","head":{"label":"Dantemss:course_stats_ap_los","ref":"course_stats_ap_los","sha":"9fd522d0be330f3ed3fc49bf77ad0bcf6bf722f9","user":{"login":"Dantemss","id":1017808,"avatar_url":"https://avatars.githubusercontent.com/u/1017808?v=3","gravatar_id":"","url":"https://api.github.com/users/Dantemss","html_url":"https://github.com/Dantemss","followers_url":"https://api.github.com/users/Dantemss/followers","following_url":"https://api.github.com/users/Dantemss/following{/other_user}","gists_url":"https://api.github.com/users/Dantemss/gists{/gist_id}","starred_url":"https://api.github.com/users/Dantemss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dantemss/subscriptions","organizations_url":"https://api.github.com/users/Dantemss/orgs","repos_url":"https://api.github.com/users/Dantemss/repos","events_url":"https://api.github.com/users/Dantemss/events{/privacy}","received_events_url":"https://api.github.com/users/Dantemss/received_events","type":"User","site_admin":false},"repo":{"id":24375939,"name":"tutor-server","full_name":"Dantemss/tutor-server","owner":{"login":"Dantemss","id":1017808,"avatar_url":"https://avatars.githubusercontent.com/u/1017808?v=3","gravatar_id":"","url":"https://api.github.com/users/Dantemss","html_url":"https://github.com/Dantemss","followers_url":"https://api.github.com/users/Dantemss/followers","following_url":"https://api.github.com/users/Dantemss/following{/other_user}","gists_url":"https://api.github.com/users/Dantemss/gists{/gist_id}","starred_url":"https://api.github.com/users/Dantemss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dantemss/subscriptions","organizations_url":"https://api.github.com/users/Dantemss/orgs","repos_url":"https://api.github.com/users/Dantemss/repos","events_url":"https://api.github.com/users/Dantemss/events{/privacy}","received_events_url":"https://api.github.com/users/Dantemss/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Dantemss/tutor-server","description":"OpenStax Tutor 3.0","fork":true,"url":"https://api.github.com/repos/Dantemss/tutor-server","forks_url":"https://api.github.com/repos/Dantemss/tutor-server/forks","keys_url":"https://api.github.com/repos/Dantemss/tutor-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Dantemss/tutor-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Dantemss/tutor-server/teams","hooks_url":"https://api.github.com/repos/Dantemss/tutor-server/hooks","issue_events_url":"https://api.github.com/repos/Dantemss/tutor-server/issues/events{/number}","events_url":"https://api.github.com/repos/Dantemss/tutor-server/events","assignees_url":"https://api.github.com/repos/Dantemss/tutor-server/assignees{/user}","branches_url":"https://api.github.com/repos/Dantemss/tutor-server/branches{/branch}","tags_url":"https://api.github.com/repos/Dantemss/tutor-server/tags","blobs_url":"https://api.github.com/repos/Dantemss/tutor-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Dantemss/tutor-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Dantemss/tutor-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/Dantemss/tutor-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Dantemss/tutor-server/statuses/{sha}","languages_url":"https://api.github.com/repos/Dantemss/tutor-server/languages","stargazers_url":"https://api.github.com/repos/Dantemss/tutor-server/stargazers","contributors_url":"https://api.github.com/repos/Dantemss/tutor-server/contributors","subscribers_url":"https://api.github.com/repos/Dantemss/tutor-server/subscribers","subscription_url":"https://api.github.com/repos/Dantemss/tutor-server/subscription","commits_url":"https://api.github.com/repos/Dantemss/tutor-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/Dantemss/tutor-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/Dantemss/tutor-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/Dantemss/tutor-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/Dantemss/tutor-server/contents/{+path}","compare_url":"https://api.github.com/repos/Dantemss/tutor-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Dantemss/tutor-server/merges","archive_url":"https://api.github.com/repos/Dantemss/tutor-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Dantemss/tutor-server/downloads","issues_url":"https://api.github.com/repos/Dantemss/tutor-server/issues{/number}","pulls_url":"https://api.github.com/repos/Dantemss/tutor-server/pulls{/number}","milestones_url":"https://api.github.com/repos/Dantemss/tutor-server/milestones{/number}","notifications_url":"https://api.github.com/repos/Dantemss/tutor-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Dantemss/tutor-server/labels{/name}","releases_url":"https://api.github.com/repos/Dantemss/tutor-server/releases{/id}","created_at":"2014-09-23T14:58:00Z","updated_at":"2015-05-08T17:43:07Z","pushed_at":"2015-07-14T20:45:02Z","git_url":"git://github.com/Dantemss/tutor-server.git","ssh_url":"git@github.com:Dantemss/tutor-server.git","clone_url":"https://github.com/Dantemss/tutor-server.git","svn_url":"https://github.com/Dantemss/tutor-server","homepage":null,"size":16854,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"openstax:master","ref":"master","sha":"842667d21abfe4b8e997183cb1c751fc4d7e25f2","user":{"login":"openstax","id":3805549,"avatar_url":"https://avatars.githubusercontent.com/u/3805549?v=3","gravatar_id":"","url":"https://api.github.com/users/openstax","html_url":"https://github.com/openstax","followers_url":"https://api.github.com/users/openstax/followers","following_url":"https://api.github.com/users/openstax/following{/other_user}","gists_url":"https://api.github.com/users/openstax/gists{/gist_id}","starred_url":"https://api.github.com/users/openstax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openstax/subscriptions","organizations_url":"https://api.github.com/users/openstax/orgs","repos_url":"https://api.github.com/users/openstax/repos","events_url":"https://api.github.com/users/openstax/events{/privacy}","received_events_url":"https://api.github.com/users/openstax/received_events","type":"Organization","site_admin":false},"repo":{"id":24337612,"name":"tutor-server","full_name":"openstax/tutor-server","owner":{"login":"openstax","id":3805549,"avatar_url":"https://avatars.githubusercontent.com/u/3805549?v=3","gravatar_id":"","url":"https://api.github.com/users/openstax","html_url":"https://github.com/openstax","followers_url":"https://api.github.com/users/openstax/followers","following_url":"https://api.github.com/users/openstax/following{/other_user}","gists_url":"https://api.github.com/users/openstax/gists{/gist_id}","starred_url":"https://api.github.com/users/openstax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openstax/subscriptions","organizations_url":"https://api.github.com/users/openstax/orgs","repos_url":"https://api.github.com/users/openstax/repos","events_url":"https://api.github.com/users/openstax/events{/privacy}","received_events_url":"https://api.github.com/users/openstax/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openstax/tutor-server","description":":mortar_board: OpenStax Tutor 3.0 Backend","fork":false,"url":"https://api.github.com/repos/openstax/tutor-server","forks_url":"https://api.github.com/repos/openstax/tutor-server/forks","keys_url":"https://api.github.com/repos/openstax/tutor-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openstax/tutor-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openstax/tutor-server/teams","hooks_url":"https://api.github.com/repos/openstax/tutor-server/hooks","issue_events_url":"https://api.github.com/repos/openstax/tutor-server/issues/events{/number}","events_url":"https://api.github.com/repos/openstax/tutor-server/events","assignees_url":"https://api.github.com/repos/openstax/tutor-server/assignees{/user}","branches_url":"https://api.github.com/repos/openstax/tutor-server/branches{/branch}","tags_url":"https://api.github.com/repos/openstax/tutor-server/tags","blobs_url":"https://api.github.com/repos/openstax/tutor-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openstax/tutor-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openstax/tutor-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/openstax/tutor-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openstax/tutor-server/statuses/{sha}","languages_url":"https://api.github.com/repos/openstax/tutor-server/languages","stargazers_url":"https://api.github.com/repos/openstax/tutor-server/stargazers","contributors_url":"https://api.github.com/repos/openstax/tutor-server/contributors","subscribers_url":"https://api.github.com/repos/openstax/tutor-server/subscribers","subscription_url":"https://api.github.com/repos/openstax/tutor-server/subscription","commits_url":"https://api.github.com/repos/openstax/tutor-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/openstax/tutor-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/openstax/tutor-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/openstax/tutor-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/openstax/tutor-server/contents/{+path}","compare_url":"https://api.github.com/repos/openstax/tutor-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openstax/tutor-server/merges","archive_url":"https://api.github.com/repos/openstax/tutor-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openstax/tutor-server/downloads","issues_url":"https://api.github.com/repos/openstax/tutor-server/issues{/number}","pulls_url":"https://api.github.com/repos/openstax/tutor-server/pulls{/number}","milestones_url":"https://api.github.com/repos/openstax/tutor-server/milestones{/number}","notifications_url":"https://api.github.com/repos/openstax/tutor-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openstax/tutor-server/labels{/name}","releases_url":"https://api.github.com/repos/openstax/tutor-server/releases{/id}","created_at":"2014-09-22T17:10:29Z","updated_at":"2015-06-29T16:30:39Z","pushed_at":"2015-07-14T21:09:37Z","git_url":"git://github.com/openstax/tutor-server.git","ssh_url":"git@github.com:openstax/tutor-server.git","clone_url":"https://github.com/openstax/tutor-server.git","svn_url":"https://github.com/openstax/tutor-server","homepage":"","size":22073,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":36,"forks":4,"open_issues":36,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openstax/tutor-server/pulls/434"},"html":{"href":"https://github.com/openstax/tutor-server/pull/434"},"issue":{"href":"https://api.github.com/repos/openstax/tutor-server/issues/434"},"comments":{"href":"https://api.github.com/repos/openstax/tutor-server/issues/434/comments"},"review_comments":{"href":"https://api.github.com/repos/openstax/tutor-server/pulls/434/comments"},"review_comment":{"href":"https://api.github.com/repos/openstax/tutor-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openstax/tutor-server/pulls/434/commits"},"statuses":{"href":"https://api.github.com/repos/openstax/tutor-server/statuses/9fd522d0be330f3ed3fc49bf77ad0bcf6bf722f9"}}}}