From efef92343a5921b6890a6d21a4a379ae99e54bd8 Mon Sep 17 00:00:00 2001 From: Pedro Fonseca Date: Sat, 6 Jan 2024 19:01:31 +0000 Subject: [PATCH] comment --- app.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app.py b/app.py index ac22564..a6897e3 100644 --- a/app.py +++ b/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: