We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f23de9 commit d88b3dcCopy full SHA for d88b3dc
regression-example-ames-no-preproc.py
@@ -125,11 +125,13 @@
125
print(best_model_found.summary())
126
127
# Validate that purge_model_storage is NOT active by default
128
+
129
model_storage_path = f"{PROJECT_NAME}/models"
130
assert exists(model_storage_path)
131
num_items = len(listdir(model_storage_path))
-print(f"There are {num_items} in {model_storage_path}")
132
-assert num_items > 0
+print(f"There are {num_items} items in {model_storage_path}.")
133
+if num_items <= 0:
134
+ raise ValueError(f"Failed test: {model_storage_path} was deleted and should not have been.")
135
136
print("result extracted from cerebros")
137
print(f"Final result was (val_root_mean_squared_error): {result}")
0 commit comments