payload: {"action":"created","issue":{"url":"https://api.github.com/repos/RoyalTS/stochatreat/issues/7","repository_url":"https://api.github.com/repos/RoyalTS/stochatreat","labels_url":"https://api.github.com/repos/RoyalTS/stochatreat/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/RoyalTS/stochatreat/issues/7/comments","events_url":"https://api.github.com/repos/RoyalTS/stochatreat/issues/7/events","html_url":"https://github.com/RoyalTS/stochatreat/pull/7","id":466964284,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjk2NzA4OTA0","number":7,"title":"Issue 2 - Change the logic of assignments avoiding split with misfits","user":{"login":"redouane-dziri","id":43621485,"node_id":"MDQ6VXNlcjQzNjIxNDg1","avatar_url":"https://avatars3.githubusercontent.com/u/43621485?v=4","gravatar_id":"","url":"https://api.github.com/users/redouane-dziri","html_url":"https://github.com/redouane-dziri","followers_url":"https://api.github.com/users/redouane-dziri/followers","following_url":"https://api.github.com/users/redouane-dziri/following{/other_user}","gists_url":"https://api.github.com/users/redouane-dziri/gists{/gist_id}","starred_url":"https://api.github.com/users/redouane-dziri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redouane-dziri/subscriptions","organizations_url":"https://api.github.com/users/redouane-dziri/orgs","repos_url":"https://api.github.com/users/redouane-dziri/repos","events_url":"https://api.github.com/users/redouane-dziri/events{/privacy}","received_events_url":"https://api.github.com/users/redouane-dziri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2019-07-11T15:31:27Z","updated_at":"2019-07-16T17:37:15Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/RoyalTS/stochatreat/pulls/7","html_url":"https://github.com/RoyalTS/stochatreat/pull/7","diff_url":"https://github.com/RoyalTS/stochatreat/pull/7.diff","patch_url":"https://github.com/RoyalTS/stochatreat/pull/7.patch"},"body":"This changes the function quite a bit and I'm not 100 % sure that's where you would want to go. The size of the groups is more subject to variation I feel than previously, do you want a more deterministic approach? \r\ne.g. using \r\n```\r\ncluster_treatments = np.array([idx * int(probs[idx] * size_of_cluster) for idx in range(treats)])\r\nnp.random.shuffle(cluster_treatments)\r\nslize[\"treats\"] = cluster_treatments \r\n```\r\nin the loop?"},"comment":{"url":"https://api.github.com/repos/RoyalTS/stochatreat/issues/comments/511914278","html_url":"https://github.com/RoyalTS/stochatreat/pull/7#issuecomment-511914278","issue_url":"https://api.github.com/repos/RoyalTS/stochatreat/issues/7","id":511914278,"node_id":"MDEyOklzc3VlQ29tbWVudDUxMTkxNDI3OA==","user":{"login":"redouane-dziri","id":43621485,"node_id":"MDQ6VXNlcjQzNjIxNDg1","avatar_url":"https://avatars3.githubusercontent.com/u/43621485?v=4","gravatar_id":"","url":"https://api.github.com/users/redouane-dziri","html_url":"https://github.com/redouane-dziri","followers_url":"https://api.github.com/users/redouane-dziri/followers","following_url":"https://api.github.com/users/redouane-dziri/following{/other_user}","gists_url":"https://api.github.com/users/redouane-dziri/gists{/gist_id}","starred_url":"https://api.github.com/users/redouane-dziri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redouane-dziri/subscriptions","organizations_url":"https://api.github.com/users/redouane-dziri/orgs","repos_url":"https://api.github.com/users/redouane-dziri/repos","events_url":"https://api.github.com/users/redouane-dziri/events{/privacy}","received_events_url":"https://api.github.com/users/redouane-dziri/received_events","type":"User","site_admin":false},"created_at":"2019-07-16T17:37:15Z","updated_at":"2019-07-16T17:37:15Z","author_association":"COLLABORATOR","body":"Yes"}}
other: {"actor":{"display_login":"redouane-dziri"}}