소스 검색

add abtest: 176

liqian 2 년 전
부모
커밋
2f00eda66c
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      recommend.py

+ 4 - 0
recommend.py

@@ -563,6 +563,10 @@ def get_recommend_params(recommend_type, ab_exp_info, ab_info_data, mid, page_ty
                 ab_exp_code_list.append(str(ab_exp_code))
                 config_value_dict[str(ab_exp_code)] = ab_item.get('configValue', None)
 
+            # 流量池视频分发概率实验
+            if '176' in ab_exp_code_list:
+                flow_pool_P = 0.5
+
             if '136' in ab_exp_code_list:
                 # 无回流 - 消费人群
                 if user_30day_return_result == 0: