Spaces:
Sleeping
Sleeping
| 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 | |