Ver Fonte

update ad abtest config: target_uv_param

liqian há 2 anos atrás
pai
commit
012e283486
1 ficheiros alterados com 25 adições e 2 exclusões
  1. 25 2
      config.py

+ 25 - 2
config.py

@@ -1111,8 +1111,8 @@ class BaseConfig(object):
                                               'special_max_update_step': 30}
                 },  # 0-7点,uv控制在设定目标uv的0%
                 'ab7': {
-                    'update_hours': list(range(9)), 'update_param': 0,
-                    'special_update_config': {'special_hours': [0, 1, 9, 10], 'special_gradient': 0.01,
+                    'update_hours': list(range(7)), 'update_param': 0,
+                    'special_update_config': {'special_hours': [0, 1, 7, 8], 'special_gradient': 0.01,
                                               'special_max_update_step': 30}
                 },  # 0-9点,uv控制在0%
                 # 'ab8': {
@@ -1176,6 +1176,21 @@ class BaseConfig(object):
                     'special_update_config': {'special_hours': [0, 9], 'special_gradient': 0.01,
                                               'special_max_update_step': 55}
                 },  # 0-9点,uv控制在0%
+                'ab3': {
+                    'update_hours': list(range(7)), 'update_param': 0,
+                    'special_update_config': {'special_hours': [0, 7], 'special_gradient': 0.01,
+                                              'special_max_update_step': 55}
+                },  # 0-7点,uv控制在0%
+                'ab4': {
+                    'update_hours': list(range(7)), 'update_param': 0,
+                    'special_update_config': {'special_hours': [0, 7], 'special_gradient': 0.01,
+                                              'special_max_update_step': 55}
+                },  # 0-7点,uv控制在0%
+                'ab7': {
+                    'update_hours': list(range(7)), 'update_param': 0,
+                    'special_update_config': {'special_hours': [0, 7], 'special_gradient': 0.01,
+                                              'special_max_update_step': 55}
+                },  # 0-7点,uv控制在0%
             },
         },
         # 内容精选
@@ -1196,6 +1211,14 @@ class BaseConfig(object):
                 'ab8': 1 / 48,
                 'ab9': 1 / 48,
             },
+            # 分时段控制目标uv参数
+            'target_uv_param': {
+                'ab5': {
+                    'update_hours': list(range(7)), 'update_param': 0,
+                    'special_update_config': {'special_hours': [0, 1, 7, 8], 'special_gradient': 0.01,
+                                              'special_max_update_step': 30}
+                },  # 0-7点,uv控制在0%
+            },
         },
         # 票圈短视频
         APP_TYPE['SHORT_VIDEO']: {