{"action":"opened","number":192,"pull_request":{"url":"https://api.github.com/repos/seatgeek/sixpack/pulls/192","id":42341819,"html_url":"https://github.com/seatgeek/sixpack/pull/192","diff_url":"https://github.com/seatgeek/sixpack/pull/192.diff","patch_url":"https://github.com/seatgeek/sixpack/pull/192.patch","issue_url":"https://api.github.com/repos/seatgeek/sixpack/issues/192","number":192,"state":"open","locked":false,"title":"allow traffic fraction to change in mid-flight","user":{"login":"nickveenhof","id":161341,"avatar_url":"https://avatars.githubusercontent.com/u/161341?v=3","gravatar_id":"","url":"https://api.github.com/users/nickveenhof","html_url":"https://github.com/nickveenhof","followers_url":"https://api.github.com/users/nickveenhof/followers","following_url":"https://api.github.com/users/nickveenhof/following{/other_user}","gists_url":"https://api.github.com/users/nickveenhof/gists{/gist_id}","starred_url":"https://api.github.com/users/nickveenhof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickveenhof/subscriptions","organizations_url":"https://api.github.com/users/nickveenhof/orgs","repos_url":"https://api.github.com/users/nickveenhof/repos","events_url":"https://api.github.com/users/nickveenhof/events{/privacy}","received_events_url":"https://api.github.com/users/nickveenhof/received_events","type":"User","site_admin":false},"body":"This is regarding issue #191 and allows to change the traffic fraction during a running experiment. It also changes the way the save method works so that needs a careful review. Only when a experiment is new it is allowed to change everything, such as the variations. When the variations change and the experiment calls the save() method it should not have any effect and protect itself against invalid data in the database. If this would happen, the variations would be added twice.","created_at":"2015-08-13T11:53:13Z","updated_at":"2015-08-13T11:53:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/seatgeek/sixpack/pulls/192/commits","review_comments_url":"https://api.github.com/repos/seatgeek/sixpack/pulls/192/comments","review_comment_url":"https://api.github.com/repos/seatgeek/sixpack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/seatgeek/sixpack/issues/192/comments","statuses_url":"https://api.github.com/repos/seatgeek/sixpack/statuses/7c1aec208189b2f578400afc7894776d9e145471","head":{"label":"nickveenhof:sixpack-191","ref":"sixpack-191","sha":"7c1aec208189b2f578400afc7894776d9e145471","user":{"login":"nickveenhof","id":161341,"avatar_url":"https://avatars.githubusercontent.com/u/161341?v=3","gravatar_id":"","url":"https://api.github.com/users/nickveenhof","html_url":"https://github.com/nickveenhof","followers_url":"https://api.github.com/users/nickveenhof/followers","following_url":"https://api.github.com/users/nickveenhof/following{/other_user}","gists_url":"https://api.github.com/users/nickveenhof/gists{/gist_id}","starred_url":"https://api.github.com/users/nickveenhof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickveenhof/subscriptions","organizations_url":"https://api.github.com/users/nickveenhof/orgs","repos_url":"https://api.github.com/users/nickveenhof/repos","events_url":"https://api.github.com/users/nickveenhof/events{/privacy}","received_events_url":"https://api.github.com/users/nickveenhof/received_events","type":"User","site_admin":false},"repo":{"id":40122710,"name":"sixpack","full_name":"nickveenhof/sixpack","owner":{"login":"nickveenhof","id":161341,"avatar_url":"https://avatars.githubusercontent.com/u/161341?v=3","gravatar_id":"","url":"https://api.github.com/users/nickveenhof","html_url":"https://github.com/nickveenhof","followers_url":"https://api.github.com/users/nickveenhof/followers","following_url":"https://api.github.com/users/nickveenhof/following{/other_user}","gists_url":"https://api.github.com/users/nickveenhof/gists{/gist_id}","starred_url":"https://api.github.com/users/nickveenhof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickveenhof/subscriptions","organizations_url":"https://api.github.com/users/nickveenhof/orgs","repos_url":"https://api.github.com/users/nickveenhof/repos","events_url":"https://api.github.com/users/nickveenhof/events{/privacy}","received_events_url":"https://api.github.com/users/nickveenhof/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nickveenhof/sixpack","description":"Sixpack is a language-agnostic a/b-testing framework","fork":true,"url":"https://api.github.com/repos/nickveenhof/sixpack","forks_url":"https://api.github.com/repos/nickveenhof/sixpack/forks","keys_url":"https://api.github.com/repos/nickveenhof/sixpack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nickveenhof/sixpack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nickveenhof/sixpack/teams","hooks_url":"https://api.github.com/repos/nickveenhof/sixpack/hooks","issue_events_url":"https://api.github.com/repos/nickveenhof/sixpack/issues/events{/number}","events_url":"https://api.github.com/repos/nickveenhof/sixpack/events","assignees_url":"https://api.github.com/repos/nickveenhof/sixpack/assignees{/user}","branches_url":"https://api.github.com/repos/nickveenhof/sixpack/branches{/branch}","tags_url":"https://api.github.com/repos/nickveenhof/sixpack/tags","blobs_url":"https://api.github.com/repos/nickveenhof/sixpack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nickveenhof/sixpack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nickveenhof/sixpack/git/refs{/sha}","trees_url":"https://api.github.com/repos/nickveenhof/sixpack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nickveenhof/sixpack/statuses/{sha}","languages_url":"https://api.github.com/repos/nickveenhof/sixpack/languages","stargazers_url":"https://api.github.com/repos/nickveenhof/sixpack/stargazers","contributors_url":"https://api.github.com/repos/nickveenhof/sixpack/contributors","subscribers_url":"https://api.github.com/repos/nickveenhof/sixpack/subscribers","subscription_url":"https://api.github.com/repos/nickveenhof/sixpack/subscription","commits_url":"https://api.github.com/repos/nickveenhof/sixpack/commits{/sha}","git_commits_url":"https://api.github.com/repos/nickveenhof/sixpack/git/commits{/sha}","comments_url":"https://api.github.com/repos/nickveenhof/sixpack/comments{/number}","issue_comment_url":"https://api.github.com/repos/nickveenhof/sixpack/issues/comments{/number}","contents_url":"https://api.github.com/repos/nickveenhof/sixpack/contents/{+path}","compare_url":"https://api.github.com/repos/nickveenhof/sixpack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nickveenhof/sixpack/merges","archive_url":"https://api.github.com/repos/nickveenhof/sixpack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nickveenhof/sixpack/downloads","issues_url":"https://api.github.com/repos/nickveenhof/sixpack/issues{/number}","pulls_url":"https://api.github.com/repos/nickveenhof/sixpack/pulls{/number}","milestones_url":"https://api.github.com/repos/nickveenhof/sixpack/milestones{/number}","notifications_url":"https://api.github.com/repos/nickveenhof/sixpack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nickveenhof/sixpack/labels{/name}","releases_url":"https://api.github.com/repos/nickveenhof/sixpack/releases{/id}","created_at":"2015-08-03T12:08:46Z","updated_at":"2015-08-03T12:08:47Z","pushed_at":"2015-08-13T11:49:07Z","git_url":"git://github.com/nickveenhof/sixpack.git","ssh_url":"git@github.com:nickveenhof/sixpack.git","clone_url":"https://github.com/nickveenhof/sixpack.git","svn_url":"https://github.com/nickveenhof/sixpack","homepage":"http://sixpack.seatgeek.com","size":2525,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"seatgeek:master","ref":"master","sha":"ff811e071b5c8fa91b64ba994d01b8888d395e0d","user":{"login":"seatgeek","id":447527,"avatar_url":"https://avatars.githubusercontent.com/u/447527?v=3","gravatar_id":"","url":"https://api.github.com/users/seatgeek","html_url":"https://github.com/seatgeek","followers_url":"https://api.github.com/users/seatgeek/followers","following_url":"https://api.github.com/users/seatgeek/following{/other_user}","gists_url":"https://api.github.com/users/seatgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/seatgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seatgeek/subscriptions","organizations_url":"https://api.github.com/users/seatgeek/orgs","repos_url":"https://api.github.com/users/seatgeek/repos","events_url":"https://api.github.com/users/seatgeek/events{/privacy}","received_events_url":"https://api.github.com/users/seatgeek/received_events","type":"Organization","site_admin":false},"repo":{"id":6697085,"name":"sixpack","full_name":"seatgeek/sixpack","owner":{"login":"seatgeek","id":447527,"avatar_url":"https://avatars.githubusercontent.com/u/447527?v=3","gravatar_id":"","url":"https://api.github.com/users/seatgeek","html_url":"https://github.com/seatgeek","followers_url":"https://api.github.com/users/seatgeek/followers","following_url":"https://api.github.com/users/seatgeek/following{/other_user}","gists_url":"https://api.github.com/users/seatgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/seatgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seatgeek/subscriptions","organizations_url":"https://api.github.com/users/seatgeek/orgs","repos_url":"https://api.github.com/users/seatgeek/repos","events_url":"https://api.github.com/users/seatgeek/events{/privacy}","received_events_url":"https://api.github.com/users/seatgeek/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/seatgeek/sixpack","description":"Sixpack is a language-agnostic a/b-testing framework","fork":false,"url":"https://api.github.com/repos/seatgeek/sixpack","forks_url":"https://api.github.com/repos/seatgeek/sixpack/forks","keys_url":"https://api.github.com/repos/seatgeek/sixpack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seatgeek/sixpack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seatgeek/sixpack/teams","hooks_url":"https://api.github.com/repos/seatgeek/sixpack/hooks","issue_events_url":"https://api.github.com/repos/seatgeek/sixpack/issues/events{/number}","events_url":"https://api.github.com/repos/seatgeek/sixpack/events","assignees_url":"https://api.github.com/repos/seatgeek/sixpack/assignees{/user}","branches_url":"https://api.github.com/repos/seatgeek/sixpack/branches{/branch}","tags_url":"https://api.github.com/repos/seatgeek/sixpack/tags","blobs_url":"https://api.github.com/repos/seatgeek/sixpack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seatgeek/sixpack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seatgeek/sixpack/git/refs{/sha}","trees_url":"https://api.github.com/repos/seatgeek/sixpack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seatgeek/sixpack/statuses/{sha}","languages_url":"https://api.github.com/repos/seatgeek/sixpack/languages","stargazers_url":"https://api.github.com/repos/seatgeek/sixpack/stargazers","contributors_url":"https://api.github.com/repos/seatgeek/sixpack/contributors","subscribers_url":"https://api.github.com/repos/seatgeek/sixpack/subscribers","subscription_url":"https://api.github.com/repos/seatgeek/sixpack/subscription","commits_url":"https://api.github.com/repos/seatgeek/sixpack/commits{/sha}","git_commits_url":"https://api.github.com/repos/seatgeek/sixpack/git/commits{/sha}","comments_url":"https://api.github.com/repos/seatgeek/sixpack/comments{/number}","issue_comment_url":"https://api.github.com/repos/seatgeek/sixpack/issues/comments{/number}","contents_url":"https://api.github.com/repos/seatgeek/sixpack/contents/{+path}","compare_url":"https://api.github.com/repos/seatgeek/sixpack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seatgeek/sixpack/merges","archive_url":"https://api.github.com/repos/seatgeek/sixpack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seatgeek/sixpack/downloads","issues_url":"https://api.github.com/repos/seatgeek/sixpack/issues{/number}","pulls_url":"https://api.github.com/repos/seatgeek/sixpack/pulls{/number}","milestones_url":"https://api.github.com/repos/seatgeek/sixpack/milestones{/number}","notifications_url":"https://api.github.com/repos/seatgeek/sixpack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seatgeek/sixpack/labels{/name}","releases_url":"https://api.github.com/repos/seatgeek/sixpack/releases{/id}","created_at":"2012-11-15T00:01:06Z","updated_at":"2015-08-13T05:55:56Z","pushed_at":"2015-08-13T11:53:13Z","git_url":"git://github.com/seatgeek/sixpack.git","ssh_url":"git@github.com:seatgeek/sixpack.git","clone_url":"https://github.com/seatgeek/sixpack.git","svn_url":"https://github.com/seatgeek/sixpack","homepage":"http://sixpack.seatgeek.com","size":4281,"stargazers_count":880,"watchers_count":880,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":85,"mirror_url":null,"open_issues_count":49,"forks":85,"open_issues":49,"watchers":880,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/seatgeek/sixpack/pulls/192"},"html":{"href":"https://github.com/seatgeek/sixpack/pull/192"},"issue":{"href":"https://api.github.com/repos/seatgeek/sixpack/issues/192"},"comments":{"href":"https://api.github.com/repos/seatgeek/sixpack/issues/192/comments"},"review_comments":{"href":"https://api.github.com/repos/seatgeek/sixpack/pulls/192/comments"},"review_comment":{"href":"https://api.github.com/repos/seatgeek/sixpack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/seatgeek/sixpack/pulls/192/commits"},"statuses":{"href":"https://api.github.com/repos/seatgeek/sixpack/statuses/7c1aec208189b2f578400afc7894776d9e145471"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":16,"deletions":17,"changed_files":2}}