rapid-router 7.6.16__py2.py3-none-any.whl → 7.6.18__py2.py3-none-any.whl
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.
- game/__init__.py +1 -1
- game/migrations/0090_add_missing_model_solutions.py +4 -6
- {rapid_router-7.6.16.dist-info → rapid_router-7.6.18.dist-info}/METADATA +4 -4
- {rapid_router-7.6.16.dist-info → rapid_router-7.6.18.dist-info}/RECORD +7 -7
- {rapid_router-7.6.16.dist-info → rapid_router-7.6.18.dist-info}/WHEEL +0 -0
- {rapid_router-7.6.16.dist-info → rapid_router-7.6.18.dist-info}/licenses/LICENSE.md +0 -0
- {rapid_router-7.6.16.dist-info → rapid_router-7.6.18.dist-info}/top_level.txt +0 -0
game/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "7.6.
|
|
1
|
+
__version__ = "7.6.18"
|
|
@@ -2,9 +2,9 @@ import datetime
|
|
|
2
2
|
import logging
|
|
3
3
|
import re
|
|
4
4
|
|
|
5
|
-
import pytz
|
|
6
5
|
from django.apps.registry import Apps
|
|
7
6
|
from django.db import migrations
|
|
7
|
+
from django.utils.timezone import make_aware
|
|
8
8
|
|
|
9
9
|
LOGGER = logging.getLogger(__name__)
|
|
10
10
|
|
|
@@ -53,7 +53,7 @@ def add_missing_model_solutions(apps: Apps, *args):
|
|
|
53
53
|
"91",
|
|
54
54
|
],
|
|
55
55
|
score=10,
|
|
56
|
-
finish_time__gte=datetime.datetime(2023, 3, 1, 00, 00
|
|
56
|
+
finish_time__gte=make_aware(datetime.datetime(2023, 3, 1, 00, 00)),
|
|
57
57
|
).select_related("level")
|
|
58
58
|
|
|
59
59
|
LOGGER.info(f"Retrieved {attempts.count()} attempts.")
|
|
@@ -68,9 +68,7 @@ def add_missing_model_solutions(apps: Apps, *args):
|
|
|
68
68
|
|
|
69
69
|
model_solution = model_solutions[attempt.level.name]
|
|
70
70
|
|
|
71
|
-
ideal_number_of_blocks = int(
|
|
72
|
-
model_solution.replace("[", "").replace("]", "")
|
|
73
|
-
)
|
|
71
|
+
ideal_number_of_blocks = int(model_solution.replace("[", "").replace("]", ""))
|
|
74
72
|
|
|
75
73
|
if number_of_blocks == ideal_number_of_blocks:
|
|
76
74
|
attempt.score = 20
|
|
@@ -130,7 +128,7 @@ def remove_new_model_solutions(apps: Apps, *args):
|
|
|
130
128
|
"91",
|
|
131
129
|
],
|
|
132
130
|
score__gt=10,
|
|
133
|
-
finish_time__gte=datetime.datetime(2023, 3, 1, 00, 00
|
|
131
|
+
finish_time__gte=make_aware(datetime.datetime(2023, 3, 1, 00, 00)),
|
|
134
132
|
).select_related("level").update(score=10)
|
|
135
133
|
|
|
136
134
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rapid-router
|
|
3
|
-
Version: 7.6.
|
|
3
|
+
Version: 7.6.18
|
|
4
4
|
Classifier: Programming Language :: Python
|
|
5
5
|
Classifier: Programming Language :: Python :: 3.12
|
|
6
6
|
Classifier: Framework :: Django
|
|
@@ -9,7 +9,7 @@ Requires-Dist: asgiref==3.11.0; python_version >= "3.9"
|
|
|
9
9
|
Requires-Dist: asttokens==3.0.1; python_version >= "3.8"
|
|
10
10
|
Requires-Dist: certifi==2026.1.4; python_version >= "3.7"
|
|
11
11
|
Requires-Dist: cffi==2.0.0; platform_python_implementation != "PyPy"
|
|
12
|
-
Requires-Dist: cfl-common==8.9.
|
|
12
|
+
Requires-Dist: cfl-common==8.9.19
|
|
13
13
|
Requires-Dist: charset-normalizer==3.4.4; python_version >= "3.7"
|
|
14
14
|
Requires-Dist: cryptography==44.0.1; python_version >= "3.7" and python_full_version not in "3.9.0, 3.9.1"
|
|
15
15
|
Requires-Dist: decorator==5.2.1; python_version >= "3.8"
|
|
@@ -71,13 +71,13 @@ Requires-Dist: botocore==1.36.26; python_version >= "3.8" and extra == "dev"
|
|
|
71
71
|
Requires-Dist: celery[sqs]==5.4.0; python_version >= "3.8" and extra == "dev"
|
|
72
72
|
Requires-Dist: certifi==2026.1.4; python_version >= "3.7" and extra == "dev"
|
|
73
73
|
Requires-Dist: cffi==2.0.0; platform_python_implementation != "PyPy" and extra == "dev"
|
|
74
|
-
Requires-Dist: cfl-common==8.9.
|
|
74
|
+
Requires-Dist: cfl-common==8.9.19; extra == "dev"
|
|
75
75
|
Requires-Dist: charset-normalizer==3.4.4; python_version >= "3.7" and extra == "dev"
|
|
76
76
|
Requires-Dist: click==8.3.1; python_version >= "3.10" and extra == "dev"
|
|
77
77
|
Requires-Dist: click-didyoumean==0.3.1; python_full_version >= "3.6.2" and extra == "dev"
|
|
78
78
|
Requires-Dist: click-plugins==1.1.1.2; extra == "dev"
|
|
79
79
|
Requires-Dist: click-repl==0.3.0; python_version >= "3.6" and extra == "dev"
|
|
80
|
-
Requires-Dist: codeforlife-portal==8.9.
|
|
80
|
+
Requires-Dist: codeforlife-portal==8.9.19; extra == "dev"
|
|
81
81
|
Requires-Dist: cryptography==44.0.1; (python_version >= "3.7" and python_full_version not in "3.9.0, 3.9.1") and extra == "dev"
|
|
82
82
|
Requires-Dist: diff-match-patch==20241021; python_version >= "3.7" and extra == "dev"
|
|
83
83
|
Requires-Dist: django==5.1.15; python_version >= "3.10" and extra == "dev"
|
|
@@ -3,7 +3,7 @@ example_project/rapid_router_test_settings.py,sha256=-8pBDGeDSM0ziu5BLUXVqB9J97A
|
|
|
3
3
|
example_project/settings.py,sha256=I_upxXh1PBbeX0aKttLeqjGbjPCDTfgMVJgBv7vcc0g,4599
|
|
4
4
|
example_project/urls.py,sha256=XHug_cpNy21yOef3E1-wWT5VkTuxpl6ZXIlCj6jDjWA,422
|
|
5
5
|
example_project/wsgi.py,sha256=U1W6WzZxZaIdYZ5tks7w9fqp5WS5qvn2iThsVcskrWw,829
|
|
6
|
-
game/__init__.py,sha256=
|
|
6
|
+
game/__init__.py,sha256=uuKskjbJ4fGOYxoQvMJkdjzuKhCgPq8OkjJ0sT6GH28,23
|
|
7
7
|
game/admin.py,sha256=BLwwaqQYuqmMdwqnvhdan19iGxdcoBX4CXFk_ROG5-M,1431
|
|
8
8
|
game/app_settings.py,sha256=mlg-1AiP7AR5JNOHAXXLuCrYWaZMmSihvSYk9c2c8YY,857
|
|
9
9
|
game/cache.py,sha256=dtOiFl6Z4I2Q9-8Hz24ZI-5C0asXYSQhF2Be5q74N8g,2227
|
|
@@ -102,7 +102,7 @@ game/migrations/0086_loop_levels.py,sha256=ffAttphU_HcHtQANxfACifs-8l48YW9xxov7S
|
|
|
102
102
|
game/migrations/0087_workspace_python_view_enabled.py,sha256=hlU23yaVKEnUIL8ii_b8NZo5RrA52HmGeCm8g6Xn8GA,394
|
|
103
103
|
game/migrations/0088_rename_episodes.py,sha256=wrmEF8g843IDp9P7dMbVY6MlSGb5mJMip2tNlrZPQiY,1090
|
|
104
104
|
game/migrations/0089_episodes_in_development.py,sha256=nCUHKpEDnHRusB6Wd3U0JgVjg_YVHS4eGcDtwIfqqeY,807
|
|
105
|
-
game/migrations/0090_add_missing_model_solutions.py,sha256=
|
|
105
|
+
game/migrations/0090_add_missing_model_solutions.py,sha256=ALggX1RQ77TdomXR7_esYNZMnr4WZBQvaervRmNqPiw,3567
|
|
106
106
|
game/migrations/0091_disable_algo_score_if_no_model_solution.py,sha256=8vY_XprFg3APttbomhLGpFPK05yO6lUeDK9siGJf6JE,1347
|
|
107
107
|
game/migrations/0092_disable_algo_score_in_custom_levels.py,sha256=5Bk2fu28JCGAjzSNBmbTYkbZer7xdcpb5QDNqpdEO3s,812
|
|
108
108
|
game/migrations/0093_alter_level_character_name.py,sha256=wo0AaUtwZf0GeiPT7Lbj0Vi2NtIzggEMEhhWEtRFiLQ,597
|
|
@@ -804,8 +804,8 @@ game/views/level_solutions.py,sha256=oYwx0p1LuY7609H2lid7lAq3QvcD6_K9cy5U_i6CwWg
|
|
|
804
804
|
game/views/scoreboard.py,sha256=h-IPKNKTpFH2Ryr1huyh765BgE0nYtPrqIf9hpU1dmc,17077
|
|
805
805
|
game/views/scoreboard_csv.py,sha256=yx4tOwx5QsHyU1S1BUPUqRBWIh5idq8QVtBID-NqZto,1768
|
|
806
806
|
game/views/worksheet.py,sha256=R7DgR3OhgITkmPHzkv0WLu_bkHvt3RGkcD7ySx3ippg,705
|
|
807
|
-
rapid_router-7.6.
|
|
808
|
-
rapid_router-7.6.
|
|
809
|
-
rapid_router-7.6.
|
|
810
|
-
rapid_router-7.6.
|
|
811
|
-
rapid_router-7.6.
|
|
807
|
+
rapid_router-7.6.18.dist-info/licenses/LICENSE.md,sha256=9AbRlCDqD2D1tPibimysFv3zg3AIc49-eyv9aEsyq9w,115
|
|
808
|
+
rapid_router-7.6.18.dist-info/METADATA,sha256=U3ZPM7F-9nvpaKb5AyNYaOAA53ANW2taSvxua5khL64,11749
|
|
809
|
+
rapid_router-7.6.18.dist-info/WHEEL,sha256=Mk1ST5gDzEO5il5kYREiBnzzM469m5sI8ESPl7TRhJY,110
|
|
810
|
+
rapid_router-7.6.18.dist-info/top_level.txt,sha256=rKP4ryr1t8Wcnx8grJHDViM3T5cMYH_0vygDjC04ArA,21
|
|
811
|
+
rapid_router-7.6.18.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|