Quellcode durchsuchen

add ad abtest param apptype 3,21,22 target_uv_param

liqian vor 2 Jahren
Ursprung
Commit
b83ce6b1a4
1 geänderte Dateien mit 159 neuen und 0 gelöschten Zeilen
  1. 159 0
      config.py

+ 159 - 0
config.py

@@ -1267,6 +1267,59 @@ class BaseConfig(object):
                 'ab8': 1 / 72,
                 'ab9': 1 / 72,
             },
+            # 分时段控制目标uv参数
+            'target_uv_param': {
+                'ab0': {
+                    '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': 23}
+                },  # 0-7点,uv控制在0%
+                'ab1': {
+                    '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': 23}
+                },  # 0-7点,uv控制在0%
+                'ab2': {
+                    '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': 23}
+                },  # 0-7点,uv控制在0%
+                'ab3': {
+                    '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': 23}
+                },  # 0-7点,uv控制在0%
+                'ab4': {
+                    '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': 23}
+                },  # 0-7点,uv控制在0%
+                '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': 23}
+                },  # 0-7点,uv控制在0%
+                'ab6': {
+                    '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': 23}
+                },  # 0-7点,uv控制在设定目标uv的0%
+                'ab7': {
+                    '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': 23}
+                },  # 0-7点,uv控制在0%
+                'ab8': {
+                    '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': 23}
+                },  # 0-7点,uv控制在0%
+                'ab9': {
+                    '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': 23}
+                },  # 0-7点,uv控制在0%
+            },
         },
         # 票圈视频
         APP_TYPE['LOVE_LIVE']: {
@@ -1540,6 +1593,59 @@ class BaseConfig(object):
                 'ab8': 1 / 48,
                 'ab9': 1 / 48,
             },
+            # 分时段控制目标uv参数
+            'target_uv_param': {
+                'ab0': {
+                    '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': 23}
+                },  # 0-7点,uv控制在0%
+                'ab1': {
+                    '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': 23}
+                },  # 0-7点,uv控制在0%
+                'ab2': {
+                    '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': 23}
+                },  # 0-7点,uv控制在0%
+                'ab3': {
+                    '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': 23}
+                },  # 0-7点,uv控制在0%
+                'ab4': {
+                    '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': 23}
+                },  # 0-7点,uv控制在0%
+                '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': 23}
+                },  # 0-7点,uv控制在0%
+                'ab6': {
+                    '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': 23}
+                },  # 0-7点,uv控制在设定目标uv的0%
+                'ab7': {
+                    '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': 23}
+                },  # 0-7点,uv控制在0%
+                'ab8': {
+                    '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': 23}
+                },  # 0-7点,uv控制在0%
+                'ab9': {
+                    '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': 23}
+                },  # 0-7点,uv控制在0%
+            },
         },
         # 票圈福年
         APP_TYPE['BLESSING_YEAR']: {
@@ -1559,6 +1665,59 @@ class BaseConfig(object):
                 'ab8': 1 / 72,
                 'ab9': 1 / 72,
             },
+            # 分时段控制目标uv参数
+            'target_uv_param': {
+                'ab0': {
+                    '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': 23}
+                },  # 0-7点,uv控制在0%
+                'ab1': {
+                    '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': 23}
+                },  # 0-7点,uv控制在0%
+                'ab2': {
+                    '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': 23}
+                },  # 0-7点,uv控制在0%
+                'ab3': {
+                    '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': 23}
+                },  # 0-7点,uv控制在0%
+                'ab4': {
+                    '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': 23}
+                },  # 0-7点,uv控制在0%
+                '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': 23}
+                },  # 0-7点,uv控制在0%
+                'ab6': {
+                    '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': 23}
+                },  # 0-7点,uv控制在设定目标uv的0%
+                'ab7': {
+                    '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': 23}
+                },  # 0-7点,uv控制在0%
+                'ab8': {
+                    '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': 23}
+                },  # 0-7点,uv控制在0%
+                'ab9': {
+                    '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': 23}
+                },  # 0-7点,uv控制在0%
+            },
         },
     }