{"action":"created","comment":{"url":"https://api.github.com/repos/wiki-ai/revscoring/pulls/comments/38419955","id":38419955,"diff_hunk":"@@ -31,7 +31,8 @@ def __init__(self, name, process=None, depends_on=None,\n         self.calls = 0\n \n     def __call__(self, *args, **kwargs):\n-        logger.debug(\"Executing {0}.\".format(self))\n+        logger.debug(\"Executing {0} ({1} calls so far).\"\n+                     .format(self, self.calls))\n         self.calls += 1","path":"revscoring/dependencies/dependent.py","position":16,"original_position":16,"commit_id":"ae6d87d1745e09cedbf32da066a028266252a1b7","original_commit_id":"ae6d87d1745e09cedbf32da066a028266252a1b7","user":{"login":"he7d3r","id":1754791,"avatar_url":"https://avatars.githubusercontent.com/u/1754791?v=3","gravatar_id":"","url":"https://api.github.com/users/he7d3r","html_url":"https://github.com/he7d3r","followers_url":"https://api.github.com/users/he7d3r/followers","following_url":"https://api.github.com/users/he7d3r/following{/other_user}","gists_url":"https://api.github.com/users/he7d3r/gists{/gist_id}","starred_url":"https://api.github.com/users/he7d3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/he7d3r/subscriptions","organizations_url":"https://api.github.com/users/he7d3r/orgs","repos_url":"https://api.github.com/users/he7d3r/repos","events_url":"https://api.github.com/users/he7d3r/events{/privacy}","received_events_url":"https://api.github.com/users/he7d3r/received_events","type":"User","site_admin":false},"body":"Since this is already inside a call, shouldn't it be swapted with `self.calls += 1` so that it says \"1 calls so far\" on first run?","created_at":"2015-09-01T13:49:23Z","updated_at":"2015-09-01T13:49:23Z","html_url":"https://github.com/wiki-ai/revscoring/pull/168#discussion_r38419955","pull_request_url":"https://api.github.com/repos/wiki-ai/revscoring/pulls/168","_links":{"self":{"href":"https://api.github.com/repos/wiki-ai/revscoring/pulls/comments/38419955"},"html":{"href":"https://github.com/wiki-ai/revscoring/pull/168#discussion_r38419955"},"pull_request":{"href":"https://api.github.com/repos/wiki-ai/revscoring/pulls/168"}}},"pull_request":{"url":"https://api.github.com/repos/wiki-ai/revscoring/pulls/168","id":41973460,"html_url":"https://github.com/wiki-ai/revscoring/pull/168","diff_url":"https://github.com/wiki-ai/revscoring/pull/168.diff","patch_url":"https://github.com/wiki-ai/revscoring/pull/168.patch","issue_url":"https://api.github.com/repos/wiki-ai/revscoring/issues/168","number":168,"state":"open","locked":false,"title":"Improves logging and errors","user":{"login":"halfak","id":984301,"avatar_url":"https://avatars.githubusercontent.com/u/984301?v=3","gravatar_id":"","url":"https://api.github.com/users/halfak","html_url":"https://github.com/halfak","followers_url":"https://api.github.com/users/halfak/followers","following_url":"https://api.github.com/users/halfak/following{/other_user}","gists_url":"https://api.github.com/users/halfak/gists{/gist_id}","starred_url":"https://api.github.com/users/halfak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halfak/subscriptions","organizations_url":"https://api.github.com/users/halfak/orgs","repos_url":"https://api.github.com/users/halfak/repos","events_url":"https://api.github.com/users/halfak/events{/privacy}","received_events_url":"https://api.github.com/users/halfak/received_events","type":"User","site_admin":false},"body":"In extractors, dependencies and the diff datasource module.","created_at":"2015-08-09T17:03:25Z","updated_at":"2015-09-01T13:49:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6ebbbc476a397f445611d5457d14679adee3abed","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wiki-ai/revscoring/pulls/168/commits","review_comments_url":"https://api.github.com/repos/wiki-ai/revscoring/pulls/168/comments","review_comment_url":"https://api.github.com/repos/wiki-ai/revscoring/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wiki-ai/revscoring/issues/168/comments","statuses_url":"https://api.github.com/repos/wiki-ai/revscoring/statuses/ae6d87d1745e09cedbf32da066a028266252a1b7","head":{"label":"wiki-ai:logging","ref":"logging","sha":"ae6d87d1745e09cedbf32da066a028266252a1b7","user":{"login":"wiki-ai","id":12821767,"avatar_url":"https://avatars.githubusercontent.com/u/12821767?v=3","gravatar_id":"","url":"https://api.github.com/users/wiki-ai","html_url":"https://github.com/wiki-ai","followers_url":"https://api.github.com/users/wiki-ai/followers","following_url":"https://api.github.com/users/wiki-ai/following{/other_user}","gists_url":"https://api.github.com/users/wiki-ai/gists{/gist_id}","starred_url":"https://api.github.com/users/wiki-ai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wiki-ai/subscriptions","organizations_url":"https://api.github.com/users/wiki-ai/orgs","repos_url":"https://api.github.com/users/wiki-ai/repos","events_url":"https://api.github.com/users/wiki-ai/events{/privacy}","received_events_url":"https://api.github.com/users/wiki-ai/received_events","type":"Organization","site_admin":false},"repo":{"id":23771350,"name":"revscoring","full_name":"wiki-ai/revscoring","owner":{"login":"wiki-ai","id":12821767,"avatar_url":"https://avatars.githubusercontent.com/u/12821767?v=3","gravatar_id":"","url":"https://api.github.com/users/wiki-ai","html_url":"https://github.com/wiki-ai","followers_url":"https://api.github.com/users/wiki-ai/followers","following_url":"https://api.github.com/users/wiki-ai/following{/other_user}","gists_url":"https://api.github.com/users/wiki-ai/gists{/gist_id}","starred_url":"https://api.github.com/users/wiki-ai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wiki-ai/subscriptions","organizations_url":"https://api.github.com/users/wiki-ai/orgs","repos_url":"https://api.github.com/users/wiki-ai/repos","events_url":"https://api.github.com/users/wiki-ai/events{/privacy}","received_events_url":"https://api.github.com/users/wiki-ai/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wiki-ai/revscoring","description":"A generic, machine learning-based revision scoring system for MediaWiki","fork":false,"url":"https://api.github.com/repos/wiki-ai/revscoring","forks_url":"https://api.github.com/repos/wiki-ai/revscoring/forks","keys_url":"https://api.github.com/repos/wiki-ai/revscoring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wiki-ai/revscoring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wiki-ai/revscoring/teams","hooks_url":"https://api.github.com/repos/wiki-ai/revscoring/hooks","issue_events_url":"https://api.github.com/repos/wiki-ai/revscoring/issues/events{/number}","events_url":"https://api.github.com/repos/wiki-ai/revscoring/events","assignees_url":"https://api.github.com/repos/wiki-ai/revscoring/assignees{/user}","branches_url":"https://api.github.com/repos/wiki-ai/revscoring/branches{/branch}","tags_url":"https://api.github.com/repos/wiki-ai/revscoring/tags","blobs_url":"https://api.github.com/repos/wiki-ai/revscoring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wiki-ai/revscoring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wiki-ai/revscoring/git/refs{/sha}","trees_url":"https://api.github.com/repos/wiki-ai/revscoring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wiki-ai/revscoring/statuses/{sha}","languages_url":"https://api.github.com/repos/wiki-ai/revscoring/languages","stargazers_url":"https://api.github.com/repos/wiki-ai/revscoring/stargazers","contributors_url":"https://api.github.com/repos/wiki-ai/revscoring/contributors","subscribers_url":"https://api.github.com/repos/wiki-ai/revscoring/subscribers","subscription_url":"https://api.github.com/repos/wiki-ai/revscoring/subscription","commits_url":"https://api.github.com/repos/wiki-ai/revscoring/commits{/sha}","git_commits_url":"https://api.github.com/repos/wiki-ai/revscoring/git/commits{/sha}","comments_url":"https://api.github.com/repos/wiki-ai/revscoring/comments{/number}","issue_comment_url":"https://api.github.com/repos/wiki-ai/revscoring/issues/comments{/number}","contents_url":"https://api.github.com/repos/wiki-ai/revscoring/contents/{+path}","compare_url":"https://api.github.com/repos/wiki-ai/revscoring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wiki-ai/revscoring/merges","archive_url":"https://api.github.com/repos/wiki-ai/revscoring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wiki-ai/revscoring/downloads","issues_url":"https://api.github.com/repos/wiki-ai/revscoring/issues{/number}","pulls_url":"https://api.github.com/repos/wiki-ai/revscoring/pulls{/number}","milestones_url":"https://api.github.com/repos/wiki-ai/revscoring/milestones{/number}","notifications_url":"https://api.github.com/repos/wiki-ai/revscoring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wiki-ai/revscoring/labels{/name}","releases_url":"https://api.github.com/repos/wiki-ai/revscoring/releases{/id}","created_at":"2014-09-07T21:20:37Z","updated_at":"2015-08-31T00:21:18Z","pushed_at":"2015-09-01T13:43:34Z","git_url":"git://github.com/wiki-ai/revscoring.git","ssh_url":"git@github.com:wiki-ai/revscoring.git","clone_url":"https://github.com/wiki-ai/revscoring.git","svn_url":"https://github.com/wiki-ai/revscoring","homepage":"http://pythonhosted.org/revscoring","size":1891,"stargazers_count":12,"watchers_count":12,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":20,"forks":15,"open_issues":20,"watchers":12,"default_branch":"master"}},"base":{"label":"wiki-ai:master","ref":"master","sha":"5495c40fca5eb45de5d76d5c76686a63e7e33aaa","user":{"login":"wiki-ai","id":12821767,"avatar_url":"https://avatars.githubusercontent.com/u/12821767?v=3","gravatar_id":"","url":"https://api.github.com/users/wiki-ai","html_url":"https://github.com/wiki-ai","followers_url":"https://api.github.com/users/wiki-ai/followers","following_url":"https://api.github.com/users/wiki-ai/following{/other_user}","gists_url":"https://api.github.com/users/wiki-ai/gists{/gist_id}","starred_url":"https://api.github.com/users/wiki-ai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wiki-ai/subscriptions","organizations_url":"https://api.github.com/users/wiki-ai/orgs","repos_url":"https://api.github.com/users/wiki-ai/repos","events_url":"https://api.github.com/users/wiki-ai/events{/privacy}","received_events_url":"https://api.github.com/users/wiki-ai/received_events","type":"Organization","site_admin":false},"repo":{"id":23771350,"name":"revscoring","full_name":"wiki-ai/revscoring","owner":{"login":"wiki-ai","id":12821767,"avatar_url":"https://avatars.githubusercontent.com/u/12821767?v=3","gravatar_id":"","url":"https://api.github.com/users/wiki-ai","html_url":"https://github.com/wiki-ai","followers_url":"https://api.github.com/users/wiki-ai/followers","following_url":"https://api.github.com/users/wiki-ai/following{/other_user}","gists_url":"https://api.github.com/users/wiki-ai/gists{/gist_id}","starred_url":"https://api.github.com/users/wiki-ai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wiki-ai/subscriptions","organizations_url":"https://api.github.com/users/wiki-ai/orgs","repos_url":"https://api.github.com/users/wiki-ai/repos","events_url":"https://api.github.com/users/wiki-ai/events{/privacy}","received_events_url":"https://api.github.com/users/wiki-ai/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wiki-ai/revscoring","description":"A generic, machine learning-based revision scoring system for MediaWiki","fork":false,"url":"https://api.github.com/repos/wiki-ai/revscoring","forks_url":"https://api.github.com/repos/wiki-ai/revscoring/forks","keys_url":"https://api.github.com/repos/wiki-ai/revscoring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wiki-ai/revscoring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wiki-ai/revscoring/teams","hooks_url":"https://api.github.com/repos/wiki-ai/revscoring/hooks","issue_events_url":"https://api.github.com/repos/wiki-ai/revscoring/issues/events{/number}","events_url":"https://api.github.com/repos/wiki-ai/revscoring/events","assignees_url":"https://api.github.com/repos/wiki-ai/revscoring/assignees{/user}","branches_url":"https://api.github.com/repos/wiki-ai/revscoring/branches{/branch}","tags_url":"https://api.github.com/repos/wiki-ai/revscoring/tags","blobs_url":"https://api.github.com/repos/wiki-ai/revscoring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wiki-ai/revscoring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wiki-ai/revscoring/git/refs{/sha}","trees_url":"https://api.github.com/repos/wiki-ai/revscoring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wiki-ai/revscoring/statuses/{sha}","languages_url":"https://api.github.com/repos/wiki-ai/revscoring/languages","stargazers_url":"https://api.github.com/repos/wiki-ai/revscoring/stargazers","contributors_url":"https://api.github.com/repos/wiki-ai/revscoring/contributors","subscribers_url":"https://api.github.com/repos/wiki-ai/revscoring/subscribers","subscription_url":"https://api.github.com/repos/wiki-ai/revscoring/subscription","commits_url":"https://api.github.com/repos/wiki-ai/revscoring/commits{/sha}","git_commits_url":"https://api.github.com/repos/wiki-ai/revscoring/git/commits{/sha}","comments_url":"https://api.github.com/repos/wiki-ai/revscoring/comments{/number}","issue_comment_url":"https://api.github.com/repos/wiki-ai/revscoring/issues/comments{/number}","contents_url":"https://api.github.com/repos/wiki-ai/revscoring/contents/{+path}","compare_url":"https://api.github.com/repos/wiki-ai/revscoring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wiki-ai/revscoring/merges","archive_url":"https://api.github.com/repos/wiki-ai/revscoring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wiki-ai/revscoring/downloads","issues_url":"https://api.github.com/repos/wiki-ai/revscoring/issues{/number}","pulls_url":"https://api.github.com/repos/wiki-ai/revscoring/pulls{/number}","milestones_url":"https://api.github.com/repos/wiki-ai/revscoring/milestones{/number}","notifications_url":"https://api.github.com/repos/wiki-ai/revscoring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wiki-ai/revscoring/labels{/name}","releases_url":"https://api.github.com/repos/wiki-ai/revscoring/releases{/id}","created_at":"2014-09-07T21:20:37Z","updated_at":"2015-08-31T00:21:18Z","pushed_at":"2015-09-01T13:43:34Z","git_url":"git://github.com/wiki-ai/revscoring.git","ssh_url":"git@github.com:wiki-ai/revscoring.git","clone_url":"https://github.com/wiki-ai/revscoring.git","svn_url":"https://github.com/wiki-ai/revscoring","homepage":"http://pythonhosted.org/revscoring","size":1891,"stargazers_count":12,"watchers_count":12,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":20,"forks":15,"open_issues":20,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wiki-ai/revscoring/pulls/168"},"html":{"href":"https://github.com/wiki-ai/revscoring/pull/168"},"issue":{"href":"https://api.github.com/repos/wiki-ai/revscoring/issues/168"},"comments":{"href":"https://api.github.com/repos/wiki-ai/revscoring/issues/168/comments"},"review_comments":{"href":"https://api.github.com/repos/wiki-ai/revscoring/pulls/168/comments"},"review_comment":{"href":"https://api.github.com/repos/wiki-ai/revscoring/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wiki-ai/revscoring/pulls/168/commits"},"statuses":{"href":"https://api.github.com/repos/wiki-ai/revscoring/statuses/ae6d87d1745e09cedbf32da066a028266252a1b7"}}}}