Browse Source

feat:添加日志

zhaohaipeng 11 months ago
parent
commit
9b25065c10

+ 2 - 0
ad-engine-service/src/main/java/com/tzld/piaoquan/ad/engine/service/score/VideoAdThompsonScorerV2.java

@@ -264,6 +264,8 @@ public class VideoAdThompsonScorerV2 {
             double w2 = expParam.getOrDefault("w2", 1d);
             double score = w1 * vidCidScore + w2 * cidScore;
 
+            log.info("calcScore w1: {}, w1: {}, cidScore: {}, vidCidScore: {}", w1, w2, cidScore, vidCidScore);
+
             AdRankItem item = new AdRankItem();
             item.setCpa(dto.getCpa());
             item.setAdId(dto.getCreativeId());