Browse Source

update video_rank

linfan 1 year ago
parent
commit
e624b724b1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      video_rank.py

+ 1 - 1
video_rank.py

@@ -694,7 +694,7 @@ def video_sanke_rank(data, size, top_K, flow_pool_P, ab_Code=''):
                          if item.get('pushFrom') == config_.PUSH_FROM['rov_recall_region_h']]
     region_h_recall_rank = sorted(region_h_recall, key=lambda k: k.get('rovScore', 0), reverse=True)
     recall_dict['rov_recall_region_h'] = region_h_recall_rank
-    print("rov_recall_region_h:", len(rov_recall_region_h))
+    print("rov_recall_region_h:", len(region_h_recall_rank))
     # 地域分组小时级更新24h规则更新数据
     region_24h_recall = [item for item in data['rov_pool_recall']
                          if item.get('pushFrom') == config_.PUSH_FROM['rov_recall_region_24h']]