{"action":"created","issue":{"url":"https://api.github.com/repos/nextic/IC/issues/521","repository_url":"https://api.github.com/repos/nextic/IC","labels_url":"https://api.github.com/repos/nextic/IC/issues/521/labels{/name}","comments_url":"https://api.github.com/repos/nextic/IC/issues/521/comments","events_url":"https://api.github.com/repos/nextic/IC/issues/521/events","html_url":"https://github.com/nextic/IC/issues/521","id":346339895,"node_id":"MDU6SXNzdWUzNDYzMzk4OTU=","number":521,"title":"test_mean_for_pmts_fee_is_unbiased  fails in python 3.6","user":{"login":"jjgomezcadenas","id":8070159,"node_id":"MDQ6VXNlcjgwNzAxNTk=","avatar_url":"https://avatars1.githubusercontent.com/u/8070159?v=4","gravatar_id":"","url":"https://api.github.com/users/jjgomezcadenas","html_url":"https://github.com/jjgomezcadenas","followers_url":"https://api.github.com/users/jjgomezcadenas/followers","following_url":"https://api.github.com/users/jjgomezcadenas/following{/other_user}","gists_url":"https://api.github.com/users/jjgomezcadenas/gists{/gist_id}","starred_url":"https://api.github.com/users/jjgomezcadenas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjgomezcadenas/subscriptions","organizations_url":"https://api.github.com/users/jjgomezcadenas/orgs","repos_url":"https://api.github.com/users/jjgomezcadenas/repos","events_url":"https://api.github.com/users/jjgomezcadenas/events{/privacy}","received_events_url":"https://api.github.com/users/jjgomezcadenas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-31T20:10:31Z","updated_at":"2018-07-31T20:46:28Z","closed_at":"2018-07-31T20:46:28Z","author_association":"COLLABORATOR","body":"@andLaing this test fails in python 3.6. It does not fail in python 3.7. Any idea of what's going on?\r\n\r\n______________________ test_mean_for_pmts_fee_is_unbiased ______________________\r\n\r\nsquare_pmt_and_sipm_waveforms = (5000, 5, array([[5000, 5000, 4995, ..., 5038, 5014, 4985],\r\n       [5000, 5000, 5003, ..., 5015, 5041, 5064],\r\n       [...4937, 4962],\r\n       [5000, 5000, 4996, ..., 4984, 4982, 4971],\r\n       [5000, 5000, 5005, ..., 4997, 4989, 4990]]), ...)\r\n\r\n    @flaky(max_runs=3)\r\n    def test_mean_for_pmts_fee_is_unbiased(square_pmt_and_sipm_waveforms):\r\n        _, _, pmts_fee, _, _, _, _ = square_pmt_and_sipm_waveforms\r\n        pmts_bls = csf.subtract_mean(pmts_fee) # ped subtracted near zero\r\n        sums     = np.sum(pmts_bls, axis=1)    # cancel fluctuations very close to zeo\r\n>       assert np.allclose(sums, 0)\r\nE       assert False\r\nE        +  where False = <function allclose at 0x10d09d400>(array([-5.00875555e+03, -5.00862713e+03, -2.09547579e-09, -5.82076609e-10,\\n       -4.13274392e-09]), 0)\r\nE        +    where <function allclose at 0x10d09d400> = np.allclose\r\n\r\ninvisible_cities/reco/calib_sensors_functions_test.py:252: AssertionError\r\n===Flaky Test Report==="},"comment":{"url":"https://api.github.com/repos/nextic/IC/issues/comments/409362069","html_url":"https://github.com/nextic/IC/issues/521#issuecomment-409362069","issue_url":"https://api.github.com/repos/nextic/IC/issues/521","id":409362069,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTM2MjA2OQ==","user":{"login":"jjgomezcadenas","id":8070159,"node_id":"MDQ6VXNlcjgwNzAxNTk=","avatar_url":"https://avatars1.githubusercontent.com/u/8070159?v=4","gravatar_id":"","url":"https://api.github.com/users/jjgomezcadenas","html_url":"https://github.com/jjgomezcadenas","followers_url":"https://api.github.com/users/jjgomezcadenas/followers","following_url":"https://api.github.com/users/jjgomezcadenas/following{/other_user}","gists_url":"https://api.github.com/users/jjgomezcadenas/gists{/gist_id}","starred_url":"https://api.github.com/users/jjgomezcadenas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjgomezcadenas/subscriptions","organizations_url":"https://api.github.com/users/jjgomezcadenas/orgs","repos_url":"https://api.github.com/users/jjgomezcadenas/repos","events_url":"https://api.github.com/users/jjgomezcadenas/events{/privacy}","received_events_url":"https://api.github.com/users/jjgomezcadenas/received_events","type":"User","site_admin":false},"created_at":"2018-07-31T20:46:28Z","updated_at":"2018-07-31T20:46:28Z","author_association":"COLLABORATOR","body":"Turns out that the problem seems to have been related with updating of the data base. With the last update things work well in python 3.6 and python 3.7"}}
{"actor":{"display_login":"jjgomezcadenas"}}