{"action":"created","issue":{"url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/issues/144","labels_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/issues/144/comments","events_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/issues/144/events","html_url":"https://github.com/CartoDB/cartodb-postgresql/issues/144","id":105611364,"number":144,"title":"CDB_StatsTest.sql test failing randomly","user":{"login":"rochoa","id":45346,"avatar_url":"https://avatars.githubusercontent.com/u/45346?v=3","gravatar_id":"","url":"https://api.github.com/users/rochoa","html_url":"https://github.com/rochoa","followers_url":"https://api.github.com/users/rochoa/followers","following_url":"https://api.github.com/users/rochoa/following{/other_user}","gists_url":"https://api.github.com/users/rochoa/gists{/gist_id}","starred_url":"https://api.github.com/users/rochoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rochoa/subscriptions","organizations_url":"https://api.github.com/users/rochoa/orgs","repos_url":"https://api.github.com/users/rochoa/repos","events_url":"https://api.github.com/users/rochoa/events{/privacy}","received_events_url":"https://api.github.com/users/rochoa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"ohasselblad","id":1041056,"avatar_url":"https://avatars.githubusercontent.com/u/1041056?v=3","gravatar_id":"","url":"https://api.github.com/users/ohasselblad","html_url":"https://github.com/ohasselblad","followers_url":"https://api.github.com/users/ohasselblad/followers","following_url":"https://api.github.com/users/ohasselblad/following{/other_user}","gists_url":"https://api.github.com/users/ohasselblad/gists{/gist_id}","starred_url":"https://api.github.com/users/ohasselblad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ohasselblad/subscriptions","organizations_url":"https://api.github.com/users/ohasselblad/orgs","repos_url":"https://api.github.com/users/ohasselblad/repos","events_url":"https://api.github.com/users/ohasselblad/events{/privacy}","received_events_url":"https://api.github.com/users/ohasselblad/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/milestones/9","html_url":"https://github.com/CartoDB/cartodb-postgresql/milestones/Torrelodones","labels_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/milestones/9/labels","id":1265885,"number":9,"title":"Torrelodones","description":"","creator":{"login":"juanignaciosl","id":932968,"avatar_url":"https://avatars.githubusercontent.com/u/932968?v=3","gravatar_id":"","url":"https://api.github.com/users/juanignaciosl","html_url":"https://github.com/juanignaciosl","followers_url":"https://api.github.com/users/juanignaciosl/followers","following_url":"https://api.github.com/users/juanignaciosl/following{/other_user}","gists_url":"https://api.github.com/users/juanignaciosl/gists{/gist_id}","starred_url":"https://api.github.com/users/juanignaciosl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juanignaciosl/subscriptions","organizations_url":"https://api.github.com/users/juanignaciosl/orgs","repos_url":"https://api.github.com/users/juanignaciosl/repos","events_url":"https://api.github.com/users/juanignaciosl/events{/privacy}","received_events_url":"https://api.github.com/users/juanignaciosl/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":7,"state":"open","created_at":"2015-08-21T07:08:27Z","updated_at":"2015-09-09T14:41:41Z","due_on":"2015-09-15T22:00:00Z","closed_at":null},"comments":4,"created_at":"2015-09-09T14:41:41Z","updated_at":"2015-09-09T15:10:20Z","closed_at":null,"body":"Hey @ohasselblad \r\n\r\nThe recently created test for CDB_Kurtosis and CDB_Skewness fails randomly, probably because random() distribution is not good enough with the number of elements we are using in that test.\r\n\r\nDo you think we can use another synthetic input for the tests?\r\n\r\nWe could use tablefunc extension just for the test to use a normal distribution with [`normal_rand(int numvals, float8 mean, float8 stddev)`](http://www.postgresql.org/docs/9.3/static/tablefunc.html#AEN156601)."},"comment":{"url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/issues/comments/138942011","html_url":"https://github.com/CartoDB/cartodb-postgresql/issues/144#issuecomment-138942011","issue_url":"https://api.github.com/repos/CartoDB/cartodb-postgresql/issues/144","id":138942011,"user":{"login":"rochoa","id":45346,"avatar_url":"https://avatars.githubusercontent.com/u/45346?v=3","gravatar_id":"","url":"https://api.github.com/users/rochoa","html_url":"https://github.com/rochoa","followers_url":"https://api.github.com/users/rochoa/followers","following_url":"https://api.github.com/users/rochoa/following{/other_user}","gists_url":"https://api.github.com/users/rochoa/gists{/gist_id}","starred_url":"https://api.github.com/users/rochoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rochoa/subscriptions","organizations_url":"https://api.github.com/users/rochoa/orgs","repos_url":"https://api.github.com/users/rochoa/repos","events_url":"https://api.github.com/users/rochoa/events{/privacy}","received_events_url":"https://api.github.com/users/rochoa/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T15:10:20Z","updated_at":"2015-09-09T15:10:20Z","body":"Thanks for the help @ohasselblad !!\r\n\r\nPR ready, will merge it once tests go green."}}