File size: 1,130 Bytes
180f9fe
8b3ba2f
 
180f9fe
7824912
4aab7ea
180f9fe
 
 
 
 
 
 
e67d561
 
 
 
 
 
 
 
 
 
752c498
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
34
35
36
37
38
# File and directory paths
import os

EVAL_SCRIPT_PATH = "src/eval.py"

LOCAL_TEMP_SUBMISSIONS_DIR = "temp_submissions_app"

# Hugging Face Dataset Configuration
DATASET_REPO_ID = "kostis-init/my-storage"
DS_SUBMISSIONS_PATH = "submissions"
DS_RESULTS_PATH = "results"

# leaderboard
LDB_COLS = ["Submission Name", "Solution Found (%)", "Consistency (%)", "Final Solution Accuracy (%)", "# of Models submitted"]

# modelling frameworks
CPMPY_FRAMEWORK = "CPMpy"
MINIZINC_FRAMEWORK = "MiniZinc"
ORTOOLS_FRAMEWORK = "OR-Tools"
SUPPORTED_FRAMEWORKS = [
    CPMPY_FRAMEWORK,
    MINIZINC_FRAMEWORK,
    ORTOOLS_FRAMEWORK,
]

# print configuration
def print_config():
    """Print the configuration settings."""
    print("Configuration Settings:")
    print(f"EVAL_SCRIPT_PATH: {EVAL_SCRIPT_PATH}")
    print(f"LOCAL_TEMP_SUBMISSIONS_DIR: {LOCAL_TEMP_SUBMISSIONS_DIR}")
    print(f"DATASET_REPO_ID: {DATASET_REPO_ID}")
    print(f"DS_SUBMISSIONS_PATH: {DS_SUBMISSIONS_PATH}")
    print(f"DS_RESULTS_PATH: {DS_RESULTS_PATH}")
    print(f"LDB_COLS: {LDB_COLS}")
    print(f"SUPPORTED_FRAMEWORKS: {SUPPORTED_FRAMEWORKS}")

print_config()