{"action":"created","issue":{"url":"https://api.github.com/repos/bkamins/SilverDecisions/issues/64","repository_url":"https://api.github.com/repos/bkamins/SilverDecisions","labels_url":"https://api.github.com/repos/bkamins/SilverDecisions/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/bkamins/SilverDecisions/issues/64/comments","events_url":"https://api.github.com/repos/bkamins/SilverDecisions/issues/64/events","html_url":"https://github.com/bkamins/SilverDecisions/issues/64","id":194561323,"number":64,"title":"Allow # parameter for specifying probability","user":{"login":"bkamins","id":6187170,"avatar_url":"https://avatars.githubusercontent.com/u/6187170?v=3","gravatar_id":"","url":"https://api.github.com/users/bkamins","html_url":"https://github.com/bkamins","followers_url":"https://api.github.com/users/bkamins/followers","following_url":"https://api.github.com/users/bkamins/following{/other_user}","gists_url":"https://api.github.com/users/bkamins/gists{/gist_id}","starred_url":"https://api.github.com/users/bkamins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkamins/subscriptions","organizations_url":"https://api.github.com/users/bkamins/orgs","repos_url":"https://api.github.com/users/bkamins/repos","events_url":"https://api.github.com/users/bkamins/events{/privacy}","received_events_url":"https://api.github.com/users/bkamins/received_events","type":"User","site_admin":false},"labels":[{"id":438930779,"url":"https://api.github.com/repos/bkamins/SilverDecisions/labels/bug","name":"bug","color":"ee0701","default":true},{"id":438930782,"url":"https://api.github.com/repos/bkamins/SilverDecisions/labels/needs%20docs","name":"needs docs","color":"128A0C","default":false}],"state":"open","locked":false,"assignee":{"login":"mwasiluk","id":1236142,"avatar_url":"https://avatars.githubusercontent.com/u/1236142?v=3","gravatar_id":"","url":"https://api.github.com/users/mwasiluk","html_url":"https://github.com/mwasiluk","followers_url":"https://api.github.com/users/mwasiluk/followers","following_url":"https://api.github.com/users/mwasiluk/following{/other_user}","gists_url":"https://api.github.com/users/mwasiluk/gists{/gist_id}","starred_url":"https://api.github.com/users/mwasiluk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwasiluk/subscriptions","organizations_url":"https://api.github.com/users/mwasiluk/orgs","repos_url":"https://api.github.com/users/mwasiluk/repos","events_url":"https://api.github.com/users/mwasiluk/events{/privacy}","received_events_url":"https://api.github.com/users/mwasiluk/received_events","type":"User","site_admin":false},"assignees":[{"login":"mwasiluk","id":1236142,"avatar_url":"https://avatars.githubusercontent.com/u/1236142?v=3","gravatar_id":"","url":"https://api.github.com/users/mwasiluk","html_url":"https://github.com/mwasiluk","followers_url":"https://api.github.com/users/mwasiluk/followers","following_url":"https://api.github.com/users/mwasiluk/following{/other_user}","gists_url":"https://api.github.com/users/mwasiluk/gists{/gist_id}","starred_url":"https://api.github.com/users/mwasiluk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwasiluk/subscriptions","organizations_url":"https://api.github.com/users/mwasiluk/orgs","repos_url":"https://api.github.com/users/mwasiluk/repos","events_url":"https://api.github.com/users/mwasiluk/events{/privacy}","received_events_url":"https://api.github.com/users/mwasiluk/received_events","type":"User","site_admin":false},{"login":"bkamins","id":6187170,"avatar_url":"https://avatars.githubusercontent.com/u/6187170?v=3","gravatar_id":"","url":"https://api.github.com/users/bkamins","html_url":"https://github.com/bkamins","followers_url":"https://api.github.com/users/bkamins/followers","following_url":"https://api.github.com/users/bkamins/following{/other_user}","gists_url":"https://api.github.com/users/bkamins/gists{/gist_id}","starred_url":"https://api.github.com/users/bkamins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkamins/subscriptions","organizations_url":"https://api.github.com/users/bkamins/orgs","repos_url":"https://api.github.com/users/bkamins/repos","events_url":"https://api.github.com/users/bkamins/events{/privacy}","received_events_url":"https://api.github.com/users/bkamins/received_events","type":"User","site_admin":false},{"login":"michaljakubczyk","id":22515038,"avatar_url":"https://avatars.githubusercontent.com/u/22515038?v=3","gravatar_id":"","url":"https://api.github.com/users/michaljakubczyk","html_url":"https://github.com/michaljakubczyk","followers_url":"https://api.github.com/users/michaljakubczyk/followers","following_url":"https://api.github.com/users/michaljakubczyk/following{/other_user}","gists_url":"https://api.github.com/users/michaljakubczyk/gists{/gist_id}","starred_url":"https://api.github.com/users/michaljakubczyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaljakubczyk/subscriptions","organizations_url":"https://api.github.com/users/michaljakubczyk/orgs","repos_url":"https://api.github.com/users/michaljakubczyk/repos","events_url":"https://api.github.com/users/michaljakubczyk/events{/privacy}","received_events_url":"https://api.github.com/users/michaljakubczyk/received_events","type":"User","site_admin":false},{"login":"annawier","id":23300430,"avatar_url":"https://avatars.githubusercontent.com/u/23300430?v=3","gravatar_id":"","url":"https://api.github.com/users/annawier","html_url":"https://github.com/annawier","followers_url":"https://api.github.com/users/annawier/followers","following_url":"https://api.github.com/users/annawier/following{/other_user}","gists_url":"https://api.github.com/users/annawier/gists{/gist_id}","starred_url":"https://api.github.com/users/annawier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annawier/subscriptions","organizations_url":"https://api.github.com/users/annawier/orgs","repos_url":"https://api.github.com/users/annawier/repos","events_url":"https://api.github.com/users/annawier/events{/privacy}","received_events_url":"https://api.github.com/users/annawier/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/bkamins/SilverDecisions/milestones/4","html_url":"https://github.com/bkamins/SilverDecisions/milestone/4","labels_url":"https://api.github.com/repos/bkamins/SilverDecisions/milestones/4/labels","id":2175378,"number":4,"title":"0.5","description":null,"creator":{"login":"bkamins","id":6187170,"avatar_url":"https://avatars.githubusercontent.com/u/6187170?v=3","gravatar_id":"","url":"https://api.github.com/users/bkamins","html_url":"https://github.com/bkamins","followers_url":"https://api.github.com/users/bkamins/followers","following_url":"https://api.github.com/users/bkamins/following{/other_user}","gists_url":"https://api.github.com/users/bkamins/gists{/gist_id}","starred_url":"https://api.github.com/users/bkamins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkamins/subscriptions","organizations_url":"https://api.github.com/users/bkamins/orgs","repos_url":"https://api.github.com/users/bkamins/repos","events_url":"https://api.github.com/users/bkamins/events{/privacy}","received_events_url":"https://api.github.com/users/bkamins/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2016-12-05T09:52:08Z","updated_at":"2016-12-09T10:25:04Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-12-09T10:25:04Z","updated_at":"2016-12-19T19:48:16Z","closed_at":null,"body":"Before #38 it would be good to have `#` as parameter for specifying probabilities. Usage is to make sure in a simple way that probabilities in a chance node add up to 1.\r\n\r\nHow it should work. Assume that we have chance node `C` and its child nodes `N1`, `N2`, `Nk`.\r\nWe allow that on some (including all and none) edges `C-Ni` instead of a proper number we have `#` as a single character.\r\n\r\nNow assume that we have *m* edges with `#` and sum of probabilities in all other edges (having proper numbers) is *p*.\r\n\r\nIf *p*>1 there should be an error `!!` by the chance node.\r\n\r\nIf *p*<=1 then in calculations each occurrence of `#` should be replaced by (1-*p*)/*m*.\r\n\r\nBy default when edges coming out of a chance node are created their probability should be filled with `#` (this is much better compared to what we have now).\r\n\r\nA result of calculation of `#` should be shown somewhere so that user knows how much `#` is in this chance node.\r\n\r\n**Caution!** When tree flipping #42 is used `#` should be replaced in calculation by a computed value. After tree flip we have only proper values in a tree."},"comment":{"url":"https://api.github.com/repos/bkamins/SilverDecisions/issues/comments/268060050","html_url":"https://github.com/bkamins/SilverDecisions/issues/64#issuecomment-268060050","issue_url":"https://api.github.com/repos/bkamins/SilverDecisions/issues/64","id":268060050,"user":{"login":"mwasiluk","id":1236142,"avatar_url":"https://avatars.githubusercontent.com/u/1236142?v=3","gravatar_id":"","url":"https://api.github.com/users/mwasiluk","html_url":"https://github.com/mwasiluk","followers_url":"https://api.github.com/users/mwasiluk/followers","following_url":"https://api.github.com/users/mwasiluk/following{/other_user}","gists_url":"https://api.github.com/users/mwasiluk/gists{/gist_id}","starred_url":"https://api.github.com/users/mwasiluk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwasiluk/subscriptions","organizations_url":"https://api.github.com/users/mwasiluk/orgs","repos_url":"https://api.github.com/users/mwasiluk/repos","events_url":"https://api.github.com/users/mwasiluk/events{/privacy}","received_events_url":"https://api.github.com/users/mwasiluk/received_events","type":"User","site_admin":false},"created_at":"2016-12-19T19:48:16Z","updated_at":"2016-12-19T19:48:16Z","body":"http://mathjs.org/docs/expressions/syntax.html"}}
{"actor":{"display_login":"mwasiluk"}}