{"action":"created","issue":{"url":"https://api.github.com/repos/Haacked/Scientist.net/issues/12","repository_url":"https://api.github.com/repos/Haacked/Scientist.net","labels_url":"https://api.github.com/repos/Haacked/Scientist.net/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/Haacked/Scientist.net/issues/12/comments","events_url":"https://api.github.com/repos/Haacked/Scientist.net/issues/12/events","html_url":"https://github.com/Haacked/Scientist.net/issues/12","id":131743659,"number":12,"title":"Use PcgRandom instead of System.Random","user":{"login":"bgrainger","id":188129,"avatar_url":"https://avatars.githubusercontent.com/u/188129?v=3","gravatar_id":"","url":"https://api.github.com/users/bgrainger","html_url":"https://github.com/bgrainger","followers_url":"https://api.github.com/users/bgrainger/followers","following_url":"https://api.github.com/users/bgrainger/following{/other_user}","gists_url":"https://api.github.com/users/bgrainger/gists{/gist_id}","starred_url":"https://api.github.com/users/bgrainger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgrainger/subscriptions","organizations_url":"https://api.github.com/users/bgrainger/orgs","repos_url":"https://api.github.com/users/bgrainger/repos","events_url":"https://api.github.com/users/bgrainger/events{/privacy}","received_events_url":"https://api.github.com/users/bgrainger/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2016-02-05T20:09:41Z","updated_at":"2016-02-25T06:22:09Z","closed_at":"2016-02-25T06:21:56Z","body":"[Line 13 of Scientist.cs](https://github.com/Haacked/Scientist.net/blob/dc8bbf5c1c7efad694335fe3bc6f00d0d5b8c925/src/Scientist/Scientist.cs#L13) says:\r\n\r\n```\r\n// TODO: Evaluate the distribution of Random and whether it's good enough.\r\n```\r\n\r\nPcgRandom ([NuGet](https://www.nuget.org/packages/PcgRandom), [GitHub](https://github.com/bgrainger/PcgRandom)) is a .NET port of the [PCG](http://www.pcg-random.org/) RNG algorithm. It's a drop-in replacement for `System.Random` that provides a high-quality PRNG.\r\n\r\nIf you're interested, I can submit a PR; just let me know. (I'd also fix the thread-safety bug in `Experiment.cs`; a `static` Random instance could be accessed simultaneously by multiple threads, but [it's not thread-safe](https://msdn.microsoft.com/en-us/library/system.random.aspx#ThreadSafety), and doing so can corrupt its internal state.)"},"comment":{"url":"https://api.github.com/repos/Haacked/Scientist.net/issues/comments/188633045","html_url":"https://github.com/Haacked/Scientist.net/issues/12#issuecomment-188633045","issue_url":"https://api.github.com/repos/Haacked/Scientist.net/issues/12","id":188633045,"user":{"login":"MovGP0","id":83339,"avatar_url":"https://avatars.githubusercontent.com/u/83339?v=3","gravatar_id":"","url":"https://api.github.com/users/MovGP0","html_url":"https://github.com/MovGP0","followers_url":"https://api.github.com/users/MovGP0/followers","following_url":"https://api.github.com/users/MovGP0/following{/other_user}","gists_url":"https://api.github.com/users/MovGP0/gists{/gist_id}","starred_url":"https://api.github.com/users/MovGP0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MovGP0/subscriptions","organizations_url":"https://api.github.com/users/MovGP0/orgs","repos_url":"https://api.github.com/users/MovGP0/repos","events_url":"https://api.github.com/users/MovGP0/events{/privacy}","received_events_url":"https://api.github.com/users/MovGP0/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T06:22:09Z","updated_at":"2016-02-25T06:22:09Z","body":"oh i see. thanks for checking 😃 "}}