edulinq / autograder-server

A server to automatically grading coding assignments.
MIT License
4 stars 5 forks source link

Timestamp Verifiction in Grader Output #69

Closed eriq-augustine closed 1 month ago

eriq-augustine commented 6 months ago

Right now, a grader can write invalid timestamps to their result.json file and we won't catch it until the timestamp is used/parsed somewhere (like in a course report).

Ideally, we want to catch this much earlier. Probably verify it on initial deserialization.

Catching this on the Python side would be great too.

eriq-augustine commented 1 month ago

This is not an issue with the completion of #79. The integer timestamps have no invalid states.