GitHub Classroom automates repository creation and access control, making it easy for teachers to distribute starter code and collect assignments on GitHub.
Describe the bug
When assignments have starter code from which student repositories are created, assignments are marked as "Submitted" whether or not the student has pushed any of their own work. Because Classroom interprets the last commit before the deadline as a submission, the initial commit that populates the repositories with the starter code is counted.
To Reproduce
Create an assignment with starter code.
Set a deadline.
Have students accept the assignment but not push any changes.
Expected behavior
I would expect only students who have pushed their own work (>1 commit for assignments with starter code, > 0 for assignments without starter code) before the deadline to be counted as submissions.
Describe the bug When assignments have starter code from which student repositories are created, assignments are marked as "Submitted" whether or not the student has pushed any of their own work. Because Classroom interprets the last commit before the deadline as a submission, the initial commit that populates the repositories with the starter code is counted.
To Reproduce Create an assignment with starter code. Set a deadline. Have students accept the assignment but not push any changes.
Expected behavior I would expect only students who have pushed their own work (>1 commit for assignments with starter code, > 0 for assignments without starter code) before the deadline to be counted as submissions.
Screenshots Actual![image](https://user-images.githubusercontent.com/7800842/75288750-96a76680-57e2-11ea-995e-a13f99fd8c85.png)
Expected![image](https://user-images.githubusercontent.com/7800842/75288960-f7cf3a00-57e2-11ea-9d3d-0aa9f660182d.png)
Additional context This seems related to but distinct from some of the items mentioned in https://github.com/education/classroom/issues/2488. Also possibly related to https://github.com/education/classroom/issues/1353