{"action":"created","comment":{"url":"https://api.github.com/repos/marco-c/crashsimilarity/pulls/comments/107366018","pull_request_review_id":28331328,"id":107366018,"diff_hunk":"@@ -5,11 +5,67 @@\n import unittest\n \n \n+import crash_similarity\n+\n+\n class BasicTest(unittest.TestCase):\n \n-    def test_pass(self):\n+    # Train Model to be used in all tests\n+    paths = ['crashsimilarity_data/test.json.gz', 'crashsimilarity_data/firefox-crashes-2016-11-09.json.gz', 'crashsimilarity_data/firefox-crashes-2016-11-08.json.gz', 'crashsimilarity_data/firefox-crashes-2016-11-07.json.gz', 'crashsimilarity_data/firefox-crashes-2016-11-06.json.gz', 'crashsimilarity_data/firefox-crashes-2016-11-05.json.gz', 'crashsimilarity_data/firefox-crashes-2016-11-04.json.gz', 'crashsimilarity_data/firefox-crashes-2016-11-03.json.gz']","path":"tests/test_basic.py","position":null,"original_position":11,"commit_id":"c2c2a5601b8deffe74bbdcc3d3e229a47e9397f2","original_commit_id":"3488c7605424f1ea33a8cfbbfa8eb08a7e00d78a","user":{"login":"marco-c","id":1616846,"avatar_url":"https://avatars2.githubusercontent.com/u/1616846?v=3","gravatar_id":"","url":"https://api.github.com/users/marco-c","html_url":"https://github.com/marco-c","followers_url":"https://api.github.com/users/marco-c/followers","following_url":"https://api.github.com/users/marco-c/following{/other_user}","gists_url":"https://api.github.com/users/marco-c/gists{/gist_id}","starred_url":"https://api.github.com/users/marco-c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marco-c/subscriptions","organizations_url":"https://api.github.com/users/marco-c/orgs","repos_url":"https://api.github.com/users/marco-c/repos","events_url":"https://api.github.com/users/marco-c/events{/privacy}","received_events_url":"https://api.github.com/users/marco-c/received_events","type":"User","site_admin":false},"body":"It's just for the test, so it should work.","created_at":"2017-03-22T09:35:27Z","updated_at":"2017-03-22T09:35:27Z","html_url":"https://github.com/marco-c/crashsimilarity/pull/50#discussion_r107366018","pull_request_url":"https://api.github.com/repos/marco-c/crashsimilarity/pulls/50","_links":{"self":{"href":"https://api.github.com/repos/marco-c/crashsimilarity/pulls/comments/107366018"},"html":{"href":"https://github.com/marco-c/crashsimilarity/pull/50#discussion_r107366018"},"pull_request":{"href":"https://api.github.com/repos/marco-c/crashsimilarity/pulls/50"}}},"pull_request":{"url":"https://api.github.com/repos/marco-c/crashsimilarity/pulls/50","id":111839339,"html_url":"https://github.com/marco-c/crashsimilarity/pull/50","diff_url":"https://github.com/marco-c/crashsimilarity/pull/50.diff","patch_url":"https://github.com/marco-c/crashsimilarity/pull/50.patch","issue_url":"https://api.github.com/repos/marco-c/crashsimilarity/issues/50","number":50,"state":"open","locked":false,"title":"Add Test to wdistance calculation: Issue#11","user":{"login":"whatust","id":11278779,"avatar_url":"https://avatars2.githubusercontent.com/u/11278779?v=3","gravatar_id":"","url":"https://api.github.com/users/whatust","html_url":"https://github.com/whatust","followers_url":"https://api.github.com/users/whatust/followers","following_url":"https://api.github.com/users/whatust/following{/other_user}","gists_url":"https://api.github.com/users/whatust/gists{/gist_id}","starred_url":"https://api.github.com/users/whatust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whatust/subscriptions","organizations_url":"https://api.github.com/users/whatust/orgs","repos_url":"https://api.github.com/users/whatust/repos","events_url":"https://api.github.com/users/whatust/events{/privacy}","received_events_url":"https://api.github.com/users/whatust/received_events","type":"User","site_admin":false},"body":"Small tests to validate coherence and word position effect on similarity.\r\nAdded new JSON  to facilitate test visualization.","created_at":"2017-03-21T17:44:43Z","updated_at":"2017-03-22T09:35:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b183db6e3fcf2f2839be682bfc649048b642f073","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/marco-c/crashsimilarity/pulls/50/commits","review_comments_url":"https://api.github.com/repos/marco-c/crashsimilarity/pulls/50/comments","review_comment_url":"https://api.github.com/repos/marco-c/crashsimilarity/pulls/comments{/number}","comments_url":"https://api.github.com/repos/marco-c/crashsimilarity/issues/50/comments","statuses_url":"https://api.github.com/repos/marco-c/crashsimilarity/statuses/c2c2a5601b8deffe74bbdcc3d3e229a47e9397f2","head":{"label":"whatust:issue#11","ref":"issue#11","sha":"c2c2a5601b8deffe74bbdcc3d3e229a47e9397f2","user":{"login":"whatust","id":11278779,"avatar_url":"https://avatars2.githubusercontent.com/u/11278779?v=3","gravatar_id":"","url":"https://api.github.com/users/whatust","html_url":"https://github.com/whatust","followers_url":"https://api.github.com/users/whatust/followers","following_url":"https://api.github.com/users/whatust/following{/other_user}","gists_url":"https://api.github.com/users/whatust/gists{/gist_id}","starred_url":"https://api.github.com/users/whatust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whatust/subscriptions","organizations_url":"https://api.github.com/users/whatust/orgs","repos_url":"https://api.github.com/users/whatust/repos","events_url":"https://api.github.com/users/whatust/events{/privacy}","received_events_url":"https://api.github.com/users/whatust/received_events","type":"User","site_admin":false},"repo":{"id":85413999,"name":"crashsimilarity","full_name":"whatust/crashsimilarity","owner":{"login":"whatust","id":11278779,"avatar_url":"https://avatars2.githubusercontent.com/u/11278779?v=3","gravatar_id":"","url":"https://api.github.com/users/whatust","html_url":"https://github.com/whatust","followers_url":"https://api.github.com/users/whatust/followers","following_url":"https://api.github.com/users/whatust/following{/other_user}","gists_url":"https://api.github.com/users/whatust/gists{/gist_id}","starred_url":"https://api.github.com/users/whatust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whatust/subscriptions","organizations_url":"https://api.github.com/users/whatust/orgs","repos_url":"https://api.github.com/users/whatust/repos","events_url":"https://api.github.com/users/whatust/events{/privacy}","received_events_url":"https://api.github.com/users/whatust/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/whatust/crashsimilarity","description":"Similarity between crash reports","fork":true,"url":"https://api.github.com/repos/whatust/crashsimilarity","forks_url":"https://api.github.com/repos/whatust/crashsimilarity/forks","keys_url":"https://api.github.com/repos/whatust/crashsimilarity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/whatust/crashsimilarity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/whatust/crashsimilarity/teams","hooks_url":"https://api.github.com/repos/whatust/crashsimilarity/hooks","issue_events_url":"https://api.github.com/repos/whatust/crashsimilarity/issues/events{/number}","events_url":"https://api.github.com/repos/whatust/crashsimilarity/events","assignees_url":"https://api.github.com/repos/whatust/crashsimilarity/assignees{/user}","branches_url":"https://api.github.com/repos/whatust/crashsimilarity/branches{/branch}","tags_url":"https://api.github.com/repos/whatust/crashsimilarity/tags","blobs_url":"https://api.github.com/repos/whatust/crashsimilarity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/whatust/crashsimilarity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/whatust/crashsimilarity/git/refs{/sha}","trees_url":"https://api.github.com/repos/whatust/crashsimilarity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/whatust/crashsimilarity/statuses/{sha}","languages_url":"https://api.github.com/repos/whatust/crashsimilarity/languages","stargazers_url":"https://api.github.com/repos/whatust/crashsimilarity/stargazers","contributors_url":"https://api.github.com/repos/whatust/crashsimilarity/contributors","subscribers_url":"https://api.github.com/repos/whatust/crashsimilarity/subscribers","subscription_url":"https://api.github.com/repos/whatust/crashsimilarity/subscription","commits_url":"https://api.github.com/repos/whatust/crashsimilarity/commits{/sha}","git_commits_url":"https://api.github.com/repos/whatust/crashsimilarity/git/commits{/sha}","comments_url":"https://api.github.com/repos/whatust/crashsimilarity/comments{/number}","issue_comment_url":"https://api.github.com/repos/whatust/crashsimilarity/issues/comments{/number}","contents_url":"https://api.github.com/repos/whatust/crashsimilarity/contents/{+path}","compare_url":"https://api.github.com/repos/whatust/crashsimilarity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/whatust/crashsimilarity/merges","archive_url":"https://api.github.com/repos/whatust/crashsimilarity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/whatust/crashsimilarity/downloads","issues_url":"https://api.github.com/repos/whatust/crashsimilarity/issues{/number}","pulls_url":"https://api.github.com/repos/whatust/crashsimilarity/pulls{/number}","milestones_url":"https://api.github.com/repos/whatust/crashsimilarity/milestones{/number}","notifications_url":"https://api.github.com/repos/whatust/crashsimilarity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/whatust/crashsimilarity/labels{/name}","releases_url":"https://api.github.com/repos/whatust/crashsimilarity/releases{/id}","deployments_url":"https://api.github.com/repos/whatust/crashsimilarity/deployments","created_at":"2017-03-18T16:05:01Z","updated_at":"2017-03-18T16:05:04Z","pushed_at":"2017-03-22T02:28:02Z","git_url":"git://github.com/whatust/crashsimilarity.git","ssh_url":"git@github.com:whatust/crashsimilarity.git","clone_url":"https://github.com/whatust/crashsimilarity.git","svn_url":"https://github.com/whatust/crashsimilarity","homepage":null,"size":147104,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"marco-c:master","ref":"master","sha":"bf76144726429c7b7d94b0fa8f8e883cb93c20c5","user":{"login":"marco-c","id":1616846,"avatar_url":"https://avatars2.githubusercontent.com/u/1616846?v=3","gravatar_id":"","url":"https://api.github.com/users/marco-c","html_url":"https://github.com/marco-c","followers_url":"https://api.github.com/users/marco-c/followers","following_url":"https://api.github.com/users/marco-c/following{/other_user}","gists_url":"https://api.github.com/users/marco-c/gists{/gist_id}","starred_url":"https://api.github.com/users/marco-c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marco-c/subscriptions","organizations_url":"https://api.github.com/users/marco-c/orgs","repos_url":"https://api.github.com/users/marco-c/repos","events_url":"https://api.github.com/users/marco-c/events{/privacy}","received_events_url":"https://api.github.com/users/marco-c/received_events","type":"User","site_admin":false},"repo":{"id":74696931,"name":"crashsimilarity","full_name":"marco-c/crashsimilarity","owner":{"login":"marco-c","id":1616846,"avatar_url":"https://avatars2.githubusercontent.com/u/1616846?v=3","gravatar_id":"","url":"https://api.github.com/users/marco-c","html_url":"https://github.com/marco-c","followers_url":"https://api.github.com/users/marco-c/followers","following_url":"https://api.github.com/users/marco-c/following{/other_user}","gists_url":"https://api.github.com/users/marco-c/gists{/gist_id}","starred_url":"https://api.github.com/users/marco-c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marco-c/subscriptions","organizations_url":"https://api.github.com/users/marco-c/orgs","repos_url":"https://api.github.com/users/marco-c/repos","events_url":"https://api.github.com/users/marco-c/events{/privacy}","received_events_url":"https://api.github.com/users/marco-c/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marco-c/crashsimilarity","description":"Similarity between crash reports","fork":false,"url":"https://api.github.com/repos/marco-c/crashsimilarity","forks_url":"https://api.github.com/repos/marco-c/crashsimilarity/forks","keys_url":"https://api.github.com/repos/marco-c/crashsimilarity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marco-c/crashsimilarity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marco-c/crashsimilarity/teams","hooks_url":"https://api.github.com/repos/marco-c/crashsimilarity/hooks","issue_events_url":"https://api.github.com/repos/marco-c/crashsimilarity/issues/events{/number}","events_url":"https://api.github.com/repos/marco-c/crashsimilarity/events","assignees_url":"https://api.github.com/repos/marco-c/crashsimilarity/assignees{/user}","branches_url":"https://api.github.com/repos/marco-c/crashsimilarity/branches{/branch}","tags_url":"https://api.github.com/repos/marco-c/crashsimilarity/tags","blobs_url":"https://api.github.com/repos/marco-c/crashsimilarity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marco-c/crashsimilarity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marco-c/crashsimilarity/git/refs{/sha}","trees_url":"https://api.github.com/repos/marco-c/crashsimilarity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marco-c/crashsimilarity/statuses/{sha}","languages_url":"https://api.github.com/repos/marco-c/crashsimilarity/languages","stargazers_url":"https://api.github.com/repos/marco-c/crashsimilarity/stargazers","contributors_url":"https://api.github.com/repos/marco-c/crashsimilarity/contributors","subscribers_url":"https://api.github.com/repos/marco-c/crashsimilarity/subscribers","subscription_url":"https://api.github.com/repos/marco-c/crashsimilarity/subscription","commits_url":"https://api.github.com/repos/marco-c/crashsimilarity/commits{/sha}","git_commits_url":"https://api.github.com/repos/marco-c/crashsimilarity/git/commits{/sha}","comments_url":"https://api.github.com/repos/marco-c/crashsimilarity/comments{/number}","issue_comment_url":"https://api.github.com/repos/marco-c/crashsimilarity/issues/comments{/number}","contents_url":"https://api.github.com/repos/marco-c/crashsimilarity/contents/{+path}","compare_url":"https://api.github.com/repos/marco-c/crashsimilarity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marco-c/crashsimilarity/merges","archive_url":"https://api.github.com/repos/marco-c/crashsimilarity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marco-c/crashsimilarity/downloads","issues_url":"https://api.github.com/repos/marco-c/crashsimilarity/issues{/number}","pulls_url":"https://api.github.com/repos/marco-c/crashsimilarity/pulls{/number}","milestones_url":"https://api.github.com/repos/marco-c/crashsimilarity/milestones{/number}","notifications_url":"https://api.github.com/repos/marco-c/crashsimilarity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marco-c/crashsimilarity/labels{/name}","releases_url":"https://api.github.com/repos/marco-c/crashsimilarity/releases{/id}","deployments_url":"https://api.github.com/repos/marco-c/crashsimilarity/deployments","created_at":"2016-11-24T18:31:07Z","updated_at":"2017-03-17T17:18:17Z","pushed_at":"2017-03-22T09:25:53Z","git_url":"git://github.com/marco-c/crashsimilarity.git","ssh_url":"git@github.com:marco-c/crashsimilarity.git","clone_url":"https://github.com/marco-c/crashsimilarity.git","svn_url":"https://github.com/marco-c/crashsimilarity","homepage":null,"size":147080,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":16,"forks":7,"open_issues":16,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/marco-c/crashsimilarity/pulls/50"},"html":{"href":"https://github.com/marco-c/crashsimilarity/pull/50"},"issue":{"href":"https://api.github.com/repos/marco-c/crashsimilarity/issues/50"},"comments":{"href":"https://api.github.com/repos/marco-c/crashsimilarity/issues/50/comments"},"review_comments":{"href":"https://api.github.com/repos/marco-c/crashsimilarity/pulls/50/comments"},"review_comment":{"href":"https://api.github.com/repos/marco-c/crashsimilarity/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/marco-c/crashsimilarity/pulls/50/commits"},"statuses":{"href":"https://api.github.com/repos/marco-c/crashsimilarity/statuses/c2c2a5601b8deffe74bbdcc3d3e229a47e9397f2"}}}}
{"actor":{"display_login":"marco-c"}}