File size: 1,269 Bytes
4aab7ea
180f9fe
 
 
 
 
 
 
bea3aa3
 
 
 
 
 
 
 
 
2e2392c
bea3aa3
98c84f9
 
e67d561
 
 
 
 
 
 
 
 
752c498
 
bea3aa3
752c498
 
 
 
 
 
 
 
 
bea3aa3
 
752c498
 
bea3aa3
 
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
39
40
41
42
43
44
45
46
47
48
49
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 = [
    "Name",
    'Modelling Framework',
    'Base LLM',
    "Models Submitted (%)",
    "Accuracy (%)",
    "Runtime Errors (%)",
    "Report (PDF)"
]

# dataset versions
DATASET_VERSIONS = ["v1", "v1_verified"]
DEFAULT_DATASET_VERSION = DATASET_VERSIONS[-1]

# 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"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"DATASET_VERSIONS: {DATASET_VERSIONS}")
    print(f"DEFAULT_DATASET_VERSION: {DEFAULT_DATASET_VERSION}")
    print(f"SUPPORTED_FRAMEWORKS: {SUPPORTED_FRAMEWORKS}")


print_config()