Pārlūkot izejas kodu

update ad abtest config

liqian 2 gadi atpakaļ
vecāks
revīzija
ea815e88f6
1 mainītis faili ar 12 papildinājumiem un 12 dzēšanām
  1. 12 12
      config.py

+ 12 - 12
config.py

@@ -1203,15 +1203,15 @@ class BaseConfig(object):
                                               '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,
+                    'update_hours': list(range(7)) + [23], 'update_param': 0,
+                    'special_update_config': {'special_hours': [23, 0, 7, 8], 'special_gradient': 0.01,
                                               'special_max_update_step': 23}
-                },  # 0-7点,uv控制在0%
+                },  # 当天23:00 - 第二天8:00,uv控制在0%
                 'ab3': {
-                    'update_hours': list(range(7)), 'update_param': 0,
-                    'special_update_config': {'special_hours': [0, 1, 7, 8], 'special_gradient': 0.01,
+                    'update_hours': list(range(7)) + [23], 'update_param': 0,
+                    'special_update_config': {'special_hours': [23, 0, 7, 8], 'special_gradient': 0.01,
                                               'special_max_update_step': 23}
-                },  # 0-7点,uv控制在0%
+                },  # 当天23:00 - 第二天8:00,uv控制在0%
                 'ab4': {
                     'update_hours': list(range(7)), 'update_param': 0,
                     'special_update_config': {'special_hours': [0, 1, 7, 8], 'special_gradient': 0.01,
@@ -1352,15 +1352,15 @@ class BaseConfig(object):
                                               'special_max_update_step': 55}
                 },  # 0-7点,uv控制在0%
                 'ab2': {
-                    'update_hours': list(range(7)), 'update_param': 0,
-                    'special_update_config': {'special_hours': [0, 7], 'special_gradient': 0.01,
+                    'update_hours': list(range(7)) + [23], 'update_param': 0,
+                    'special_update_config': {'special_hours': [23, 7], 'special_gradient': 0.01,
                                               'special_max_update_step': 55}
-                },  # 0-7点,uv控制在0%
+                },  # 当天23:00 - 第二天8:00,uv控制在0%
                 'ab3': {
-                    'update_hours': list(range(7)), 'update_param': 0,
-                    'special_update_config': {'special_hours': [0, 7], 'special_gradient': 0.01,
+                    'update_hours': list(range(7)) + [23], 'update_param': 0,
+                    'special_update_config': {'special_hours': [23, 7], 'special_gradient': 0.01,
                                               'special_max_update_step': 55}
-                },  # 0-7点,uv控制在0%
+                },  # 当天23:00 - 第二天8:00,uv控制在0%
                 'ab4': {
                     'update_hours': list(range(7)), 'update_param': 0,
                     'special_update_config': {'special_hours': [0, 7], 'special_gradient': 0.01,