{"action":"created","issue":{"url":"https://api.github.com/repos/ryanlecompte/weighted_randomizer/issues/1","repository_url":"https://api.github.com/repos/ryanlecompte/weighted_randomizer","labels_url":"https://api.github.com/repos/ryanlecompte/weighted_randomizer/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ryanlecompte/weighted_randomizer/issues/1/comments","events_url":"https://api.github.com/repos/ryanlecompte/weighted_randomizer/issues/1/events","html_url":"https://github.com/ryanlecompte/weighted_randomizer/issues/1","id":65090579,"node_id":"MDU6SXNzdWU2NTA5MDU3OQ==","number":1,"title":"Sample should be without replacement","user":{"login":"robbat2","id":373898,"node_id":"MDQ6VXNlcjM3Mzg5OA==","avatar_url":"https://avatars0.githubusercontent.com/u/373898?v=4","gravatar_id":"","url":"https://api.github.com/users/robbat2","html_url":"https://github.com/robbat2","followers_url":"https://api.github.com/users/robbat2/followers","following_url":"https://api.github.com/users/robbat2/following{/other_user}","gists_url":"https://api.github.com/users/robbat2/gists{/gist_id}","starred_url":"https://api.github.com/users/robbat2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbat2/subscriptions","organizations_url":"https://api.github.com/users/robbat2/orgs","repos_url":"https://api.github.com/users/robbat2/repos","events_url":"https://api.github.com/users/robbat2/events{/privacy}","received_events_url":"https://api.github.com/users/robbat2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2015-03-29T20:02:04Z","updated_at":"2018-10-26T16:21:30Z","closed_at":null,"author_association":"NONE","body":"The definition of sample is that it should be WITHOUT replacement.\nFrom the Rubydocs on Array#sample:\nThe elements are chosen by using random and unique indices into the array in order to ensure that an element doesn’t repeat itself unless the array already contained duplicate elements.\n"},"comment":{"url":"https://api.github.com/repos/ryanlecompte/weighted_randomizer/issues/comments/433464196","html_url":"https://github.com/ryanlecompte/weighted_randomizer/issues/1#issuecomment-433464196","issue_url":"https://api.github.com/repos/ryanlecompte/weighted_randomizer/issues/1","id":433464196,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzQ2NDE5Ng==","user":{"login":"jaysonvirissimo","id":1292454,"node_id":"MDQ6VXNlcjEyOTI0NTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1292454?v=4","gravatar_id":"","url":"https://api.github.com/users/jaysonvirissimo","html_url":"https://github.com/jaysonvirissimo","followers_url":"https://api.github.com/users/jaysonvirissimo/followers","following_url":"https://api.github.com/users/jaysonvirissimo/following{/other_user}","gists_url":"https://api.github.com/users/jaysonvirissimo/gists{/gist_id}","starred_url":"https://api.github.com/users/jaysonvirissimo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaysonvirissimo/subscriptions","organizations_url":"https://api.github.com/users/jaysonvirissimo/orgs","repos_url":"https://api.github.com/users/jaysonvirissimo/repos","events_url":"https://api.github.com/users/jaysonvirissimo/events{/privacy}","received_events_url":"https://api.github.com/users/jaysonvirissimo/received_events","type":"User","site_admin":false},"created_at":"2018-10-26T16:21:30Z","updated_at":"2018-10-26T16:21:30Z","author_association":"NONE","body":"@robbat2 I just made an [alternative to](https://github.com/jaysonvirissimo/weighted_list) `weighted_randomizer` partly to correct this issue."}}
{"actor":{"display_login":"jaysonvirissimo"}}