Spaces:
Running
Running
remove print
Browse files
utils.py
CHANGED
|
@@ -35,8 +35,8 @@ def evaluate_generations(generations: list, level: str = "all", debug: bool = Fa
|
|
| 35 |
curr_res = [-2]
|
| 36 |
try:
|
| 37 |
curr_res = test_util.run_test(sample, test=o, debug=debug)
|
| 38 |
-
|
| 39 |
-
|
| 40 |
fixed = []
|
| 41 |
for e in curr_res:
|
| 42 |
if isinstance(e, np.ndarray):
|
|
|
|
| 35 |
curr_res = [-2]
|
| 36 |
try:
|
| 37 |
curr_res = test_util.run_test(sample, test=o, debug=debug)
|
| 38 |
+
if debug:
|
| 39 |
+
print(f"\nSuccessful compilation of task {index}!")
|
| 40 |
fixed = []
|
| 41 |
for e in curr_res:
|
| 42 |
if isinstance(e, np.ndarray):
|