|
@@ -35,7 +35,7 @@ def get_threshold_record_new(ad_abtest_abcode_config, feature_df, threshold_reco
|
|
b_mean = temp_df[temp_df['adcode'].isin(ab_code_list)]['b'].mean()
|
|
b_mean = temp_df[temp_df['adcode'].isin(ab_code_list)]['b'].mean()
|
|
if b_mean < 0:
|
|
if b_mean < 0:
|
|
threshold_param_new = float(threshold_record.get(ad_abtest_tag)) + threshold_update
|
|
threshold_param_new = float(threshold_record.get(ad_abtest_tag)) + threshold_update
|
|
- elif b_mean > 10:
|
|
|
|
|
|
+ elif b_mean > 0.1:
|
|
threshold_param_new = float(threshold_record.get(ad_abtest_tag)) + threshold_update
|
|
threshold_param_new = float(threshold_record.get(ad_abtest_tag)) + threshold_update
|
|
else:
|
|
else:
|
|
continue
|
|
continue
|