|
@@ -393,8 +393,12 @@ public class RecommendService {
|
|
|
recallParam.setAppType(param.getAppType());
|
|
|
// hard code 算法实验配置化之前,复用abcode做AB验证
|
|
|
// note 避免非实验产品被覆盖
|
|
|
+ recallParam.setAbCode(param.getAbCode());
|
|
|
+ recallParam.setRuleKey(param.getRuleKey());
|
|
|
+ recallParam.setDataKey(param.getDataKey());
|
|
|
+ recallParam.setHRuleKey(param.getHRuleKey());
|
|
|
+ recallParam.setHDataKey(param.getHDataKey());
|
|
|
if (newExpList.contains(param.getAppType())) {
|
|
|
- recallParam.setAbCode("");
|
|
|
if (MapUtils.isNotEmpty(param.getExpIdMap()) && param.getExpIdMap().containsKey("recall")) {
|
|
|
String expId = param.getExpIdMap().get("recall");
|
|
|
if (abExpCodeMap.containsKey(expId)) {
|
|
@@ -405,13 +409,8 @@ public class RecommendService {
|
|
|
recallParam.setHRuleKey(abExpCodeMap.get(expId).get("h_rule_key"));
|
|
|
}
|
|
|
}
|
|
|
- } else {
|
|
|
- recallParam.setAbCode(param.getAbCode());
|
|
|
- recallParam.setRuleKey(param.getRuleKey());
|
|
|
- recallParam.setDataKey(param.getDataKey());
|
|
|
- recallParam.setHRuleKey(param.getHRuleKey());
|
|
|
- recallParam.setHDataKey(param.getHDataKey());
|
|
|
}
|
|
|
+
|
|
|
recallParam.setVideoId(param.getVideoId());
|
|
|
recallParam.setFlowPoolAbtestGroup(param.getFlowPoolAbtestGroup());
|
|
|
|
|
@@ -445,6 +444,8 @@ public class RecommendService {
|
|
|
rankParam.setRecallResult(recallResult);
|
|
|
// hard code 算法实验配置化之前,复用abcode做AB验证
|
|
|
// note 避免非实验产品被覆盖
|
|
|
+ rankParam.setAbCode(param.getAbCode());
|
|
|
+ rankParam.setRankKeyPrefix(param.getRankKeyPrefix());
|
|
|
if (newExpList.contains(param.getAppType())) {
|
|
|
rankParam.setAbCode("");
|
|
|
if (MapUtils.isNotEmpty(param.getExpIdMap())
|
|
@@ -457,9 +458,8 @@ public class RecommendService {
|
|
|
: "rank:score1:");
|
|
|
}
|
|
|
}
|
|
|
- } else {
|
|
|
- rankParam.setAbCode(param.getAbCode());
|
|
|
}
|
|
|
+
|
|
|
rankParam.setSize(param.getSize());
|
|
|
rankParam.setFlowPoolP(param.getFlowPoolP());
|
|
|
rankParam.setTopK(param.getTopK());
|