From 04dcba9091072c2f5d852bbcba85ed892fcb19ca Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Tue, 14 Oct 2025 00:24:05 +0800 Subject: [PATCH] update --- flowchart/tasks.py | 4 +++- oj/dev_settings.py | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/flowchart/tasks.py b/flowchart/tasks.py index 81a42a6..0a72be4 100644 --- a/flowchart/tasks.py +++ b/flowchart/tasks.py @@ -93,7 +93,9 @@ def evaluate_flowchart_task(submission_id): "submission_id": str(submission.id), "score": score_data['score'], "grade": score_data['grade'], - "feedback": score_data['feedback'] + "feedback": score_data['feedback'], + "suggestions": score_data['suggestions'], + "criteria_details": score_data['criteria_details'], } ) diff --git a/oj/dev_settings.py b/oj/dev_settings.py index db70d4e..8db2178 100644 --- a/oj/dev_settings.py +++ b/oj/dev_settings.py @@ -7,7 +7,7 @@ DATABASES = { "default": { "ENGINE": "django.db.backends.postgresql", "HOST": "150.158.29.156", - "PORT": "5432", + "PORT": "5445", "NAME": "onlinejudge", "USER": "onlinejudge", "PASSWORD": "onlinejudge", @@ -16,7 +16,7 @@ DATABASES = { REDIS_CONF = { "host": "150.158.29.156", - "port": 6379, + "port": 5446, }