{"action":"created","comment":{"url":"https://api.github.com/repos/wiki-ai/wikiclass/pulls/comments/124921867","pull_request_review_id":47261798,"id":124921867,"diff_hunk":"@@ -76,9 +76,13 @@ def simplify_target(target):\n         return target\n     elif hasattr(target, \"toTimestr\"):\n         return target.toTimestr()\n+    elif isinstance(target, dict) and 'text' in target:","path":"wikiclass/feature_lists/wikidatawiki.py","position":4,"original_position":4,"commit_id":"f49ef095e68f622da848bfcd043d9b7a14d22b78","original_commit_id":"f49ef095e68f622da848bfcd043d9b7a14d22b78","user":{"login":"adamwight","id":819437,"avatar_url":"https://avatars1.githubusercontent.com/u/819437?v=3","gravatar_id":"","url":"https://api.github.com/users/adamwight","html_url":"https://github.com/adamwight","followers_url":"https://api.github.com/users/adamwight/followers","following_url":"https://api.github.com/users/adamwight/following{/other_user}","gists_url":"https://api.github.com/users/adamwight/gists{/gist_id}","starred_url":"https://api.github.com/users/adamwight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamwight/subscriptions","organizations_url":"https://api.github.com/users/adamwight/orgs","repos_url":"https://api.github.com/users/adamwight/repos","events_url":"https://api.github.com/users/adamwight/events{/privacy}","received_events_url":"https://api.github.com/users/adamwight/received_events","type":"User","site_admin":false},"body":"These switch clauses could use some comments, your reader is left wondering why `target` is such a slippery variable.","created_at":"2017-06-29T21:53:11Z","updated_at":"2017-06-29T21:54:17Z","html_url":"https://github.com/wiki-ai/wikiclass/pull/44#discussion_r124921867","pull_request_url":"https://api.github.com/repos/wiki-ai/wikiclass/pulls/44","_links":{"self":{"href":"https://api.github.com/repos/wiki-ai/wikiclass/pulls/comments/124921867"},"html":{"href":"https://github.com/wiki-ai/wikiclass/pull/44#discussion_r124921867"},"pull_request":{"href":"https://api.github.com/repos/wiki-ai/wikiclass/pulls/44"}}},"pull_request":{"url":"https://api.github.com/repos/wiki-ai/wikiclass/pulls/44","id":128254809,"html_url":"https://github.com/wiki-ai/wikiclass/pull/44","diff_url":"https://github.com/wiki-ai/wikiclass/pull/44.diff","patch_url":"https://github.com/wiki-ai/wikiclass/pull/44.patch","issue_url":"https://api.github.com/repos/wiki-ai/wikiclass/issues/44","number":44,"state":"open","locked":false,"title":"Adds minor fixes to wikidatawiki features and rebuilds model.","user":{"login":"halfak","id":984301,"avatar_url":"https://avatars1.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":"","created_at":"2017-06-29T21:48:16Z","updated_at":"2017-06-29T21:54:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f6215056a36bf410c792fa1631490704c687b793","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/wiki-ai/wikiclass/pulls/44/commits","review_comments_url":"https://api.github.com/repos/wiki-ai/wikiclass/pulls/44/comments","review_comment_url":"https://api.github.com/repos/wiki-ai/wikiclass/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wiki-ai/wikiclass/issues/44/comments","statuses_url":"https://api.github.com/repos/wiki-ai/wikiclass/statuses/f49ef095e68f622da848bfcd043d9b7a14d22b78","head":{"label":"wiki-ai:wikidatawiki_model_new","ref":"wikidatawiki_model_new","sha":"f49ef095e68f622da848bfcd043d9b7a14d22b78","user":{"login":"wiki-ai","id":12821767,"avatar_url":"https://avatars2.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":20297181,"name":"wikiclass","full_name":"wiki-ai/wikiclass","owner":{"login":"wiki-ai","id":12821767,"avatar_url":"https://avatars2.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/wikiclass","description":"A library for performing automatic detection of assessment classes of Wikipedia article text.","fork":false,"url":"https://api.github.com/repos/wiki-ai/wikiclass","forks_url":"https://api.github.com/repos/wiki-ai/wikiclass/forks","keys_url":"https://api.github.com/repos/wiki-ai/wikiclass/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wiki-ai/wikiclass/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wiki-ai/wikiclass/teams","hooks_url":"https://api.github.com/repos/wiki-ai/wikiclass/hooks","issue_events_url":"https://api.github.com/repos/wiki-ai/wikiclass/issues/events{/number}","events_url":"https://api.github.com/repos/wiki-ai/wikiclass/events","assignees_url":"https://api.github.com/repos/wiki-ai/wikiclass/assignees{/user}","branches_url":"https://api.github.com/repos/wiki-ai/wikiclass/branches{/branch}","tags_url":"https://api.github.com/repos/wiki-ai/wikiclass/tags","blobs_url":"https://api.github.com/repos/wiki-ai/wikiclass/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wiki-ai/wikiclass/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wiki-ai/wikiclass/git/refs{/sha}","trees_url":"https://api.github.com/repos/wiki-ai/wikiclass/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wiki-ai/wikiclass/statuses/{sha}","languages_url":"https://api.github.com/repos/wiki-ai/wikiclass/languages","stargazers_url":"https://api.github.com/repos/wiki-ai/wikiclass/stargazers","contributors_url":"https://api.github.com/repos/wiki-ai/wikiclass/contributors","subscribers_url":"https://api.github.com/repos/wiki-ai/wikiclass/subscribers","subscription_url":"https://api.github.com/repos/wiki-ai/wikiclass/subscription","commits_url":"https://api.github.com/repos/wiki-ai/wikiclass/commits{/sha}","git_commits_url":"https://api.github.com/repos/wiki-ai/wikiclass/git/commits{/sha}","comments_url":"https://api.github.com/repos/wiki-ai/wikiclass/comments{/number}","issue_comment_url":"https://api.github.com/repos/wiki-ai/wikiclass/issues/comments{/number}","contents_url":"https://api.github.com/repos/wiki-ai/wikiclass/contents/{+path}","compare_url":"https://api.github.com/repos/wiki-ai/wikiclass/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wiki-ai/wikiclass/merges","archive_url":"https://api.github.com/repos/wiki-ai/wikiclass/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wiki-ai/wikiclass/downloads","issues_url":"https://api.github.com/repos/wiki-ai/wikiclass/issues{/number}","pulls_url":"https://api.github.com/repos/wiki-ai/wikiclass/pulls{/number}","milestones_url":"https://api.github.com/repos/wiki-ai/wikiclass/milestones{/number}","notifications_url":"https://api.github.com/repos/wiki-ai/wikiclass/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wiki-ai/wikiclass/labels{/name}","releases_url":"https://api.github.com/repos/wiki-ai/wikiclass/releases{/id}","deployments_url":"https://api.github.com/repos/wiki-ai/wikiclass/deployments","created_at":"2014-05-29T14:49:46Z","updated_at":"2017-06-20T13:03:31Z","pushed_at":"2017-06-29T21:48:17Z","git_url":"git://github.com/wiki-ai/wikiclass.git","ssh_url":"git@github.com:wiki-ai/wikiclass.git","clone_url":"https://github.com/wiki-ai/wikiclass.git","svn_url":"https://github.com/wiki-ai/wikiclass","homepage":"http://pythonhosted.org/wikiclass","size":298711,"stargazers_count":12,"watchers_count":12,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":5,"forks":9,"open_issues":5,"watchers":12,"default_branch":"master"}},"base":{"label":"wiki-ai:master","ref":"master","sha":"b415c7bd44cd1fbd8527decd27b60393f738f3b0","user":{"login":"wiki-ai","id":12821767,"avatar_url":"https://avatars2.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":20297181,"name":"wikiclass","full_name":"wiki-ai/wikiclass","owner":{"login":"wiki-ai","id":12821767,"avatar_url":"https://avatars2.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/wikiclass","description":"A library for performing automatic detection of assessment classes of Wikipedia article text.","fork":false,"url":"https://api.github.com/repos/wiki-ai/wikiclass","forks_url":"https://api.github.com/repos/wiki-ai/wikiclass/forks","keys_url":"https://api.github.com/repos/wiki-ai/wikiclass/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wiki-ai/wikiclass/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wiki-ai/wikiclass/teams","hooks_url":"https://api.github.com/repos/wiki-ai/wikiclass/hooks","issue_events_url":"https://api.github.com/repos/wiki-ai/wikiclass/issues/events{/number}","events_url":"https://api.github.com/repos/wiki-ai/wikiclass/events","assignees_url":"https://api.github.com/repos/wiki-ai/wikiclass/assignees{/user}","branches_url":"https://api.github.com/repos/wiki-ai/wikiclass/branches{/branch}","tags_url":"https://api.github.com/repos/wiki-ai/wikiclass/tags","blobs_url":"https://api.github.com/repos/wiki-ai/wikiclass/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wiki-ai/wikiclass/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wiki-ai/wikiclass/git/refs{/sha}","trees_url":"https://api.github.com/repos/wiki-ai/wikiclass/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wiki-ai/wikiclass/statuses/{sha}","languages_url":"https://api.github.com/repos/wiki-ai/wikiclass/languages","stargazers_url":"https://api.github.com/repos/wiki-ai/wikiclass/stargazers","contributors_url":"https://api.github.com/repos/wiki-ai/wikiclass/contributors","subscribers_url":"https://api.github.com/repos/wiki-ai/wikiclass/subscribers","subscription_url":"https://api.github.com/repos/wiki-ai/wikiclass/subscription","commits_url":"https://api.github.com/repos/wiki-ai/wikiclass/commits{/sha}","git_commits_url":"https://api.github.com/repos/wiki-ai/wikiclass/git/commits{/sha}","comments_url":"https://api.github.com/repos/wiki-ai/wikiclass/comments{/number}","issue_comment_url":"https://api.github.com/repos/wiki-ai/wikiclass/issues/comments{/number}","contents_url":"https://api.github.com/repos/wiki-ai/wikiclass/contents/{+path}","compare_url":"https://api.github.com/repos/wiki-ai/wikiclass/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wiki-ai/wikiclass/merges","archive_url":"https://api.github.com/repos/wiki-ai/wikiclass/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wiki-ai/wikiclass/downloads","issues_url":"https://api.github.com/repos/wiki-ai/wikiclass/issues{/number}","pulls_url":"https://api.github.com/repos/wiki-ai/wikiclass/pulls{/number}","milestones_url":"https://api.github.com/repos/wiki-ai/wikiclass/milestones{/number}","notifications_url":"https://api.github.com/repos/wiki-ai/wikiclass/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wiki-ai/wikiclass/labels{/name}","releases_url":"https://api.github.com/repos/wiki-ai/wikiclass/releases{/id}","deployments_url":"https://api.github.com/repos/wiki-ai/wikiclass/deployments","created_at":"2014-05-29T14:49:46Z","updated_at":"2017-06-20T13:03:31Z","pushed_at":"2017-06-29T21:48:17Z","git_url":"git://github.com/wiki-ai/wikiclass.git","ssh_url":"git@github.com:wiki-ai/wikiclass.git","clone_url":"https://github.com/wiki-ai/wikiclass.git","svn_url":"https://github.com/wiki-ai/wikiclass","homepage":"http://pythonhosted.org/wikiclass","size":298711,"stargazers_count":12,"watchers_count":12,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":5,"forks":9,"open_issues":5,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wiki-ai/wikiclass/pulls/44"},"html":{"href":"https://github.com/wiki-ai/wikiclass/pull/44"},"issue":{"href":"https://api.github.com/repos/wiki-ai/wikiclass/issues/44"},"comments":{"href":"https://api.github.com/repos/wiki-ai/wikiclass/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/wiki-ai/wikiclass/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/wiki-ai/wikiclass/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wiki-ai/wikiclass/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/wiki-ai/wikiclass/statuses/f49ef095e68f622da848bfcd043d9b7a14d22b78"}}}}
{"actor":{"display_login":"adamwight"}}