{"action":"created","comment":{"url":"https://api.github.com/repos/swcarpentry/site/pulls/comments/42649808","id":42649808,"diff_hunk":"@@ -0,0 +1,126 @@\n+---\n+layout: blog\n+author: David Pérez-Suárez\n+title: \"Code Review - a needed habit in science\"\n+date: 2015-10-21\n+time: \"15:30:00\"\n+category: [\"opinion\"]\n+---\n+<!-- start excerpt -->\n+<p>\n+  More than a year ago, Marian Petre and Greg Wilson wrote an article\n+about <a href=\"http://arxiv.org/abs/1407.5648\">reviewing code</a>, but\n+I was not aware of it till this week when Greg talked about their\n+findings in a workshop in London\n+(though <a href=\"{{page.root}}/blog/2014/01/code-review-round-2.html\">it\n+had been mentioned here before</a>).  I have been reviewing code for\n+years, however I have not realised that I was doing so till GitHub\n+made it easy. When I read code from others feels the same way that\n+when I am proofreading a Spanish text, where you have to pay attention\n+to the orthography, the grammar and that it says what it's meant to","path":"blog/2015/10/code-review-habit.html","position":20,"original_position":20,"commit_id":"a0d810d2561ded24b8711380d8487f92c806625f","original_commit_id":"a0d810d2561ded24b8711380d8487f92c806625f","user":{"login":"jiffyclub","id":920492,"avatar_url":"https://avatars.githubusercontent.com/u/920492?v=3","gravatar_id":"","url":"https://api.github.com/users/jiffyclub","html_url":"https://github.com/jiffyclub","followers_url":"https://api.github.com/users/jiffyclub/followers","following_url":"https://api.github.com/users/jiffyclub/following{/other_user}","gists_url":"https://api.github.com/users/jiffyclub/gists{/gist_id}","starred_url":"https://api.github.com/users/jiffyclub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiffyclub/subscriptions","organizations_url":"https://api.github.com/users/jiffyclub/orgs","repos_url":"https://api.github.com/users/jiffyclub/repos","events_url":"https://api.github.com/users/jiffyclub/events{/privacy}","received_events_url":"https://api.github.com/users/jiffyclub/received_events","type":"User","site_admin":false},"body":"\"that\" -> \"whether\"","created_at":"2015-10-21T16:47:28Z","updated_at":"2015-10-21T16:47:28Z","html_url":"https://github.com/swcarpentry/site/pull/1133#discussion_r42649808","pull_request_url":"https://api.github.com/repos/swcarpentry/site/pulls/1133","_links":{"self":{"href":"https://api.github.com/repos/swcarpentry/site/pulls/comments/42649808"},"html":{"href":"https://github.com/swcarpentry/site/pull/1133#discussion_r42649808"},"pull_request":{"href":"https://api.github.com/repos/swcarpentry/site/pulls/1133"}}},"pull_request":{"url":"https://api.github.com/repos/swcarpentry/site/pulls/1133","id":48354770,"html_url":"https://github.com/swcarpentry/site/pull/1133","diff_url":"https://github.com/swcarpentry/site/pull/1133.diff","patch_url":"https://github.com/swcarpentry/site/pull/1133.patch","issue_url":"https://api.github.com/repos/swcarpentry/site/issues/1133","number":1133,"state":"open","locked":false,"title":"New blog post about a code review exercise","user":{"login":"dpshelio","id":963242,"avatar_url":"https://avatars.githubusercontent.com/u/963242?v=3","gravatar_id":"","url":"https://api.github.com/users/dpshelio","html_url":"https://github.com/dpshelio","followers_url":"https://api.github.com/users/dpshelio/followers","following_url":"https://api.github.com/users/dpshelio/following{/other_user}","gists_url":"https://api.github.com/users/dpshelio/gists{/gist_id}","starred_url":"https://api.github.com/users/dpshelio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpshelio/subscriptions","organizations_url":"https://api.github.com/users/dpshelio/orgs","repos_url":"https://api.github.com/users/dpshelio/repos","events_url":"https://api.github.com/users/dpshelio/events{/privacy}","received_events_url":"https://api.github.com/users/dpshelio/received_events","type":"User","site_admin":false},"body":"This blog post relates the experiences of a couple of code review exercises I've done at my work place.\r\n\r\n@gvwilson  I hope you are not too mad that I've done it 8 hours after the deadline.","created_at":"2015-10-21T16:23:55Z","updated_at":"2015-10-21T16:47:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1bee6dede690a25f4cc558037b511a7ff53b7449","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/swcarpentry/site/pulls/1133/commits","review_comments_url":"https://api.github.com/repos/swcarpentry/site/pulls/1133/comments","review_comment_url":"https://api.github.com/repos/swcarpentry/site/pulls/comments{/number}","comments_url":"https://api.github.com/repos/swcarpentry/site/issues/1133/comments","statuses_url":"https://api.github.com/repos/swcarpentry/site/statuses/a0d810d2561ded24b8711380d8487f92c806625f","head":{"label":"dpshelio:codereview","ref":"codereview","sha":"a0d810d2561ded24b8711380d8487f92c806625f","user":{"login":"dpshelio","id":963242,"avatar_url":"https://avatars.githubusercontent.com/u/963242?v=3","gravatar_id":"","url":"https://api.github.com/users/dpshelio","html_url":"https://github.com/dpshelio","followers_url":"https://api.github.com/users/dpshelio/followers","following_url":"https://api.github.com/users/dpshelio/following{/other_user}","gists_url":"https://api.github.com/users/dpshelio/gists{/gist_id}","starred_url":"https://api.github.com/users/dpshelio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpshelio/subscriptions","organizations_url":"https://api.github.com/users/dpshelio/orgs","repos_url":"https://api.github.com/users/dpshelio/repos","events_url":"https://api.github.com/users/dpshelio/events{/privacy}","received_events_url":"https://api.github.com/users/dpshelio/received_events","type":"User","site_admin":false},"repo":{"id":19059457,"name":"swc-site","full_name":"dpshelio/swc-site","owner":{"login":"dpshelio","id":963242,"avatar_url":"https://avatars.githubusercontent.com/u/963242?v=3","gravatar_id":"","url":"https://api.github.com/users/dpshelio","html_url":"https://github.com/dpshelio","followers_url":"https://api.github.com/users/dpshelio/followers","following_url":"https://api.github.com/users/dpshelio/following{/other_user}","gists_url":"https://api.github.com/users/dpshelio/gists{/gist_id}","starred_url":"https://api.github.com/users/dpshelio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpshelio/subscriptions","organizations_url":"https://api.github.com/users/dpshelio/orgs","repos_url":"https://api.github.com/users/dpshelio/repos","events_url":"https://api.github.com/users/dpshelio/events{/privacy}","received_events_url":"https://api.github.com/users/dpshelio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dpshelio/swc-site","description":"Software Carpentry web site.","fork":true,"url":"https://api.github.com/repos/dpshelio/swc-site","forks_url":"https://api.github.com/repos/dpshelio/swc-site/forks","keys_url":"https://api.github.com/repos/dpshelio/swc-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dpshelio/swc-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dpshelio/swc-site/teams","hooks_url":"https://api.github.com/repos/dpshelio/swc-site/hooks","issue_events_url":"https://api.github.com/repos/dpshelio/swc-site/issues/events{/number}","events_url":"https://api.github.com/repos/dpshelio/swc-site/events","assignees_url":"https://api.github.com/repos/dpshelio/swc-site/assignees{/user}","branches_url":"https://api.github.com/repos/dpshelio/swc-site/branches{/branch}","tags_url":"https://api.github.com/repos/dpshelio/swc-site/tags","blobs_url":"https://api.github.com/repos/dpshelio/swc-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dpshelio/swc-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dpshelio/swc-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/dpshelio/swc-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dpshelio/swc-site/statuses/{sha}","languages_url":"https://api.github.com/repos/dpshelio/swc-site/languages","stargazers_url":"https://api.github.com/repos/dpshelio/swc-site/stargazers","contributors_url":"https://api.github.com/repos/dpshelio/swc-site/contributors","subscribers_url":"https://api.github.com/repos/dpshelio/swc-site/subscribers","subscription_url":"https://api.github.com/repos/dpshelio/swc-site/subscription","commits_url":"https://api.github.com/repos/dpshelio/swc-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/dpshelio/swc-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/dpshelio/swc-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/dpshelio/swc-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/dpshelio/swc-site/contents/{+path}","compare_url":"https://api.github.com/repos/dpshelio/swc-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dpshelio/swc-site/merges","archive_url":"https://api.github.com/repos/dpshelio/swc-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dpshelio/swc-site/downloads","issues_url":"https://api.github.com/repos/dpshelio/swc-site/issues{/number}","pulls_url":"https://api.github.com/repos/dpshelio/swc-site/pulls{/number}","milestones_url":"https://api.github.com/repos/dpshelio/swc-site/milestones{/number}","notifications_url":"https://api.github.com/repos/dpshelio/swc-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dpshelio/swc-site/labels{/name}","releases_url":"https://api.github.com/repos/dpshelio/swc-site/releases{/id}","created_at":"2014-04-23T06:29:54Z","updated_at":"2015-10-21T16:28:44Z","pushed_at":"2015-10-21T16:28:35Z","git_url":"git://github.com/dpshelio/swc-site.git","ssh_url":"git@github.com:dpshelio/swc-site.git","clone_url":"https://github.com/dpshelio/swc-site.git","svn_url":"https://github.com/dpshelio/swc-site","homepage":null,"size":101901,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"swcarpentry:master","ref":"master","sha":"51ff5f1f0874e7b82e1728f23773fcaca76fca4c","user":{"login":"swcarpentry","id":2238358,"avatar_url":"https://avatars.githubusercontent.com/u/2238358?v=3","gravatar_id":"","url":"https://api.github.com/users/swcarpentry","html_url":"https://github.com/swcarpentry","followers_url":"https://api.github.com/users/swcarpentry/followers","following_url":"https://api.github.com/users/swcarpentry/following{/other_user}","gists_url":"https://api.github.com/users/swcarpentry/gists{/gist_id}","starred_url":"https://api.github.com/users/swcarpentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swcarpentry/subscriptions","organizations_url":"https://api.github.com/users/swcarpentry/orgs","repos_url":"https://api.github.com/users/swcarpentry/repos","events_url":"https://api.github.com/users/swcarpentry/events{/privacy}","received_events_url":"https://api.github.com/users/swcarpentry/received_events","type":"Organization","site_admin":false},"repo":{"id":11396385,"name":"site","full_name":"swcarpentry/site","owner":{"login":"swcarpentry","id":2238358,"avatar_url":"https://avatars.githubusercontent.com/u/2238358?v=3","gravatar_id":"","url":"https://api.github.com/users/swcarpentry","html_url":"https://github.com/swcarpentry","followers_url":"https://api.github.com/users/swcarpentry/followers","following_url":"https://api.github.com/users/swcarpentry/following{/other_user}","gists_url":"https://api.github.com/users/swcarpentry/gists{/gist_id}","starred_url":"https://api.github.com/users/swcarpentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swcarpentry/subscriptions","organizations_url":"https://api.github.com/users/swcarpentry/orgs","repos_url":"https://api.github.com/users/swcarpentry/repos","events_url":"https://api.github.com/users/swcarpentry/events{/privacy}","received_events_url":"https://api.github.com/users/swcarpentry/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/swcarpentry/site","description":"Software Carpentry web site.","fork":false,"url":"https://api.github.com/repos/swcarpentry/site","forks_url":"https://api.github.com/repos/swcarpentry/site/forks","keys_url":"https://api.github.com/repos/swcarpentry/site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swcarpentry/site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swcarpentry/site/teams","hooks_url":"https://api.github.com/repos/swcarpentry/site/hooks","issue_events_url":"https://api.github.com/repos/swcarpentry/site/issues/events{/number}","events_url":"https://api.github.com/repos/swcarpentry/site/events","assignees_url":"https://api.github.com/repos/swcarpentry/site/assignees{/user}","branches_url":"https://api.github.com/repos/swcarpentry/site/branches{/branch}","tags_url":"https://api.github.com/repos/swcarpentry/site/tags","blobs_url":"https://api.github.com/repos/swcarpentry/site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swcarpentry/site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swcarpentry/site/git/refs{/sha}","trees_url":"https://api.github.com/repos/swcarpentry/site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swcarpentry/site/statuses/{sha}","languages_url":"https://api.github.com/repos/swcarpentry/site/languages","stargazers_url":"https://api.github.com/repos/swcarpentry/site/stargazers","contributors_url":"https://api.github.com/repos/swcarpentry/site/contributors","subscribers_url":"https://api.github.com/repos/swcarpentry/site/subscribers","subscription_url":"https://api.github.com/repos/swcarpentry/site/subscription","commits_url":"https://api.github.com/repos/swcarpentry/site/commits{/sha}","git_commits_url":"https://api.github.com/repos/swcarpentry/site/git/commits{/sha}","comments_url":"https://api.github.com/repos/swcarpentry/site/comments{/number}","issue_comment_url":"https://api.github.com/repos/swcarpentry/site/issues/comments{/number}","contents_url":"https://api.github.com/repos/swcarpentry/site/contents/{+path}","compare_url":"https://api.github.com/repos/swcarpentry/site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swcarpentry/site/merges","archive_url":"https://api.github.com/repos/swcarpentry/site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swcarpentry/site/downloads","issues_url":"https://api.github.com/repos/swcarpentry/site/issues{/number}","pulls_url":"https://api.github.com/repos/swcarpentry/site/pulls{/number}","milestones_url":"https://api.github.com/repos/swcarpentry/site/milestones{/number}","notifications_url":"https://api.github.com/repos/swcarpentry/site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swcarpentry/site/labels{/name}","releases_url":"https://api.github.com/repos/swcarpentry/site/releases{/id}","created_at":"2013-07-14T00:49:11Z","updated_at":"2015-10-21T05:45:13Z","pushed_at":"2015-10-21T16:23:55Z","git_url":"git://github.com/swcarpentry/site.git","ssh_url":"git@github.com:swcarpentry/site.git","clone_url":"https://github.com/swcarpentry/site.git","svn_url":"https://github.com/swcarpentry/site","homepage":null,"size":110138,"stargazers_count":55,"watchers_count":55,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":164,"mirror_url":null,"open_issues_count":45,"forks":164,"open_issues":45,"watchers":55,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/swcarpentry/site/pulls/1133"},"html":{"href":"https://github.com/swcarpentry/site/pull/1133"},"issue":{"href":"https://api.github.com/repos/swcarpentry/site/issues/1133"},"comments":{"href":"https://api.github.com/repos/swcarpentry/site/issues/1133/comments"},"review_comments":{"href":"https://api.github.com/repos/swcarpentry/site/pulls/1133/comments"},"review_comment":{"href":"https://api.github.com/repos/swcarpentry/site/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/swcarpentry/site/pulls/1133/commits"},"statuses":{"href":"https://api.github.com/repos/swcarpentry/site/statuses/a0d810d2561ded24b8711380d8487f92c806625f"}}}}