{"action":"closed","number":203,"pull_request":{"url":"https://api.github.com/repos/jupyter/nbgrader/pulls/203","id":32654109,"html_url":"https://github.com/jupyter/nbgrader/pull/203","diff_url":"https://github.com/jupyter/nbgrader/pull/203.diff","patch_url":"https://github.com/jupyter/nbgrader/pull/203.patch","issue_url":"https://api.github.com/repos/jupyter/nbgrader/issues/203","number":203,"state":"closed","locked":false,"title":"Overwrite files with master version when autograding","user":{"login":"jhamrick","id":83444,"avatar_url":"https://avatars.githubusercontent.com/u/83444?v=3","gravatar_id":"","url":"https://api.github.com/users/jhamrick","html_url":"https://github.com/jhamrick","followers_url":"https://api.github.com/users/jhamrick/followers","following_url":"https://api.github.com/users/jhamrick/following{/other_user}","gists_url":"https://api.github.com/users/jhamrick/gists{/gist_id}","starred_url":"https://api.github.com/users/jhamrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhamrick/subscriptions","organizations_url":"https://api.github.com/users/jhamrick/orgs","repos_url":"https://api.github.com/users/jhamrick/repos","events_url":"https://api.github.com/users/jhamrick/events{/privacy}","received_events_url":"https://api.github.com/users/jhamrick/received_events","type":"User","site_admin":false},"body":"This replaces files with their master versions (if they exist in the source directory) when running `nbgrader autograde`. It does this by breaking up the autograding into two steps: first, a \"sanitize\" step that replaces files, clears outputs, and replaces cells, and second, the actual autograding step where the notebooks are executed and the grades saved into the database.\r\n\r\nFixes #170 \r\n\r\nping @ellisonbg , as I don't want to merge this if it is going to cause any problems for you.\r\n\r\n","created_at":"2015-04-05T20:43:25Z","updated_at":"2015-04-13T19:37:29Z","closed_at":"2015-04-13T19:37:29Z","merged_at":"2015-04-13T19:37:29Z","merge_commit_sha":"0e3cc2465700bdff890a4cfbe5d1ec74f253c335","assignee":null,"milestone":{"url":"https://api.github.com/repos/jupyter/nbgrader/milestones/1","html_url":"https://github.com/jupyter/nbgrader/milestones/1.0","labels_url":"https://api.github.com/repos/jupyter/nbgrader/milestones/1/labels","id":1047534,"number":1,"title":"1.0","description":"","creator":{"login":"jhamrick","id":83444,"avatar_url":"https://avatars.githubusercontent.com/u/83444?v=3","gravatar_id":"","url":"https://api.github.com/users/jhamrick","html_url":"https://github.com/jhamrick","followers_url":"https://api.github.com/users/jhamrick/followers","following_url":"https://api.github.com/users/jhamrick/following{/other_user}","gists_url":"https://api.github.com/users/jhamrick/gists{/gist_id}","starred_url":"https://api.github.com/users/jhamrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhamrick/subscriptions","organizations_url":"https://api.github.com/users/jhamrick/orgs","repos_url":"https://api.github.com/users/jhamrick/repos","events_url":"https://api.github.com/users/jhamrick/events{/privacy}","received_events_url":"https://api.github.com/users/jhamrick/received_events","type":"User","site_admin":false},"open_issues":32,"closed_issues":172,"state":"open","created_at":"2015-03-31T18:36:20Z","updated_at":"2015-04-13T19:37:29Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/jupyter/nbgrader/pulls/203/commits","review_comments_url":"https://api.github.com/repos/jupyter/nbgrader/pulls/203/comments","review_comment_url":"https://api.github.com/repos/jupyter/nbgrader/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jupyter/nbgrader/issues/203/comments","statuses_url":"https://api.github.com/repos/jupyter/nbgrader/statuses/d242745d06bf48588df0ac63b194d45ca531da92","head":{"label":"jhamrick:overwrite-files","ref":"overwrite-files","sha":"d242745d06bf48588df0ac63b194d45ca531da92","user":{"login":"jhamrick","id":83444,"avatar_url":"https://avatars.githubusercontent.com/u/83444?v=3","gravatar_id":"","url":"https://api.github.com/users/jhamrick","html_url":"https://github.com/jhamrick","followers_url":"https://api.github.com/users/jhamrick/followers","following_url":"https://api.github.com/users/jhamrick/following{/other_user}","gists_url":"https://api.github.com/users/jhamrick/gists{/gist_id}","starred_url":"https://api.github.com/users/jhamrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhamrick/subscriptions","organizations_url":"https://api.github.com/users/jhamrick/orgs","repos_url":"https://api.github.com/users/jhamrick/repos","events_url":"https://api.github.com/users/jhamrick/events{/privacy}","received_events_url":"https://api.github.com/users/jhamrick/received_events","type":"User","site_admin":false},"repo":{"id":24038015,"name":"nbgrader","full_name":"jhamrick/nbgrader","owner":{"login":"jhamrick","id":83444,"avatar_url":"https://avatars.githubusercontent.com/u/83444?v=3","gravatar_id":"","url":"https://api.github.com/users/jhamrick","html_url":"https://github.com/jhamrick","followers_url":"https://api.github.com/users/jhamrick/followers","following_url":"https://api.github.com/users/jhamrick/following{/other_user}","gists_url":"https://api.github.com/users/jhamrick/gists{/gist_id}","starred_url":"https://api.github.com/users/jhamrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhamrick/subscriptions","organizations_url":"https://api.github.com/users/jhamrick/orgs","repos_url":"https://api.github.com/users/jhamrick/repos","events_url":"https://api.github.com/users/jhamrick/events{/privacy}","received_events_url":"https://api.github.com/users/jhamrick/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jhamrick/nbgrader","description":"A system for assigning and grading notebooks","fork":true,"url":"https://api.github.com/repos/jhamrick/nbgrader","forks_url":"https://api.github.com/repos/jhamrick/nbgrader/forks","keys_url":"https://api.github.com/repos/jhamrick/nbgrader/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jhamrick/nbgrader/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jhamrick/nbgrader/teams","hooks_url":"https://api.github.com/repos/jhamrick/nbgrader/hooks","issue_events_url":"https://api.github.com/repos/jhamrick/nbgrader/issues/events{/number}","events_url":"https://api.github.com/repos/jhamrick/nbgrader/events","assignees_url":"https://api.github.com/repos/jhamrick/nbgrader/assignees{/user}","branches_url":"https://api.github.com/repos/jhamrick/nbgrader/branches{/branch}","tags_url":"https://api.github.com/repos/jhamrick/nbgrader/tags","blobs_url":"https://api.github.com/repos/jhamrick/nbgrader/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jhamrick/nbgrader/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jhamrick/nbgrader/git/refs{/sha}","trees_url":"https://api.github.com/repos/jhamrick/nbgrader/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jhamrick/nbgrader/statuses/{sha}","languages_url":"https://api.github.com/repos/jhamrick/nbgrader/languages","stargazers_url":"https://api.github.com/repos/jhamrick/nbgrader/stargazers","contributors_url":"https://api.github.com/repos/jhamrick/nbgrader/contributors","subscribers_url":"https://api.github.com/repos/jhamrick/nbgrader/subscribers","subscription_url":"https://api.github.com/repos/jhamrick/nbgrader/subscription","commits_url":"https://api.github.com/repos/jhamrick/nbgrader/commits{/sha}","git_commits_url":"https://api.github.com/repos/jhamrick/nbgrader/git/commits{/sha}","comments_url":"https://api.github.com/repos/jhamrick/nbgrader/comments{/number}","issue_comment_url":"https://api.github.com/repos/jhamrick/nbgrader/issues/comments{/number}","contents_url":"https://api.github.com/repos/jhamrick/nbgrader/contents/{+path}","compare_url":"https://api.github.com/repos/jhamrick/nbgrader/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jhamrick/nbgrader/merges","archive_url":"https://api.github.com/repos/jhamrick/nbgrader/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jhamrick/nbgrader/downloads","issues_url":"https://api.github.com/repos/jhamrick/nbgrader/issues{/number}","pulls_url":"https://api.github.com/repos/jhamrick/nbgrader/pulls{/number}","milestones_url":"https://api.github.com/repos/jhamrick/nbgrader/milestones{/number}","notifications_url":"https://api.github.com/repos/jhamrick/nbgrader/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jhamrick/nbgrader/labels{/name}","releases_url":"https://api.github.com/repos/jhamrick/nbgrader/releases{/id}","created_at":"2014-09-15T01:11:20Z","updated_at":"2015-04-09T19:14:48Z","pushed_at":"2015-04-13T19:35:46Z","git_url":"git://github.com/jhamrick/nbgrader.git","ssh_url":"git@github.com:jhamrick/nbgrader.git","clone_url":"https://github.com/jhamrick/nbgrader.git","svn_url":"https://github.com/jhamrick/nbgrader","homepage":null,"size":3053,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":4,"default_branch":"master"}},"base":{"label":"jupyter:master","ref":"master","sha":"636f215cc8aa04def521eed3338c89544edd3065","user":{"login":"jupyter","id":7388996,"avatar_url":"https://avatars.githubusercontent.com/u/7388996?v=3","gravatar_id":"","url":"https://api.github.com/users/jupyter","html_url":"https://github.com/jupyter","followers_url":"https://api.github.com/users/jupyter/followers","following_url":"https://api.github.com/users/jupyter/following{/other_user}","gists_url":"https://api.github.com/users/jupyter/gists{/gist_id}","starred_url":"https://api.github.com/users/jupyter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jupyter/subscriptions","organizations_url":"https://api.github.com/users/jupyter/orgs","repos_url":"https://api.github.com/users/jupyter/repos","events_url":"https://api.github.com/users/jupyter/events{/privacy}","received_events_url":"https://api.github.com/users/jupyter/received_events","type":"Organization","site_admin":false},"repo":{"id":23984796,"name":"nbgrader","full_name":"jupyter/nbgrader","owner":{"login":"jupyter","id":7388996,"avatar_url":"https://avatars.githubusercontent.com/u/7388996?v=3","gravatar_id":"","url":"https://api.github.com/users/jupyter","html_url":"https://github.com/jupyter","followers_url":"https://api.github.com/users/jupyter/followers","following_url":"https://api.github.com/users/jupyter/following{/other_user}","gists_url":"https://api.github.com/users/jupyter/gists{/gist_id}","starred_url":"https://api.github.com/users/jupyter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jupyter/subscriptions","organizations_url":"https://api.github.com/users/jupyter/orgs","repos_url":"https://api.github.com/users/jupyter/repos","events_url":"https://api.github.com/users/jupyter/events{/privacy}","received_events_url":"https://api.github.com/users/jupyter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jupyter/nbgrader","description":"A system for assigning and grading notebooks","fork":false,"url":"https://api.github.com/repos/jupyter/nbgrader","forks_url":"https://api.github.com/repos/jupyter/nbgrader/forks","keys_url":"https://api.github.com/repos/jupyter/nbgrader/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jupyter/nbgrader/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jupyter/nbgrader/teams","hooks_url":"https://api.github.com/repos/jupyter/nbgrader/hooks","issue_events_url":"https://api.github.com/repos/jupyter/nbgrader/issues/events{/number}","events_url":"https://api.github.com/repos/jupyter/nbgrader/events","assignees_url":"https://api.github.com/repos/jupyter/nbgrader/assignees{/user}","branches_url":"https://api.github.com/repos/jupyter/nbgrader/branches{/branch}","tags_url":"https://api.github.com/repos/jupyter/nbgrader/tags","blobs_url":"https://api.github.com/repos/jupyter/nbgrader/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jupyter/nbgrader/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jupyter/nbgrader/git/refs{/sha}","trees_url":"https://api.github.com/repos/jupyter/nbgrader/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jupyter/nbgrader/statuses/{sha}","languages_url":"https://api.github.com/repos/jupyter/nbgrader/languages","stargazers_url":"https://api.github.com/repos/jupyter/nbgrader/stargazers","contributors_url":"https://api.github.com/repos/jupyter/nbgrader/contributors","subscribers_url":"https://api.github.com/repos/jupyter/nbgrader/subscribers","subscription_url":"https://api.github.com/repos/jupyter/nbgrader/subscription","commits_url":"https://api.github.com/repos/jupyter/nbgrader/commits{/sha}","git_commits_url":"https://api.github.com/repos/jupyter/nbgrader/git/commits{/sha}","comments_url":"https://api.github.com/repos/jupyter/nbgrader/comments{/number}","issue_comment_url":"https://api.github.com/repos/jupyter/nbgrader/issues/comments{/number}","contents_url":"https://api.github.com/repos/jupyter/nbgrader/contents/{+path}","compare_url":"https://api.github.com/repos/jupyter/nbgrader/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jupyter/nbgrader/merges","archive_url":"https://api.github.com/repos/jupyter/nbgrader/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jupyter/nbgrader/downloads","issues_url":"https://api.github.com/repos/jupyter/nbgrader/issues{/number}","pulls_url":"https://api.github.com/repos/jupyter/nbgrader/pulls{/number}","milestones_url":"https://api.github.com/repos/jupyter/nbgrader/milestones{/number}","notifications_url":"https://api.github.com/repos/jupyter/nbgrader/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jupyter/nbgrader/labels{/name}","releases_url":"https://api.github.com/repos/jupyter/nbgrader/releases{/id}","created_at":"2014-09-13T03:27:36Z","updated_at":"2015-04-12T18:40:59Z","pushed_at":"2015-04-13T19:37:29Z","git_url":"git://github.com/jupyter/nbgrader.git","ssh_url":"git@github.com:jupyter/nbgrader.git","clone_url":"https://github.com/jupyter/nbgrader.git","svn_url":"https://github.com/jupyter/nbgrader","homepage":null,"size":4278,"stargazers_count":38,"watchers_count":38,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":50,"forks":8,"open_issues":50,"watchers":38,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jupyter/nbgrader/pulls/203"},"html":{"href":"https://github.com/jupyter/nbgrader/pull/203"},"issue":{"href":"https://api.github.com/repos/jupyter/nbgrader/issues/203"},"comments":{"href":"https://api.github.com/repos/jupyter/nbgrader/issues/203/comments"},"review_comments":{"href":"https://api.github.com/repos/jupyter/nbgrader/pulls/203/comments"},"review_comment":{"href":"https://api.github.com/repos/jupyter/nbgrader/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jupyter/nbgrader/pulls/203/commits"},"statuses":{"href":"https://api.github.com/repos/jupyter/nbgrader/statuses/d242745d06bf48588df0ac63b194d45ca531da92"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jhamrick","id":83444,"avatar_url":"https://avatars.githubusercontent.com/u/83444?v=3","gravatar_id":"","url":"https://api.github.com/users/jhamrick","html_url":"https://github.com/jhamrick","followers_url":"https://api.github.com/users/jhamrick/followers","following_url":"https://api.github.com/users/jhamrick/following{/other_user}","gists_url":"https://api.github.com/users/jhamrick/gists{/gist_id}","starred_url":"https://api.github.com/users/jhamrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhamrick/subscriptions","organizations_url":"https://api.github.com/users/jhamrick/orgs","repos_url":"https://api.github.com/users/jhamrick/repos","events_url":"https://api.github.com/users/jhamrick/events{/privacy}","received_events_url":"https://api.github.com/users/jhamrick/received_events","type":"User","site_admin":false},"comments":8,"review_comments":0,"commits":3,"additions":90,"deletions":7,"changed_files":3}}