|
@@ -246,7 +246,7 @@ def video_homepage_recommend(mid, uid, size, app_type, algo_type, client_info):
|
|
|
algo_type=algo_type, client_info=client_info)
|
|
|
# ab-test
|
|
|
result = ab_test_op(rank_result=rank_result,
|
|
|
- ab_code_list=[config_.AB_CODE['w_h_rate'], config_.AB_CODE['position_insert']],
|
|
|
+ ab_code_list=[config_.AB_CODE['position_insert']],
|
|
|
app_type=app_type, mid=mid, uid=uid)
|
|
|
# redis数据刷新
|
|
|
update_redis_data(result=result, app_type=app_type, mid=mid, last_rov_recall_key=last_rov_recall_key)
|
|
@@ -270,7 +270,7 @@ def video_relevant_recommend(video_id, mid, uid, size, app_type):
|
|
|
algo_type='', client_info=None)
|
|
|
# ab-test
|
|
|
result = ab_test_op(rank_result=rank_result,
|
|
|
- ab_code_list=[config_.AB_CODE['w_h_rate'], config_.AB_CODE['position_insert']],
|
|
|
+ ab_code_list=[config_.AB_CODE['position_insert']],
|
|
|
app_type=app_type, mid=mid, uid=uid, video_id=video_id)
|
|
|
# redis数据刷新
|
|
|
update_redis_data(result=result, app_type=app_type, mid=mid, last_rov_recall_key=last_rov_recall_key)
|