{"action":"created","issue":{"url":"https://api.github.com/repos/mibk/dupl/issues/15","repository_url":"https://api.github.com/repos/mibk/dupl","labels_url":"https://api.github.com/repos/mibk/dupl/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/mibk/dupl/issues/15/comments","events_url":"https://api.github.com/repos/mibk/dupl/issues/15/events","html_url":"https://github.com/mibk/dupl/issues/15","id":176421791,"number":15,"title":"Why is the output non-deterministic?","user":{"login":"jmunson","id":170709,"avatar_url":"https://avatars.githubusercontent.com/u/170709?v=3","gravatar_id":"","url":"https://api.github.com/users/jmunson","html_url":"https://github.com/jmunson","followers_url":"https://api.github.com/users/jmunson/followers","following_url":"https://api.github.com/users/jmunson/following{/other_user}","gists_url":"https://api.github.com/users/jmunson/gists{/gist_id}","starred_url":"https://api.github.com/users/jmunson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmunson/subscriptions","organizations_url":"https://api.github.com/users/jmunson/orgs","repos_url":"https://api.github.com/users/jmunson/repos","events_url":"https://api.github.com/users/jmunson/events{/privacy}","received_events_url":"https://api.github.com/users/jmunson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-12T16:30:50Z","updated_at":"2016-09-12T19:25:05Z","closed_at":null,"body":"I've found that running dupl on the same codebase multiple times produces different results. I'm not sure why this would be the case, any ideas?\r\n\r\nHeres some examples to demonstrate what I mean:\r\n\r\n```bash\r\n>for i in $(seq 1 100);do dupl ~/go/src/github.com/spf13/cobra/ |grep Found;done  |sort |uniq -c\r\n      6 Found total 82 clone groups.\r\n     27 Found total 83 clone groups.\r\n     52 Found total 84 clone groups.\r\n     13 Found total 85 clone groups.\r\n      2 Found total 86 clone groups.\r\n> for i in $(seq 1 100);do dupl ~/go/src/golang.org/x/net/webdav |grep Found;done  |sort |uniq -c\r\n      2 Found total 228 clone groups.\r\n     30 Found total 229 clone groups.\r\n     30 Found total 230 clone groups.\r\n     23 Found total 231 clone groups.\r\n     12 Found total 232 clone groups.\r\n      3 Found total 233 clone groups.\r\n\r\n```\r\n\r\nI don't see a way to check the version of dupl I have installed, but I just updated to the latest commit as of the time of me posting this ticket (415e882)\r\n"},"comment":{"url":"https://api.github.com/repos/mibk/dupl/issues/comments/246462074","html_url":"https://github.com/mibk/dupl/issues/15#issuecomment-246462074","issue_url":"https://api.github.com/repos/mibk/dupl/issues/15","id":246462074,"user":{"login":"mibk","id":2324898,"avatar_url":"https://avatars.githubusercontent.com/u/2324898?v=3","gravatar_id":"","url":"https://api.github.com/users/mibk","html_url":"https://github.com/mibk","followers_url":"https://api.github.com/users/mibk/followers","following_url":"https://api.github.com/users/mibk/following{/other_user}","gists_url":"https://api.github.com/users/mibk/gists{/gist_id}","starred_url":"https://api.github.com/users/mibk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mibk/subscriptions","organizations_url":"https://api.github.com/users/mibk/orgs","repos_url":"https://api.github.com/users/mibk/repos","events_url":"https://api.github.com/users/mibk/events{/privacy}","received_events_url":"https://api.github.com/users/mibk/received_events","type":"User","site_admin":false},"created_at":"2016-09-12T19:25:05Z","updated_at":"2016-09-12T19:25:05Z","body":"Having it written a while ago, my guess is because of using *maps*. Anyway I think it definitely should be deterministic. I'm gonna take a look at it when I have time."}}
{"actor":{"display_login":"mibk"}}