{"action":"created","issue":{"url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok/issues/433","labels_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok/issues/433/labels{/name}","comments_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok/issues/433/comments","events_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok/issues/433/events","html_url":"https://github.com/Cal-CS-61A-Staff/ok/issues/433","id":68266151,"number":433,"title":"Handle Multiple Submissions (Checkpoints for Final Submissions) ","user":{"login":"Sumukh","id":882381,"avatar_url":"https://avatars.githubusercontent.com/u/882381?v=3","gravatar_id":"","url":"https://api.github.com/users/Sumukh","html_url":"https://github.com/Sumukh","followers_url":"https://api.github.com/users/Sumukh/followers","following_url":"https://api.github.com/users/Sumukh/following{/other_user}","gists_url":"https://api.github.com/users/Sumukh/gists{/gist_id}","starred_url":"https://api.github.com/users/Sumukh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sumukh/subscriptions","organizations_url":"https://api.github.com/users/Sumukh/orgs","repos_url":"https://api.github.com/users/Sumukh/repos","events_url":"https://api.github.com/users/Sumukh/events{/privacy}","received_events_url":"https://api.github.com/users/Sumukh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Sumukh","id":882381,"avatar_url":"https://avatars.githubusercontent.com/u/882381?v=3","gravatar_id":"","url":"https://api.github.com/users/Sumukh","html_url":"https://github.com/Sumukh","followers_url":"https://api.github.com/users/Sumukh/followers","following_url":"https://api.github.com/users/Sumukh/following{/other_user}","gists_url":"https://api.github.com/users/Sumukh/gists{/gist_id}","starred_url":"https://api.github.com/users/Sumukh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sumukh/subscriptions","organizations_url":"https://api.github.com/users/Sumukh/orgs","repos_url":"https://api.github.com/users/Sumukh/repos","events_url":"https://api.github.com/users/Sumukh/events{/privacy}","received_events_url":"https://api.github.com/users/Sumukh/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-04-14T05:26:55Z","updated_at":"2015-04-14T08:50:22Z","closed_at":null,"body":"For Scheme - We could handle this in a similar way to composition revisions - but just generalize it. \r\n\r\nYour final submission is always most recent submission (before the deadline) - and the checkpoints have a deadline in which in stores your most recent submission (if any) before the deadline. When we get a submission we'd look at the checkpoints and bucket the submission appropriately. If none of the checkpoints are active - then we reject the submissions. \r\n\r\nThe only issue I see right now is having to create DB fields in which we store the checkpoint submission data in FS. It might not be possible to do as separate fields if we want to store arbitrary amounts of checkpoints. \r\n\r\nAn alternative solution is to develop a search for all submissions - before some time via the API. This is going to be pretty slow. I prefer generalizing the first. \r\n\r\n\r\nI can work on this mid-week. "},"comment":{"url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok/issues/comments/92701323","html_url":"https://github.com/Cal-CS-61A-Staff/ok/issues/433#issuecomment-92701323","issue_url":"https://api.github.com/repos/Cal-CS-61A-Staff/ok/issues/433","id":92701323,"user":{"login":"Sumukh","id":882381,"avatar_url":"https://avatars.githubusercontent.com/u/882381?v=3","gravatar_id":"","url":"https://api.github.com/users/Sumukh","html_url":"https://github.com/Sumukh","followers_url":"https://api.github.com/users/Sumukh/followers","following_url":"https://api.github.com/users/Sumukh/following{/other_user}","gists_url":"https://api.github.com/users/Sumukh/gists{/gist_id}","starred_url":"https://api.github.com/users/Sumukh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sumukh/subscriptions","organizations_url":"https://api.github.com/users/Sumukh/orgs","repos_url":"https://api.github.com/users/Sumukh/repos","events_url":"https://api.github.com/users/Sumukh/events{/privacy}","received_events_url":"https://api.github.com/users/Sumukh/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T08:50:22Z","updated_at":"2015-04-14T08:50:22Z","body":"Yeah - that is an option. I think multiple deadlines was only a issue before because we didn't have a table of submissions vs. backups & now we do. \r\n\r\n@Some3141 - would that be sufficient for grading? "}}