|
@@ -2,20 +2,20 @@ from typing import Optional
|
|
|
|
|
|
|
|
|
|
|
|
|
class DailyRankManagerUtils:
|
|
class DailyRankManagerUtils:
|
|
|
- """日榜管理工具类"""
|
|
|
|
|
|
|
+ """排序日志管理"""
|
|
|
|
|
|
|
|
# 默认权重配置
|
|
# 默认权重配置
|
|
|
DEFAULT_WEIGHTS = {
|
|
DEFAULT_WEIGHTS = {
|
|
|
- "account_user_category_score": 1.0,
|
|
|
|
|
- "category_score": 1.0,
|
|
|
|
|
|
|
+ "account_user_category_score": 0.2,
|
|
|
|
|
+ "category_score": 0.2,
|
|
|
"flow_ctl_decrease_score": 1.0,
|
|
"flow_ctl_decrease_score": 1.0,
|
|
|
"i2i_recommend_score": 1.0,
|
|
"i2i_recommend_score": 1.0,
|
|
|
"view_count_rate_score": 1.0,
|
|
"view_count_rate_score": 1.0,
|
|
|
"his_fission_open_rate_score": 1.0,
|
|
"his_fission_open_rate_score": 1.0,
|
|
|
"crawler_days_decrease_score": 1.0,
|
|
"crawler_days_decrease_score": 1.0,
|
|
|
"crawler_days_decrease_v2_score": 1.0,
|
|
"crawler_days_decrease_v2_score": 1.0,
|
|
|
- "similarity_score": 1.0,
|
|
|
|
|
- "publish_times_score": 1.0,
|
|
|
|
|
|
|
+ "similarity_score": 0.0,
|
|
|
|
|
+ "publish_times_score": 0.0,
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@staticmethod
|
|
@staticmethod
|