We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccc23b9 commit fab5899Copy full SHA for fab5899
bin/tools.py
@@ -1032,6 +1032,15 @@ def run_parsed_arguments(args):
1032
# Get problem_paths and cd to contest
1033
problems, level, contest, tmpdir = get_problems()
1034
1035
+ # Check non unique uuid
1036
+ # TODO: check this even more globally?
1037
+ uuids: dict[str, Problem] = {}
1038
+ for p in problems:
1039
+ if p.settings.uuid in uuids:
1040
+ warn(f"{p.name} has the same uuid as {uuids[p.settings.uuid].name}")
1041
+ else:
1042
+ uuids[p.settings.uuid] = p
1043
+
1044
# Check for incompatible actions at the problem/problemset level.
1045
if level != "problem":
1046
if action == "test":
0 commit comments