comment
This commit is contained in:
4
app.py
4
app.py
@@ -696,6 +696,10 @@ def fetch_answer_tips():
|
||||
@app.route('/grading_summary', methods=['POST'])
|
||||
@jwt_required()
|
||||
def grading_summary():
|
||||
# Body Format
|
||||
# {'sections': Array of {'code': key, 'name': name, 'grade': grade}}
|
||||
# Output Format
|
||||
# {'sections': Array of {'code': key, 'name': name, 'grade': grade, 'evaluation': evaluation, 'suggestions': suggestions}}
|
||||
try:
|
||||
return calculate_grading_summary(request.get_json())
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user