Spaces:
Sleeping
Sleeping
File size: 1,139 Bytes
e1ce262 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | import os
from dotenv import load_dotenv
load_dotenv()
TOKEN = os.environ.get("HF_TOKEN")
# ββ Challenge Configuration ββββββββββββββββββββββββββββββββββββββββββββββββββ
CHALLENGE_NAME = "My Challenge"
CHALLENGE_DESCRIPTION = """
Welcome to **My Challenge**! π
Describe what participants need to solve, the rules, and what makes a good submission.
- **Goal**: Solve X as accurately as possible
- **Metric**: F1 Score (higher is better)
- **Deadline**: 2025-12-31
"""
# HuggingFace dataset used to persist registrations & submissions
# The dataset must have two configs (subsets): "registrations" and "submissions"
HF_DATASET_PATH = "EmmaScharfmann/challenge-template"
# Column schemas written to the dataset
REGISTRATION_COLUMNS = ["timestamp", "name", "email", "affiliation", "team_name"]
SUBMISSION_COLUMNS = ["timestamp", "team_name", "method", "score", "file_name"]
# Leaderboard: which submission column to rank by, and whether higher = better
LEADERBOARD_SCORE_COLUMN = "score"
LEADERBOARD_HIGHER_IS_BETTER = True
|