|
@@ -264,12 +264,13 @@ public class RankStrategyBy688 extends RankStrategyBasic {
|
|
|
for (AdRankItem item : result) {
|
|
|
double originalScore = item.getLrScore();
|
|
|
double calibratedScore;
|
|
|
- log.info("cidSet={}",DnnCidDataHelper.getCidSet());
|
|
|
+ log.info("cidSet={}", DnnCidDataHelper.getCidSet());
|
|
|
if (CollectionUtils.isNotEmpty(DnnCidDataHelper.getCidSet()) && !DnnCidDataHelper.getCidSet().contains(item.getAdId())) {
|
|
|
Map<String, Map<String, String>> cidFeature = allCidFeature.getOrDefault(String.valueOf(item.getAdId()), new HashMap<>());
|
|
|
Map<String, String> b3Feature = cidFeature.getOrDefault("alg_cid_feature_cid_action", new HashMap<>());
|
|
|
double view = Double.parseDouble(b3Feature.getOrDefault("ad_view_14d", "0"));
|
|
|
double conver = Double.parseDouble(b3Feature.getOrDefault("ad_conversion_14d", "0"));
|
|
|
+ log.info("not cid view={}, conver={}", view, conver);
|
|
|
if (view <= 0) {
|
|
|
calibratedScore = 0.0;
|
|
|
} else {
|