From 1c18945e8cb29bbb4739c4bc2d76144e2c440170 Mon Sep 17 00:00:00 2001 From: ITQ Date: Sun, 2 Mar 2025 01:22:15 +0300 Subject: [PATCH 1/3] (scope): [body] [footer(s)] --- infrastructure/backend/.env.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/backend/.env.template b/infrastructure/backend/.env.template index 8866be3..40ead7f 100644 --- a/infrastructure/backend/.env.template +++ b/infrastructure/backend/.env.template @@ -12,7 +12,7 @@ DJANGO_DB_URI=postgresql://postgres:postgres@postgres/postgres DJANGO_CREATE_SUPERUSER=True DJANGO_SUPERUSER_USERNAME=admin DJANGO_SUPERUSER_EMAIL=admin@mail.com -DJANGO_SUPERUSER_PASSWORD=admin +DJANGO_SUPERUSER_PASSWORD=prooooooood MINIO_ENDPOINT=minio:9000 MINIO_CUSTOM_ENDPOINT_URL=https://prod-team-15-minio-2pc0i3lc.final.prodcontest.ru From 530df981bbc5eb4c5abdeafda03ccec9a701c1e5 Mon Sep 17 00:00:00 2001 From: ITQ Date: Sun, 2 Mar 2025 01:41:10 +0300 Subject: [PATCH 2/3] (scope): [body] [footer(s)] --- services/backend/apps/task/tasks.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/services/backend/apps/task/tasks.py b/services/backend/apps/task/tasks.py index a9f5ad6..2ac935e 100644 --- a/services/backend/apps/task/tasks.py +++ b/services/backend/apps/task/tasks.py @@ -124,8 +124,6 @@ def analyze_data_task( result_content = secure_exec(code_str, result_path, input_files) - print(result_content * 1024) - result_hash = hashlib.sha256(result_content).hexdigest() expected_hash = hashlib.sha256(expected_bytes).hexdigest() From d71193a17468a00ddae7aae78099734e6bf044b5 Mon Sep 17 00:00:00 2001 From: ITQ Date: Sun, 2 Mar 2025 02:07:45 +0300 Subject: [PATCH 3/3] (scope): [body] [footer(s)] --- services/backend/api/v1/competition/schemas.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/services/backend/api/v1/competition/schemas.py b/services/backend/api/v1/competition/schemas.py index 0539b5b..079baab 100644 --- a/services/backend/api/v1/competition/schemas.py +++ b/services/backend/api/v1/competition/schemas.py @@ -8,8 +8,6 @@ from apps.competition.models import Competition, State class CompetitionOut(ModelSchema): id: UUID - type: Literal["edu", "competitive"] - participation_type: Literal["solo"] class Meta: model = Competition