{"action":"opened","number":150,"pull_request":{"url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/pulls/150","id":87198270,"html_url":"https://github.com/CenterForOpenScience/exp-addons/pull/150","diff_url":"https://github.com/CenterForOpenScience/exp-addons/pull/150.diff","patch_url":"https://github.com/CenterForOpenScience/exp-addons/pull/150.patch","issue_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/issues/150","number":150,"state":"open","locked":false,"title":"Counterbalancing randomizer should act on previous session","user":{"login":"abought","id":2957073,"avatar_url":"https://avatars.githubusercontent.com/u/2957073?v=3","gravatar_id":"","url":"https://api.github.com/users/abought","html_url":"https://github.com/abought","followers_url":"https://api.github.com/users/abought/followers","following_url":"https://api.github.com/users/abought/following{/other_user}","gists_url":"https://api.github.com/users/abought/gists{/gist_id}","starred_url":"https://api.github.com/users/abought/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abought/subscriptions","organizations_url":"https://api.github.com/users/abought/orgs","repos_url":"https://api.github.com/users/abought/repos","events_url":"https://api.github.com/users/abought/events{/privacy}","received_events_url":"https://api.github.com/users/abought/received_events","type":"User","site_admin":false},"body":"Refs: https://openscience.atlassian.net/browse/LEI-215\r\nCompanion to: \r\n\r\n## Purpose\r\nThe pref-phys-pilot randomizer should take previous sessions into account when deciding what videos to show. \r\n\r\nPreviously, it did not, because it was looking for the previous frame under a key that did not exist. See JIRA ticket for notes on expected behavior.\r\n\r\n## Summary of changes\r\n- Get unit tests working\r\n- Fix pref-phys-pilot randomizer to correctly find the prev session conditions\r\n- Add unit tests around the expected behavior so we know if it breaks in the future\r\n\r\n## Testing notes\r\nTo be written.\r\n","created_at":"2016-09-28T20:48:38Z","updated_at":"2016-09-28T20:48:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/pulls/150/commits","review_comments_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/pulls/150/comments","review_comment_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/issues/150/comments","statuses_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/statuses/cd9b7ba978b7eb5397950349fae60b94692db9cc","head":{"label":"abought:fix/lei215-counterbalancing-randomizer","ref":"fix/lei215-counterbalancing-randomizer","sha":"cd9b7ba978b7eb5397950349fae60b94692db9cc","user":{"login":"abought","id":2957073,"avatar_url":"https://avatars.githubusercontent.com/u/2957073?v=3","gravatar_id":"","url":"https://api.github.com/users/abought","html_url":"https://github.com/abought","followers_url":"https://api.github.com/users/abought/followers","following_url":"https://api.github.com/users/abought/following{/other_user}","gists_url":"https://api.github.com/users/abought/gists{/gist_id}","starred_url":"https://api.github.com/users/abought/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abought/subscriptions","organizations_url":"https://api.github.com/users/abought/orgs","repos_url":"https://api.github.com/users/abought/repos","events_url":"https://api.github.com/users/abought/events{/privacy}","received_events_url":"https://api.github.com/users/abought/received_events","type":"User","site_admin":false},"repo":{"id":51108087,"name":"exp-addons","full_name":"abought/exp-addons","owner":{"login":"abought","id":2957073,"avatar_url":"https://avatars.githubusercontent.com/u/2957073?v=3","gravatar_id":"","url":"https://api.github.com/users/abought","html_url":"https://github.com/abought","followers_url":"https://api.github.com/users/abought/followers","following_url":"https://api.github.com/users/abought/following{/other_user}","gists_url":"https://api.github.com/users/abought/gists{/gist_id}","starred_url":"https://api.github.com/users/abought/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abought/subscriptions","organizations_url":"https://api.github.com/users/abought/orgs","repos_url":"https://api.github.com/users/abought/repos","events_url":"https://api.github.com/users/abought/events{/privacy}","received_events_url":"https://api.github.com/users/abought/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abought/exp-addons","description":"","fork":true,"url":"https://api.github.com/repos/abought/exp-addons","forks_url":"https://api.github.com/repos/abought/exp-addons/forks","keys_url":"https://api.github.com/repos/abought/exp-addons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abought/exp-addons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abought/exp-addons/teams","hooks_url":"https://api.github.com/repos/abought/exp-addons/hooks","issue_events_url":"https://api.github.com/repos/abought/exp-addons/issues/events{/number}","events_url":"https://api.github.com/repos/abought/exp-addons/events","assignees_url":"https://api.github.com/repos/abought/exp-addons/assignees{/user}","branches_url":"https://api.github.com/repos/abought/exp-addons/branches{/branch}","tags_url":"https://api.github.com/repos/abought/exp-addons/tags","blobs_url":"https://api.github.com/repos/abought/exp-addons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abought/exp-addons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abought/exp-addons/git/refs{/sha}","trees_url":"https://api.github.com/repos/abought/exp-addons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abought/exp-addons/statuses/{sha}","languages_url":"https://api.github.com/repos/abought/exp-addons/languages","stargazers_url":"https://api.github.com/repos/abought/exp-addons/stargazers","contributors_url":"https://api.github.com/repos/abought/exp-addons/contributors","subscribers_url":"https://api.github.com/repos/abought/exp-addons/subscribers","subscription_url":"https://api.github.com/repos/abought/exp-addons/subscription","commits_url":"https://api.github.com/repos/abought/exp-addons/commits{/sha}","git_commits_url":"https://api.github.com/repos/abought/exp-addons/git/commits{/sha}","comments_url":"https://api.github.com/repos/abought/exp-addons/comments{/number}","issue_comment_url":"https://api.github.com/repos/abought/exp-addons/issues/comments{/number}","contents_url":"https://api.github.com/repos/abought/exp-addons/contents/{+path}","compare_url":"https://api.github.com/repos/abought/exp-addons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abought/exp-addons/merges","archive_url":"https://api.github.com/repos/abought/exp-addons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abought/exp-addons/downloads","issues_url":"https://api.github.com/repos/abought/exp-addons/issues{/number}","pulls_url":"https://api.github.com/repos/abought/exp-addons/pulls{/number}","milestones_url":"https://api.github.com/repos/abought/exp-addons/milestones{/number}","notifications_url":"https://api.github.com/repos/abought/exp-addons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abought/exp-addons/labels{/name}","releases_url":"https://api.github.com/repos/abought/exp-addons/releases{/id}","deployments_url":"https://api.github.com/repos/abought/exp-addons/deployments","created_at":"2016-02-04T21:47:54Z","updated_at":"2016-02-04T21:47:56Z","pushed_at":"2016-09-28T20:40:12Z","git_url":"git://github.com/abought/exp-addons.git","ssh_url":"git@github.com:abought/exp-addons.git","clone_url":"https://github.com/abought/exp-addons.git","svn_url":"https://github.com/abought/exp-addons","homepage":null,"size":889,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"develop"}},"base":{"label":"CenterForOpenScience:develop","ref":"develop","sha":"91ef8ab5b4aa36e0b40c8b4d77c5e17bfc4439e5","user":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"repo":{"id":50667950,"name":"exp-addons","full_name":"CenterForOpenScience/exp-addons","owner":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CenterForOpenScience/exp-addons","description":"","fork":false,"url":"https://api.github.com/repos/CenterForOpenScience/exp-addons","forks_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/forks","keys_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/teams","hooks_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/hooks","issue_events_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/issues/events{/number}","events_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/events","assignees_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/assignees{/user}","branches_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/branches{/branch}","tags_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/tags","blobs_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/git/refs{/sha}","trees_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/statuses/{sha}","languages_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/languages","stargazers_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/stargazers","contributors_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/contributors","subscribers_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/subscribers","subscription_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/subscription","commits_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/commits{/sha}","git_commits_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/git/commits{/sha}","comments_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/comments{/number}","issue_comment_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/issues/comments{/number}","contents_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/contents/{+path}","compare_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/merges","archive_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/downloads","issues_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/issues{/number}","pulls_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/pulls{/number}","milestones_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/milestones{/number}","notifications_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/labels{/name}","releases_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/releases{/id}","deployments_url":"https://api.github.com/repos/CenterForOpenScience/exp-addons/deployments","created_at":"2016-01-29T14:37:41Z","updated_at":"2016-02-04T20:45:23Z","pushed_at":"2016-09-28T20:48:39Z","git_url":"git://github.com/CenterForOpenScience/exp-addons.git","ssh_url":"git@github.com:CenterForOpenScience/exp-addons.git","clone_url":"https://github.com/CenterForOpenScience/exp-addons.git","svn_url":"https://github.com/CenterForOpenScience/exp-addons","homepage":null,"size":17632,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":4,"forks":10,"open_issues":4,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/CenterForOpenScience/exp-addons/pulls/150"},"html":{"href":"https://github.com/CenterForOpenScience/exp-addons/pull/150"},"issue":{"href":"https://api.github.com/repos/CenterForOpenScience/exp-addons/issues/150"},"comments":{"href":"https://api.github.com/repos/CenterForOpenScience/exp-addons/issues/150/comments"},"review_comments":{"href":"https://api.github.com/repos/CenterForOpenScience/exp-addons/pulls/150/comments"},"review_comment":{"href":"https://api.github.com/repos/CenterForOpenScience/exp-addons/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CenterForOpenScience/exp-addons/pulls/150/commits"},"statuses":{"href":"https://api.github.com/repos/CenterForOpenScience/exp-addons/statuses/cd9b7ba978b7eb5397950349fae60b94692db9cc"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":9,"additions":201,"deletions":107,"changed_files":4}}
{"actor":{"display_login":"abought"}}