Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Revert "Remove code upload challenges (#4458)"
This reverts commit c194f5e.
  • Loading branch information
gchhablani authored Aug 24, 2025
commit 864434714dc0b9068eda26f2695d4e2359ebb4ca
10 changes: 0 additions & 10 deletions apps/challenges/challenge_config_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,6 @@ def get_value_from_field(data, base_location, field_name):
"prize_rank_wrong": "ERROR: Invalid rank value {}. Rank should be an integer.",
"challenge_metadata_schema_errors": "ERROR: Unable to serialize the challenge because of the following errors: {}.",
"evaluation_script_not_zip": "ERROR: Please pass in a zip file as evaluation script. If using the `evaluation_script` directory (recommended), it should be `evaluation_script.zip`.",
"docker_based_challenge": "ERROR: New Docker based challenges are not supported starting March 15, 2025.",
}


Expand Down Expand Up @@ -1065,12 +1064,6 @@ def check_prizes(self):
].format(prize["amount"])
self.error_messages.append(message)

def check_docker_based_challenge(self):
if "is_docker_based" in self.yaml_file_data:
if self.yaml_file_data["is_docker_based"]:
message = self.error_messages_dict["docker_based_challenge"]
self.error_messages.append(message)


def validate_challenge_config_util(
request,
Expand Down Expand Up @@ -1192,9 +1185,6 @@ def validate_challenge_config_util(
# Check for Prize
val_config_util.check_prizes()

# Check for Docker based challenge
val_config_util.check_docker_based_challenge()

return (
val_config_util.error_messages,
val_config_util.yaml_file_data,
Expand Down