still trying to make the leaderboard
Browse files
app.py
CHANGED
|
@@ -19,13 +19,14 @@ from utils import read_boundary, write_results, get_user
|
|
| 19 |
from visualize import make_visual
|
| 20 |
|
| 21 |
def evaluate_boundary(filename):
|
|
|
|
| 22 |
local_path = read_boundary(filename)
|
| 23 |
with Path(local_path).open("r") as f:
|
| 24 |
raw = f.read()
|
| 25 |
data_dict = json.loads(raw)
|
| 26 |
result = evaluate_problem(data_dict['problem_type'], local_path)
|
| 27 |
-
vis = make_visual(json.loads(data_dict['boundary_json']))
|
| 28 |
-
data_dict['vis'] = vis
|
| 29 |
write_results(data_dict, result)
|
| 30 |
return
|
| 31 |
|
|
|
|
| 19 |
from visualize import make_visual
|
| 20 |
|
| 21 |
def evaluate_boundary(filename):
|
| 22 |
+
print(filename)
|
| 23 |
local_path = read_boundary(filename)
|
| 24 |
with Path(local_path).open("r") as f:
|
| 25 |
raw = f.read()
|
| 26 |
data_dict = json.loads(raw)
|
| 27 |
result = evaluate_problem(data_dict['problem_type'], local_path)
|
| 28 |
+
# vis = make_visual(json.loads(data_dict['boundary_json']))
|
| 29 |
+
# data_dict['vis'] = vis
|
| 30 |
write_results(data_dict, result)
|
| 31 |
return
|
| 32 |
|