|  | @@ -14,7 +14,6 @@ import org.apache.commons.collections4.MapUtils;
 | 
											
												
													
														|  |  import org.apache.commons.lang3.StringUtils;
 |  |  import org.apache.commons.lang3.StringUtils;
 | 
											
												
													
														|  |  import org.springframework.beans.factory.annotation.Value;
 |  |  import org.springframework.beans.factory.annotation.Value;
 | 
											
												
													
														|  |  import org.springframework.stereotype.Component;
 |  |  import org.springframework.stereotype.Component;
 | 
											
												
													
														|  | -import org.springframework.stereotype.Service;
 |  | 
 | 
											
												
													
														|  |  import org.xm.Similarity;
 |  |  import org.xm.Similarity;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  import java.io.BufferedReader;
 |  |  import java.io.BufferedReader;
 | 
											
										
											
												
													
														|  | @@ -92,7 +91,7 @@ public class RankStrategyXGBAutoUpdateModel688 extends RankStrategyXGBBasic {
 | 
											
												
													
														|  |                  adRankItem.setCpm(ObjUtil.nullOrDefault(dto.getCpm(), 90).doubleValue());
 |  |                  adRankItem.setCpm(ObjUtil.nullOrDefault(dto.getCpm(), 90).doubleValue());
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |                  String cidStr = dto.getCreativeId().toString();
 |  |                  String cidStr = dto.getCreativeId().toString();
 | 
											
												
													
														|  | -                Map<String, String> cidFeatureMap = new ConcurrentHashMap<>();
 |  | 
 | 
											
												
													
														|  | 
 |  | +                Map<String, String> cidFeatureMap = adRankItem.getFeatureMap();
 | 
											
												
													
														|  |                  Map<String, Map<String, String>> cidFeature = allCidFeature.getOrDefault(cidStr, new HashMap<>());
 |  |                  Map<String, Map<String, String>> cidFeature = allCidFeature.getOrDefault(cidStr, new HashMap<>());
 | 
											
												
													
														|  |                  Map<String, String> b1Feature = cidFeature.getOrDefault("alg_cid_feature_basic_info", new HashMap<>());
 |  |                  Map<String, String> b1Feature = cidFeature.getOrDefault("alg_cid_feature_basic_info", new HashMap<>());
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -112,7 +111,7 @@ public class RankStrategyXGBAutoUpdateModel688 extends RankStrategyXGBBasic {
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |                  this.handleD2Feature(vidRankMaps, cidFeatureMap, cidStr);
 |  |                  this.handleD2Feature(vidRankMaps, cidFeatureMap, cidStr);
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -                adRankItem.setFeatureMap(cidFeatureMap);
 |  | 
 | 
											
												
													
														|  | 
 |  | +                // adRankItem.setFeatureMap(cidFeatureMap);
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |                  adRankItems.add(adRankItem);
 |  |                  adRankItems.add(adRankItem);
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -152,7 +151,7 @@ public class RankStrategyXGBAutoUpdateModel688 extends RankStrategyXGBBasic {
 | 
											
												
													
														|  |                  adRankItem.setCpm(ObjUtil.nullOrDefault(dto.getCpm(), 90).doubleValue());
 |  |                  adRankItem.setCpm(ObjUtil.nullOrDefault(dto.getCpm(), 90).doubleValue());
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |                  String cidStr = dto.getCreativeId().toString();
 |  |                  String cidStr = dto.getCreativeId().toString();
 | 
											
												
													
														|  | -                Map<String, String> cidFeatureMap = new HashMap<>();
 |  | 
 | 
											
												
													
														|  | 
 |  | +                Map<String, String> cidFeatureMap = adRankItem.getFeatureMap();
 | 
											
												
													
														|  |                  Map<String, Map<String, String>> cidFeature = allCidFeature.getOrDefault(cidStr, new HashMap<>());
 |  |                  Map<String, Map<String, String>> cidFeature = allCidFeature.getOrDefault(cidStr, new HashMap<>());
 | 
											
												
													
														|  |                  Map<String, String> b1Feature = cidFeature.getOrDefault("alg_cid_feature_basic_info", new HashMap<>());
 |  |                  Map<String, String> b1Feature = cidFeature.getOrDefault("alg_cid_feature_basic_info", new HashMap<>());
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -176,7 +175,7 @@ public class RankStrategyXGBAutoUpdateModel688 extends RankStrategyXGBBasic {
 | 
											
												
													
														|  |                  this.handleE1AndE2Feature(e1Feature, e2Feature, title, cidFeatureMap);
 |  |                  this.handleE1AndE2Feature(e1Feature, e2Feature, title, cidFeatureMap);
 | 
											
												
													
														|  |                  this.handleD3AndB1Feature(d3Feature, title, cidFeatureMap);
 |  |                  this.handleD3AndB1Feature(d3Feature, title, cidFeatureMap);
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -                adRankItem.setFeatureMap(cidFeatureMap);
 |  | 
 | 
											
												
													
														|  | 
 |  | +                // adRankItem.setFeatureMap(cidFeatureMap);
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |                  adRankItems.add(adRankItem);
 |  |                  adRankItems.add(adRankItem);
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -564,7 +563,7 @@ public class RankStrategyXGBAutoUpdateModel688 extends RankStrategyXGBBasic {
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      private Map<String, String> featureBucket(Map<String, String> featureMap) {
 |  |      private Map<String, String> featureBucket(Map<String, String> featureMap) {
 | 
											
												
													
														|  | -        Map<String, String> newFeatureMap = new HashMap<>(featureMap.size());
 |  | 
 | 
											
												
													
														|  | 
 |  | +        Map<String, String> newFeatureMap = new ConcurrentHashMap<>(featureMap.size());
 | 
											
												
													
														|  |          for (Map.Entry<String, String> entry : featureMap.entrySet()) {
 |  |          for (Map.Entry<String, String> entry : featureMap.entrySet()) {
 | 
											
												
													
														|  |              String name = entry.getKey();
 |  |              String name = entry.getKey();
 | 
											
												
													
														|  |              double score = Double.parseDouble(entry.getValue());
 |  |              double score = Double.parseDouble(entry.getValue());
 |