{"action":"created","comment":{"url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/pulls/comments/31004283","id":31004283,"diff_hunk":"@@ -452,20 +452,38 @@ we'd be writing up our results and moving on to the next program.\n In practice,\n scientists tend to do the following:\n \n-1.  *Test with simplified data.*\n-    Before doing statistics on a real data set,\n-    we should try calculating statistics for a single record,\n-    for two identical records,\n+1.  *Test with artificial data*\n+\tWhile we write our program, we can create artifical data that mimics \n+\tour expected real data but exaggerates the features we wish to detect. By doing\n+\tthis, we have a way of validating that our program is actually performing the \n+\tprocessing we want as the exaggerated features should show a strong response\n+\tin the programs output. We need to create a range of artifical data so that we can \n+\tconfirm that our program correctly responds to a range of different inputs. \n+\tAdditionally we should create \"null data\" that consist of only noise so\n+\twe can check that that the program does not produce false postives. ","path":"07-defensive.md","position":16,"original_position":16,"commit_id":"4de6080876cffc384b298b374717cd00b2e7262e","original_commit_id":"4de6080876cffc384b298b374717cd00b2e7262e","user":{"login":"QuLogic","id":302469,"avatar_url":"https://avatars.githubusercontent.com/u/302469?v=3","gravatar_id":"","url":"https://api.github.com/users/QuLogic","html_url":"https://github.com/QuLogic","followers_url":"https://api.github.com/users/QuLogic/followers","following_url":"https://api.github.com/users/QuLogic/following{/other_user}","gists_url":"https://api.github.com/users/QuLogic/gists{/gist_id}","starred_url":"https://api.github.com/users/QuLogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QuLogic/subscriptions","organizations_url":"https://api.github.com/users/QuLogic/orgs","repos_url":"https://api.github.com/users/QuLogic/repos","events_url":"https://api.github.com/users/QuLogic/events{/privacy}","received_events_url":"https://api.github.com/users/QuLogic/received_events","type":"User","site_admin":false},"body":"There are two \"that\" in this sentence.","created_at":"2015-05-26T04:40:16Z","updated_at":"2015-05-26T04:40:16Z","html_url":"https://github.com/swcarpentry/python-novice-inflammation/pull/58#discussion_r31004283","pull_request_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/pulls/58","_links":{"self":{"href":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/pulls/comments/31004283"},"html":{"href":"https://github.com/swcarpentry/python-novice-inflammation/pull/58#discussion_r31004283"},"pull_request":{"href":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/pulls/58"}}},"pull_request":{"url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/pulls/58","id":31832287,"html_url":"https://github.com/swcarpentry/python-novice-inflammation/pull/58","diff_url":"https://github.com/swcarpentry/python-novice-inflammation/pull/58.diff","patch_url":"https://github.com/swcarpentry/python-novice-inflammation/pull/58.patch","issue_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/issues/58","number":58,"state":"open","locked":false,"title":"Added a new section on testing a program with artifical data","user":{"login":"durian888","id":1119611,"avatar_url":"https://avatars.githubusercontent.com/u/1119611?v=3","gravatar_id":"","url":"https://api.github.com/users/durian888","html_url":"https://github.com/durian888","followers_url":"https://api.github.com/users/durian888/followers","following_url":"https://api.github.com/users/durian888/following{/other_user}","gists_url":"https://api.github.com/users/durian888/gists{/gist_id}","starred_url":"https://api.github.com/users/durian888/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/durian888/subscriptions","organizations_url":"https://api.github.com/users/durian888/orgs","repos_url":"https://api.github.com/users/durian888/repos","events_url":"https://api.github.com/users/durian888/events{/privacy}","received_events_url":"https://api.github.com/users/durian888/received_events","type":"User","site_admin":false},"body":"also merged two other sections dealing with simplified data\r\n\r\nThis is my pull request required to complete instructor training - it is also my first pull request on git hub so please except my apologies if things do not go entirely to plan.\r\n\r\n","created_at":"2015-03-24T14:40:18Z","updated_at":"2015-05-26T04:40:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a62c041617cd18c52c617ea87a3059f6dec83831","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/pulls/58/commits","review_comments_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/pulls/58/comments","review_comment_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/issues/58/comments","statuses_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/statuses/4de6080876cffc384b298b374717cd00b2e7262e","head":{"label":"durian888:gh-pages","ref":"gh-pages","sha":"4de6080876cffc384b298b374717cd00b2e7262e","user":{"login":"durian888","id":1119611,"avatar_url":"https://avatars.githubusercontent.com/u/1119611?v=3","gravatar_id":"","url":"https://api.github.com/users/durian888","html_url":"https://github.com/durian888","followers_url":"https://api.github.com/users/durian888/followers","following_url":"https://api.github.com/users/durian888/following{/other_user}","gists_url":"https://api.github.com/users/durian888/gists{/gist_id}","starred_url":"https://api.github.com/users/durian888/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/durian888/subscriptions","organizations_url":"https://api.github.com/users/durian888/orgs","repos_url":"https://api.github.com/users/durian888/repos","events_url":"https://api.github.com/users/durian888/events{/privacy}","received_events_url":"https://api.github.com/users/durian888/received_events","type":"User","site_admin":false},"repo":{"id":32803169,"name":"python-novice-inflammation","full_name":"durian888/python-novice-inflammation","owner":{"login":"durian888","id":1119611,"avatar_url":"https://avatars.githubusercontent.com/u/1119611?v=3","gravatar_id":"","url":"https://api.github.com/users/durian888","html_url":"https://github.com/durian888","followers_url":"https://api.github.com/users/durian888/followers","following_url":"https://api.github.com/users/durian888/following{/other_user}","gists_url":"https://api.github.com/users/durian888/gists{/gist_id}","starred_url":"https://api.github.com/users/durian888/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/durian888/subscriptions","organizations_url":"https://api.github.com/users/durian888/orgs","repos_url":"https://api.github.com/users/durian888/repos","events_url":"https://api.github.com/users/durian888/events{/privacy}","received_events_url":"https://api.github.com/users/durian888/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/durian888/python-novice-inflammation","description":"Software Carpentry introduction to Python for novices using inflammation data.","fork":true,"url":"https://api.github.com/repos/durian888/python-novice-inflammation","forks_url":"https://api.github.com/repos/durian888/python-novice-inflammation/forks","keys_url":"https://api.github.com/repos/durian888/python-novice-inflammation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/durian888/python-novice-inflammation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/durian888/python-novice-inflammation/teams","hooks_url":"https://api.github.com/repos/durian888/python-novice-inflammation/hooks","issue_events_url":"https://api.github.com/repos/durian888/python-novice-inflammation/issues/events{/number}","events_url":"https://api.github.com/repos/durian888/python-novice-inflammation/events","assignees_url":"https://api.github.com/repos/durian888/python-novice-inflammation/assignees{/user}","branches_url":"https://api.github.com/repos/durian888/python-novice-inflammation/branches{/branch}","tags_url":"https://api.github.com/repos/durian888/python-novice-inflammation/tags","blobs_url":"https://api.github.com/repos/durian888/python-novice-inflammation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/durian888/python-novice-inflammation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/durian888/python-novice-inflammation/git/refs{/sha}","trees_url":"https://api.github.com/repos/durian888/python-novice-inflammation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/durian888/python-novice-inflammation/statuses/{sha}","languages_url":"https://api.github.com/repos/durian888/python-novice-inflammation/languages","stargazers_url":"https://api.github.com/repos/durian888/python-novice-inflammation/stargazers","contributors_url":"https://api.github.com/repos/durian888/python-novice-inflammation/contributors","subscribers_url":"https://api.github.com/repos/durian888/python-novice-inflammation/subscribers","subscription_url":"https://api.github.com/repos/durian888/python-novice-inflammation/subscription","commits_url":"https://api.github.com/repos/durian888/python-novice-inflammation/commits{/sha}","git_commits_url":"https://api.github.com/repos/durian888/python-novice-inflammation/git/commits{/sha}","comments_url":"https://api.github.com/repos/durian888/python-novice-inflammation/comments{/number}","issue_comment_url":"https://api.github.com/repos/durian888/python-novice-inflammation/issues/comments{/number}","contents_url":"https://api.github.com/repos/durian888/python-novice-inflammation/contents/{+path}","compare_url":"https://api.github.com/repos/durian888/python-novice-inflammation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/durian888/python-novice-inflammation/merges","archive_url":"https://api.github.com/repos/durian888/python-novice-inflammation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/durian888/python-novice-inflammation/downloads","issues_url":"https://api.github.com/repos/durian888/python-novice-inflammation/issues{/number}","pulls_url":"https://api.github.com/repos/durian888/python-novice-inflammation/pulls{/number}","milestones_url":"https://api.github.com/repos/durian888/python-novice-inflammation/milestones{/number}","notifications_url":"https://api.github.com/repos/durian888/python-novice-inflammation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/durian888/python-novice-inflammation/labels{/name}","releases_url":"https://api.github.com/repos/durian888/python-novice-inflammation/releases{/id}","created_at":"2015-03-24T14:18:05Z","updated_at":"2015-03-24T14:33:28Z","pushed_at":"2015-03-24T14:33:28Z","git_url":"git://github.com/durian888/python-novice-inflammation.git","ssh_url":"git@github.com:durian888/python-novice-inflammation.git","clone_url":"https://github.com/durian888/python-novice-inflammation.git","svn_url":"https://github.com/durian888/python-novice-inflammation","homepage":"http://swcarpentry.github.io/python-novice-inflammation/","size":4291,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"swcarpentry:gh-pages","ref":"gh-pages","sha":"f42c60852c93753ef1e091820164dd8069507e1e","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":27150322,"name":"python-novice-inflammation","full_name":"swcarpentry/python-novice-inflammation","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/python-novice-inflammation","description":"Software Carpentry introduction to Python for novices using inflammation data.","fork":false,"url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation","forks_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/forks","keys_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/teams","hooks_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/hooks","issue_events_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/issues/events{/number}","events_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/events","assignees_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/assignees{/user}","branches_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/branches{/branch}","tags_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/tags","blobs_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/git/refs{/sha}","trees_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/statuses/{sha}","languages_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/languages","stargazers_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/stargazers","contributors_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/contributors","subscribers_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/subscribers","subscription_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/subscription","commits_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/commits{/sha}","git_commits_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/git/commits{/sha}","comments_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/comments{/number}","issue_comment_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/issues/comments{/number}","contents_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/contents/{+path}","compare_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/merges","archive_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/downloads","issues_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/issues{/number}","pulls_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/pulls{/number}","milestones_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/milestones{/number}","notifications_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/labels{/name}","releases_url":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/releases{/id}","created_at":"2014-11-25T23:05:27Z","updated_at":"2015-05-25T15:43:38Z","pushed_at":"2015-05-25T22:33:00Z","git_url":"git://github.com/swcarpentry/python-novice-inflammation.git","ssh_url":"git@github.com:swcarpentry/python-novice-inflammation.git","clone_url":"https://github.com/swcarpentry/python-novice-inflammation.git","svn_url":"https://github.com/swcarpentry/python-novice-inflammation","homepage":"http://swcarpentry.github.io/python-novice-inflammation/","size":7222,"stargazers_count":10,"watchers_count":10,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":72,"mirror_url":null,"open_issues_count":34,"forks":72,"open_issues":34,"watchers":10,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/pulls/58"},"html":{"href":"https://github.com/swcarpentry/python-novice-inflammation/pull/58"},"issue":{"href":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/issues/58"},"comments":{"href":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/swcarpentry/python-novice-inflammation/statuses/4de6080876cffc384b298b374717cd00b2e7262e"}}}}