Kaynağa Gözat

add ad abtest param apptype 5,6 target_uv_param

liqian 2 yıl önce
ebeveyn
işleme
17d7b866ee
1 değiştirilmiş dosya ile 99 ekleme ve 1 silme
  1. 99 1
      config.py

+ 99 - 1
config.py

@@ -1360,10 +1360,55 @@ class BaseConfig(object):
             },
             # 分时段控制目标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': 30}
+                                              '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控制在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%
             },
         },
@@ -1385,6 +1430,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控制在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['LAO_HAO_KAN_VIDEO']: {