Spaces:
Running
Running
import sys | |
import os | |
sys.path.append("../env") | |
import pandas as pd | |
import numpy as np | |
def get_score(submission_path = "../env"): | |
try: | |
submission = pd.read_csv(os.path.join(submission_path, "submission.csv"), delimiter=';') | |
return float(submission.columns[0]) | |
except: | |
return 1e10 | |
if __name__ == "__main__": | |
print(get_score()) | |