{"action":"opened","number":517,"pull_request":{"url":"https://api.github.com/repos/neulab/xnmt/pulls/517","id":208285937,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4Mjg1OTM3","html_url":"https://github.com/neulab/xnmt/pull/517","diff_url":"https://github.com/neulab/xnmt/pull/517.diff","patch_url":"https://github.com/neulab/xnmt/pull/517.patch","issue_url":"https://api.github.com/repos/neulab/xnmt/issues/517","number":517,"state":"open","locked":false,"title":"print CG on error only in debug mode","user":{"login":"msperber","id":1821303,"node_id":"MDQ6VXNlcjE4MjEzMDM=","avatar_url":"https://avatars2.githubusercontent.com/u/1821303?v=4","gravatar_id":"","url":"https://api.github.com/users/msperber","html_url":"https://github.com/msperber","followers_url":"https://api.github.com/users/msperber/followers","following_url":"https://api.github.com/users/msperber/following{/other_user}","gists_url":"https://api.github.com/users/msperber/gists{/gist_id}","starred_url":"https://api.github.com/users/msperber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msperber/subscriptions","organizations_url":"https://api.github.com/users/msperber/orgs","repos_url":"https://api.github.com/users/msperber/repos","events_url":"https://api.github.com/users/msperber/events{/privacy}","received_events_url":"https://api.github.com/users/msperber/received_events","type":"User","site_admin":false},"body":"My attempt to print it only to file but not stdout was not successful because the DyNet function uses print instead of returning a string, so I changed it to print the CG only with debug settings (solves part of #495).","created_at":"2018-08-14T13:42:21Z","updated_at":"2018-08-14T13:42:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/neulab/xnmt/pulls/517/commits","review_comments_url":"https://api.github.com/repos/neulab/xnmt/pulls/517/comments","review_comment_url":"https://api.github.com/repos/neulab/xnmt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/neulab/xnmt/issues/517/comments","statuses_url":"https://api.github.com/repos/neulab/xnmt/statuses/f4729a251c90184e6c8e3589bcacfcb3bafee575","head":{"label":"neulab:cg-to-file","ref":"cg-to-file","sha":"f4729a251c90184e6c8e3589bcacfcb3bafee575","user":{"login":"neulab","id":22324665,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMzI0NjY1","avatar_url":"https://avatars2.githubusercontent.com/u/22324665?v=4","gravatar_id":"","url":"https://api.github.com/users/neulab","html_url":"https://github.com/neulab","followers_url":"https://api.github.com/users/neulab/followers","following_url":"https://api.github.com/users/neulab/following{/other_user}","gists_url":"https://api.github.com/users/neulab/gists{/gist_id}","starred_url":"https://api.github.com/users/neulab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neulab/subscriptions","organizations_url":"https://api.github.com/users/neulab/orgs","repos_url":"https://api.github.com/users/neulab/repos","events_url":"https://api.github.com/users/neulab/events{/privacy}","received_events_url":"https://api.github.com/users/neulab/received_events","type":"Organization","site_admin":false},"repo":{"id":79833244,"node_id":"MDEwOlJlcG9zaXRvcnk3OTgzMzI0NA==","name":"xnmt","full_name":"neulab/xnmt","owner":{"login":"neulab","id":22324665,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMzI0NjY1","avatar_url":"https://avatars2.githubusercontent.com/u/22324665?v=4","gravatar_id":"","url":"https://api.github.com/users/neulab","html_url":"https://github.com/neulab","followers_url":"https://api.github.com/users/neulab/followers","following_url":"https://api.github.com/users/neulab/following{/other_user}","gists_url":"https://api.github.com/users/neulab/gists{/gist_id}","starred_url":"https://api.github.com/users/neulab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neulab/subscriptions","organizations_url":"https://api.github.com/users/neulab/orgs","repos_url":"https://api.github.com/users/neulab/repos","events_url":"https://api.github.com/users/neulab/events{/privacy}","received_events_url":"https://api.github.com/users/neulab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/neulab/xnmt","description":"eXtensible Neural Machine Translation","fork":false,"url":"https://api.github.com/repos/neulab/xnmt","forks_url":"https://api.github.com/repos/neulab/xnmt/forks","keys_url":"https://api.github.com/repos/neulab/xnmt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neulab/xnmt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neulab/xnmt/teams","hooks_url":"https://api.github.com/repos/neulab/xnmt/hooks","issue_events_url":"https://api.github.com/repos/neulab/xnmt/issues/events{/number}","events_url":"https://api.github.com/repos/neulab/xnmt/events","assignees_url":"https://api.github.com/repos/neulab/xnmt/assignees{/user}","branches_url":"https://api.github.com/repos/neulab/xnmt/branches{/branch}","tags_url":"https://api.github.com/repos/neulab/xnmt/tags","blobs_url":"https://api.github.com/repos/neulab/xnmt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neulab/xnmt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neulab/xnmt/git/refs{/sha}","trees_url":"https://api.github.com/repos/neulab/xnmt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neulab/xnmt/statuses/{sha}","languages_url":"https://api.github.com/repos/neulab/xnmt/languages","stargazers_url":"https://api.github.com/repos/neulab/xnmt/stargazers","contributors_url":"https://api.github.com/repos/neulab/xnmt/contributors","subscribers_url":"https://api.github.com/repos/neulab/xnmt/subscribers","subscription_url":"https://api.github.com/repos/neulab/xnmt/subscription","commits_url":"https://api.github.com/repos/neulab/xnmt/commits{/sha}","git_commits_url":"https://api.github.com/repos/neulab/xnmt/git/commits{/sha}","comments_url":"https://api.github.com/repos/neulab/xnmt/comments{/number}","issue_comment_url":"https://api.github.com/repos/neulab/xnmt/issues/comments{/number}","contents_url":"https://api.github.com/repos/neulab/xnmt/contents/{+path}","compare_url":"https://api.github.com/repos/neulab/xnmt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neulab/xnmt/merges","archive_url":"https://api.github.com/repos/neulab/xnmt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neulab/xnmt/downloads","issues_url":"https://api.github.com/repos/neulab/xnmt/issues{/number}","pulls_url":"https://api.github.com/repos/neulab/xnmt/pulls{/number}","milestones_url":"https://api.github.com/repos/neulab/xnmt/milestones{/number}","notifications_url":"https://api.github.com/repos/neulab/xnmt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neulab/xnmt/labels{/name}","releases_url":"https://api.github.com/repos/neulab/xnmt/releases{/id}","deployments_url":"https://api.github.com/repos/neulab/xnmt/deployments","created_at":"2017-01-23T18:18:54Z","updated_at":"2018-08-14T07:35:57Z","pushed_at":"2018-08-14T13:40:02Z","git_url":"git://github.com/neulab/xnmt.git","ssh_url":"git@github.com:neulab/xnmt.git","clone_url":"https://github.com/neulab/xnmt.git","svn_url":"https://github.com/neulab/xnmt","homepage":null,"size":17081,"stargazers_count":98,"watchers_count":98,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"archived":false,"open_issues_count":39,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":27,"open_issues":39,"watchers":98,"default_branch":"master"}},"base":{"label":"neulab:master","ref":"master","sha":"38f5089a47e681b43bcda0bd61185b70a84fdff8","user":{"login":"neulab","id":22324665,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMzI0NjY1","avatar_url":"https://avatars2.githubusercontent.com/u/22324665?v=4","gravatar_id":"","url":"https://api.github.com/users/neulab","html_url":"https://github.com/neulab","followers_url":"https://api.github.com/users/neulab/followers","following_url":"https://api.github.com/users/neulab/following{/other_user}","gists_url":"https://api.github.com/users/neulab/gists{/gist_id}","starred_url":"https://api.github.com/users/neulab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neulab/subscriptions","organizations_url":"https://api.github.com/users/neulab/orgs","repos_url":"https://api.github.com/users/neulab/repos","events_url":"https://api.github.com/users/neulab/events{/privacy}","received_events_url":"https://api.github.com/users/neulab/received_events","type":"Organization","site_admin":false},"repo":{"id":79833244,"node_id":"MDEwOlJlcG9zaXRvcnk3OTgzMzI0NA==","name":"xnmt","full_name":"neulab/xnmt","owner":{"login":"neulab","id":22324665,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMzI0NjY1","avatar_url":"https://avatars2.githubusercontent.com/u/22324665?v=4","gravatar_id":"","url":"https://api.github.com/users/neulab","html_url":"https://github.com/neulab","followers_url":"https://api.github.com/users/neulab/followers","following_url":"https://api.github.com/users/neulab/following{/other_user}","gists_url":"https://api.github.com/users/neulab/gists{/gist_id}","starred_url":"https://api.github.com/users/neulab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neulab/subscriptions","organizations_url":"https://api.github.com/users/neulab/orgs","repos_url":"https://api.github.com/users/neulab/repos","events_url":"https://api.github.com/users/neulab/events{/privacy}","received_events_url":"https://api.github.com/users/neulab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/neulab/xnmt","description":"eXtensible Neural Machine Translation","fork":false,"url":"https://api.github.com/repos/neulab/xnmt","forks_url":"https://api.github.com/repos/neulab/xnmt/forks","keys_url":"https://api.github.com/repos/neulab/xnmt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neulab/xnmt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neulab/xnmt/teams","hooks_url":"https://api.github.com/repos/neulab/xnmt/hooks","issue_events_url":"https://api.github.com/repos/neulab/xnmt/issues/events{/number}","events_url":"https://api.github.com/repos/neulab/xnmt/events","assignees_url":"https://api.github.com/repos/neulab/xnmt/assignees{/user}","branches_url":"https://api.github.com/repos/neulab/xnmt/branches{/branch}","tags_url":"https://api.github.com/repos/neulab/xnmt/tags","blobs_url":"https://api.github.com/repos/neulab/xnmt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neulab/xnmt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neulab/xnmt/git/refs{/sha}","trees_url":"https://api.github.com/repos/neulab/xnmt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neulab/xnmt/statuses/{sha}","languages_url":"https://api.github.com/repos/neulab/xnmt/languages","stargazers_url":"https://api.github.com/repos/neulab/xnmt/stargazers","contributors_url":"https://api.github.com/repos/neulab/xnmt/contributors","subscribers_url":"https://api.github.com/repos/neulab/xnmt/subscribers","subscription_url":"https://api.github.com/repos/neulab/xnmt/subscription","commits_url":"https://api.github.com/repos/neulab/xnmt/commits{/sha}","git_commits_url":"https://api.github.com/repos/neulab/xnmt/git/commits{/sha}","comments_url":"https://api.github.com/repos/neulab/xnmt/comments{/number}","issue_comment_url":"https://api.github.com/repos/neulab/xnmt/issues/comments{/number}","contents_url":"https://api.github.com/repos/neulab/xnmt/contents/{+path}","compare_url":"https://api.github.com/repos/neulab/xnmt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neulab/xnmt/merges","archive_url":"https://api.github.com/repos/neulab/xnmt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neulab/xnmt/downloads","issues_url":"https://api.github.com/repos/neulab/xnmt/issues{/number}","pulls_url":"https://api.github.com/repos/neulab/xnmt/pulls{/number}","milestones_url":"https://api.github.com/repos/neulab/xnmt/milestones{/number}","notifications_url":"https://api.github.com/repos/neulab/xnmt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neulab/xnmt/labels{/name}","releases_url":"https://api.github.com/repos/neulab/xnmt/releases{/id}","deployments_url":"https://api.github.com/repos/neulab/xnmt/deployments","created_at":"2017-01-23T18:18:54Z","updated_at":"2018-08-14T07:35:57Z","pushed_at":"2018-08-14T13:40:02Z","git_url":"git://github.com/neulab/xnmt.git","ssh_url":"git@github.com:neulab/xnmt.git","clone_url":"https://github.com/neulab/xnmt.git","svn_url":"https://github.com/neulab/xnmt","homepage":null,"size":17081,"stargazers_count":98,"watchers_count":98,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"archived":false,"open_issues_count":39,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":27,"open_issues":39,"watchers":98,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/neulab/xnmt/pulls/517"},"html":{"href":"https://github.com/neulab/xnmt/pull/517"},"issue":{"href":"https://api.github.com/repos/neulab/xnmt/issues/517"},"comments":{"href":"https://api.github.com/repos/neulab/xnmt/issues/517/comments"},"review_comments":{"href":"https://api.github.com/repos/neulab/xnmt/pulls/517/comments"},"review_comment":{"href":"https://api.github.com/repos/neulab/xnmt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/neulab/xnmt/pulls/517/commits"},"statuses":{"href":"https://api.github.com/repos/neulab/xnmt/statuses/f4729a251c90184e6c8e3589bcacfcb3bafee575"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":12,"deletions":3,"changed_files":5}}
{"actor":{"display_login":"msperber"}}