|
@@ -381,8 +381,8 @@ def video_homepage_recommend(mid, uid, size, app_type, algo_type, client_info, a
|
|
|
ab_exp_code = ab_item.get('abExpCode', None)
|
|
|
if not ab_exp_code:
|
|
|
continue
|
|
|
- ab_exp_code_list.append(ab_exp_code)
|
|
|
- config_value_dict[ab_exp_code] = ab_item.get('configValue', None)
|
|
|
+ ab_exp_code_list.append(str(ab_exp_code))
|
|
|
+ config_value_dict[str(ab_exp_code)] = ab_item.get('configValue', None)
|
|
|
if config_.AB_EXP_CODE['rec_size'] in ab_exp_code_list:
|
|
|
config_value = config_value_dict.get(config_.AB_EXP_CODE['rec_size'], None)
|
|
|
if config_value:
|
|
@@ -439,8 +439,8 @@ def video_relevant_recommend(video_id, mid, uid, size, app_type, ab_exp_info):
|
|
|
ab_exp_code = ab_item.get('abExpCode', None)
|
|
|
if not ab_exp_code:
|
|
|
continue
|
|
|
- ab_exp_code_list.append(ab_exp_code)
|
|
|
- config_value_dict[ab_exp_code] = ab_item.get('configValue', None)
|
|
|
+ ab_exp_code_list.append(str(ab_exp_code))
|
|
|
+ config_value_dict[str(ab_exp_code)] = ab_item.get('configValue', None)
|
|
|
if config_.AB_EXP_CODE['rec_size'] in ab_exp_code_list:
|
|
|
config_value = config_value_dict.get(config_.AB_EXP_CODE['rec_size'], None)
|
|
|
if config_value:
|