{"action":"closed","issue":{"url":"https://api.github.com/repos/iit-cs579/main/issues/206","repository_url":"https://api.github.com/repos/iit-cs579/main","labels_url":"https://api.github.com/repos/iit-cs579/main/issues/206/labels{/name}","comments_url":"https://api.github.com/repos/iit-cs579/main/issues/206/comments","events_url":"https://api.github.com/repos/iit-cs579/main/issues/206/events","html_url":"https://github.com/iit-cs579/main/issues/206","id":180415437,"number":206,"title":"approximate_betweenness output changes on every run","user":{"login":"vinits91","id":10628262,"avatar_url":"https://avatars.githubusercontent.com/u/10628262?v=3","gravatar_id":"","url":"https://api.github.com/users/vinits91","html_url":"https://github.com/vinits91","followers_url":"https://api.github.com/users/vinits91/followers","following_url":"https://api.github.com/users/vinits91/following{/other_user}","gists_url":"https://api.github.com/users/vinits91/gists{/gist_id}","starred_url":"https://api.github.com/users/vinits91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinits91/subscriptions","organizations_url":"https://api.github.com/users/vinits91/orgs","repos_url":"https://api.github.com/users/vinits91/repos","events_url":"https://api.github.com/users/vinits91/events{/privacy}","received_events_url":"https://api.github.com/users/vinits91/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-30T22:29:48Z","updated_at":"2016-10-01T23:32:10Z","closed_at":"2016-10-01T23:32:10Z","body":"my test cases for bfs and bottom up passed successfully, but when I am summing the output returned by bottom-up for each max depth and created a Default Dictionary of an edge with value, the dictionary is changing on each run, giving different value of approximate_betweenness on each run.\r\n\r\nOutput of 1st execution:\r\n [(('A', 'B'), 1.0), (('A', 'C'), 0.75), (('B', 'C'), 1.0), (('B', 'D'), 2.4921875), (('D', 'E'), 1.25), (('D', 'F'), 1.125), (('D', 'G'), 1.0), (('E', 'F'), 1.0625), (('F', 'G'), 0.6875)]\r\n\r\n Output of 2nd execution:\r\n[(('A', 'B'), 1.125), (('A', 'C'), 0.75), (('B', 'C'), 1.125), (('B', 'D'), 2.03125), (('D', 'E'), 1.0), (('D', 'F'), 0.875), (('D', 'G'), 1.25), (('E', 'F'), 0.8125), (('F', 'G'), 0.9375)]\r\n\r\nPlease help."}}
{"actor":{"display_login":"vinits91"}}