This commit is contained in:
2025-10-14 00:24:05 +08:00
parent 2c8f74b1b6
commit 04dcba9091
2 changed files with 5 additions and 3 deletions

View File

@@ -93,7 +93,9 @@ def evaluate_flowchart_task(submission_id):
"submission_id": str(submission.id), "submission_id": str(submission.id),
"score": score_data['score'], "score": score_data['score'],
"grade": score_data['grade'], "grade": score_data['grade'],
"feedback": score_data['feedback'] "feedback": score_data['feedback'],
"suggestions": score_data['suggestions'],
"criteria_details": score_data['criteria_details'],
} }
) )

View File

@@ -7,7 +7,7 @@ DATABASES = {
"default": { "default": {
"ENGINE": "django.db.backends.postgresql", "ENGINE": "django.db.backends.postgresql",
"HOST": "150.158.29.156", "HOST": "150.158.29.156",
"PORT": "5432", "PORT": "5445",
"NAME": "onlinejudge", "NAME": "onlinejudge",
"USER": "onlinejudge", "USER": "onlinejudge",
"PASSWORD": "onlinejudge", "PASSWORD": "onlinejudge",
@@ -16,7 +16,7 @@ DATABASES = {
REDIS_CONF = { REDIS_CONF = {
"host": "150.158.29.156", "host": "150.158.29.156",
"port": 6379, "port": 5446,
} }