Spaces:
Running
Running
hide debugging comment
Browse files
utils.py
CHANGED
@@ -70,8 +70,8 @@ def evaluate_generations(generations: list, level: str = "all", debug: bool = Fa
|
|
70 |
fixed.append(e)
|
71 |
curr_res = fixed
|
72 |
if not np.all(curr_res):
|
73 |
-
|
74 |
-
|
75 |
except Exception as e:
|
76 |
if debug:
|
77 |
print(f"Compilation failed, test framework exception = {repr(e)}{e}\n")
|
|
|
70 |
fixed.append(e)
|
71 |
curr_res = fixed
|
72 |
if not np.all(curr_res):
|
73 |
+
if debug:
|
74 |
+
print(f"Results were not True for all test cases")
|
75 |
except Exception as e:
|
76 |
if debug:
|
77 |
print(f"Compilation failed, test framework exception = {repr(e)}{e}\n")
|