xcpcio 0.69.3__tar.gz → 0.69.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of xcpcio might be problematic. Click here for more details.
- {xcpcio-0.69.3 → xcpcio-0.69.5}/PKG-INFO +1 -1
- {xcpcio-0.69.3 → xcpcio-0.69.5}/tests/test_contest.py +1 -1
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/__version__.py +1 -1
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/reader/contest_package_reader.py +1 -1
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/types.py +1 -1
- {xcpcio-0.69.3 → xcpcio-0.69.5}/.gitignore +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/.python-version +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/README.md +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/pyproject.toml +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/scripts/generate_ccs_models.sh +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/tests/__init__.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/tests/test_submission.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/tests/test_team.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/tests/test_types.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/uv.lock +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/__init__.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/api/__init__.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/api/client.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/api/models.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/app/clics_archiver.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/app/clics_server.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/app/clics_uploader.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/__init__.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/api_server/__init__.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/api_server/app.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/api_server/dependencies.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/api_server/routes/__init__.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/api_server/routes/access.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/api_server/routes/accounts.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/api_server/routes/awards.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/api_server/routes/clarifications.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/api_server/routes/contests.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/api_server/routes/general.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/api_server/routes/groups.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/api_server/routes/judgement_types.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/api_server/routes/judgements.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/api_server/routes/languages.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/api_server/routes/organizations.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/api_server/routes/problems.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/api_server/routes/runs.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/api_server/routes/submissions.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/api_server/routes/teams.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/api_server/server.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/api_server/services/__init__.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/api_server/services/contest_service.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/base/__init__.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/base/types.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/clics_api_client.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/contest_archiver.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/contest_uploader.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/model/__init__.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/model/model_2023_06/__init__.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/model/model_2023_06/model.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/reader/__init__.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/clics/reader/interface.py +0 -0
- {xcpcio-0.69.3 → xcpcio-0.69.5}/xcpcio/constants.py +0 -0
|
@@ -13,7 +13,7 @@ class TestContest:
|
|
|
13
13
|
assert contest.start_time == 0
|
|
14
14
|
assert contest.end_time == 0
|
|
15
15
|
assert contest.frozen_time == 60 * 60 # 1 hour
|
|
16
|
-
assert contest.
|
|
16
|
+
assert contest.thaw_time == 0x3F3F3F3F3F3F3F3F
|
|
17
17
|
assert contest.penalty == 20 * 60 # 20 minutes
|
|
18
18
|
assert contest.problem_id is None
|
|
19
19
|
assert contest.organization == "School"
|
|
@@ -38,7 +38,7 @@ class ContestPackageReader(BaseContestReader):
|
|
|
38
38
|
return json.load(f)
|
|
39
39
|
except FileNotFoundError:
|
|
40
40
|
if default_value is not None:
|
|
41
|
-
logger.warning(f"File not found, will
|
|
41
|
+
logger.warning(f"File not found, will load default value. [full_path={full_path}]")
|
|
42
42
|
return default_value
|
|
43
43
|
raise HTTPException(status_code=404, detail=f"File not found: {filepath}")
|
|
44
44
|
except json.JSONDecodeError as e:
|
|
@@ -219,7 +219,7 @@ class Contest(BaseModel):
|
|
|
219
219
|
|
|
220
220
|
options: Optional[ContestOptions] = None
|
|
221
221
|
|
|
222
|
-
|
|
222
|
+
thaw_time: int = Field(default=0x3F3F3F3F3F3F3F3F, exclude=True)
|
|
223
223
|
|
|
224
224
|
def append_balloon_color(self, color: BalloonColor):
|
|
225
225
|
if self.balloon_color is None:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|