Skip to content

Commit 9014be1

Browse files
committed
Removed file thresholding
1 parent 5701b16 commit 9014be1

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

tests/test_CandyCrunch.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ def posthoc_process_df(df_in,posthoc_params):
9292
df_in = df_in[(df_in[df_arg]>posthoc_params[arg])]
9393
return df_in
9494

95-
THRESHOLD = 0.09
9695
AVG_THRESHOLD = 0.2
9796

9897
extra_param_dict = {
@@ -149,7 +148,6 @@ def test_candycrunch_accuracy(test_params,result_collector,test_files=None):
149148
for key in test_params
150149
)
151150
result_collector.check_performance(test_dict['name'], param_key, eval_scores[0])
152-
assert eval_scores[0]>THRESHOLD
153151
print("Adding results to collector") # Debug print
154152
print(f'avg_score:{np.mean([x[0] for x in test_outputs])}')
155153
assert np.mean([x[0] for x in test_outputs])>AVG_THRESHOLD

0 commit comments

Comments
 (0)