jupyter / nbgrader

A system for assigning and grading notebooks
https://nbgrader.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
1.28k stars 316 forks source link

Ability for students to see assignment duedate #943

Open nhiquach opened 6 years ago

nhiquach commented 6 years ago

It seems that the current Student use case of nbgrader list is fairly limited in what information can be seen. Is there any way to expose the duedate of an assignment on the student side of nbgrader?

jhamrick commented 6 years ago

Currently, no, this is not supported---but it seems like an obvious thing to add and probably shouldn't be too difficult to do.

jhamrick commented 6 years ago

Hmm, this is actually a bit trickier than I initially imagined because the due date for the assignment is stored in the nbgrader database, but students do not have access to this database. One way to get this information to students would be to include the due date information when the assignment is released, but then if the instructor updates the due date on their side students won't see the update (unless the assignment is re-released).

lahwaacz commented 11 months ago

Is there any progress on this? Or a workaround? The inability to see the assignment duedate is pretty serious limitation...

lahwaacz commented 11 months ago

Since students don't see the duedate, they can submit again even after the deadline on JupyterHub, so the duedate is not actually enforced. It is also misleading for students as they will probably expect a feedback for their submission, which will most likely never come.

AlirezaT99 commented 1 month ago

Hi @nhiquach, @jhamrick, and @lahwaacz,

This PR proposes a workaround where the deadline is read from and written to a configurable file in exchange/coursedir each time the API is called (writable by teachers and readable by students). As a result, the deadline remains visible and up-to-date for students. The due date is read from the file and displayed in a new column on the Assignment List page. Additionally, a dialog will be shown in case of a late submission.

I would appreciate your comments and concerns regarding this approach.

Thank you!