{"action":"created","issue":{"url":"https://api.github.com/repos/openturns/openturns/issues/850","repository_url":"https://api.github.com/repos/openturns/openturns","labels_url":"https://api.github.com/repos/openturns/openturns/issues/850/labels{/name}","comments_url":"https://api.github.com/repos/openturns/openturns/issues/850/comments","events_url":"https://api.github.com/repos/openturns/openturns/issues/850/events","html_url":"https://github.com/openturns/openturns/pull/850","id":362979900,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3NTMyODY2","number":850,"title":"Fix DirectionalSampling instability","user":{"login":"regislebrun","id":8220933,"node_id":"MDQ6VXNlcjgyMjA5MzM=","avatar_url":"https://avatars0.githubusercontent.com/u/8220933?v=4","gravatar_id":"","url":"https://api.github.com/users/regislebrun","html_url":"https://github.com/regislebrun","followers_url":"https://api.github.com/users/regislebrun/followers","following_url":"https://api.github.com/users/regislebrun/following{/other_user}","gists_url":"https://api.github.com/users/regislebrun/gists{/gist_id}","starred_url":"https://api.github.com/users/regislebrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/regislebrun/subscriptions","organizations_url":"https://api.github.com/users/regislebrun/orgs","repos_url":"https://api.github.com/users/regislebrun/repos","events_url":"https://api.github.com/users/regislebrun/events{/privacy}","received_events_url":"https://api.github.com/users/regislebrun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-09-23T21:41:55Z","updated_at":"2018-09-25T09:53:53Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/openturns/openturns/pulls/850","html_url":"https://github.com/openturns/openturns/pull/850","diff_url":"https://github.com/openturns/openturns/pull/850.diff","patch_url":"https://github.com/openturns/openturns/pull/850.patch"},"body":"  * When the origin is on the boundary of the event, it was impossible to make a difference between rays fully contained in the event and rays fully outside of the event, resulting in a wrong probability estimate. Now, the stability of the origin classification wrt the event is checked and the standard function is slightly modified if the origin is unstable.\r\n  * Now the variance or the coefficient of variation are returned as a zero if the probability estimate is in (0, 1) and as not changed during at least two iterations. It allows to stop algorithms such as DirectionalSampling when each block gives the same contribution in (0, 1). This behavior can be deactivated through the 'ProbabilitySimulationResult' key of ResourceMap.\r\n"},"comment":{"url":"https://api.github.com/repos/openturns/openturns/issues/comments/424279498","html_url":"https://github.com/openturns/openturns/pull/850#issuecomment-424279498","issue_url":"https://api.github.com/repos/openturns/openturns/issues/850","id":424279498,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDI3OTQ5OA==","user":{"login":"jschueller","id":3832365,"node_id":"MDQ6VXNlcjM4MzIzNjU=","avatar_url":"https://avatars2.githubusercontent.com/u/3832365?v=4","gravatar_id":"","url":"https://api.github.com/users/jschueller","html_url":"https://github.com/jschueller","followers_url":"https://api.github.com/users/jschueller/followers","following_url":"https://api.github.com/users/jschueller/following{/other_user}","gists_url":"https://api.github.com/users/jschueller/gists{/gist_id}","starred_url":"https://api.github.com/users/jschueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jschueller/subscriptions","organizations_url":"https://api.github.com/users/jschueller/orgs","repos_url":"https://api.github.com/users/jschueller/repos","events_url":"https://api.github.com/users/jschueller/events{/privacy}","received_events_url":"https://api.github.com/users/jschueller/received_events","type":"User","site_admin":false},"created_at":"2018-09-25T09:53:53Z","updated_at":"2018-09-25T09:53:53Z","author_association":"CONTRIBUTOR","body":"Needs a rebase"}}
{"actor":{"display_login":"jschueller"}}