Commit a8b6857a by Stephen Sanchez

Adding a function for submitting a score for a submission

parent 5c2782ef
......@@ -23,7 +23,7 @@ def get_last_submission(student_id, location):
pass
def submit(submission):
def submit_submission(submission):
"""
Submit a submission for peer grading.
@param submission: The submission to add to the peer grading queue. Should contain the student_id,
......@@ -31,4 +31,14 @@ def submit(submission):
preferred grader, and other attributes can be determined internally.
@return: The saved submission.
"""
pass
\ No newline at end of file
pass
def submit_score(scoring, submission):
"""
Submit a scoring for a particular submission
@param scoring: The score for a particular submission.
@param submission: The associated submission.
@return: True if the submission succeeded.
"""
pass
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment