|
@@ -419,7 +419,7 @@ def video_old_recommend(request_id, mid, uid, size, top_K, flow_pool_P, app_type
|
|
|
'flow_pool_recall': recall_result_list[2]
|
|
|
}
|
|
|
#if ab_code=="ab_new_test":
|
|
|
- print("data:", data)
|
|
|
+ print("before data:", data)
|
|
|
rank_result = video_new_rank2(data=data, size=size, top_K=top_K, flow_pool_P=float(flow_pool_P))
|
|
|
print(rank_result)
|
|
|
|
|
@@ -1549,7 +1549,7 @@ def video_relevant_recommend(request_id, video_id, mid, uid, size, app_type, ab_
|
|
|
params=params, rule_key_30day=rule_key_30day, shield_config=shield_config)
|
|
|
# log_.info({
|
|
|
elif ab_code == 60050 or ab_code == 60051:
|
|
|
- result = video_recommend(request_id=request_id,
|
|
|
+ result = video_old_recommend(request_id=request_id,
|
|
|
mid=mid, uid=uid, app_type=app_type,
|
|
|
size=size, top_K=top_K, flow_pool_P=flow_pool_P,
|
|
|
algo_type='', client_info=client_info,
|