|
@@ -62,6 +62,7 @@ public class VideoAdThompsonScorerV2 {
|
|
Map<String, Object> ext = this.extMap(statistic, "663", dto.getCpa(), null, exp663Param.getOrDefault("alpha", 1d), exp663Param.getOrDefault("beta", 10000d), null);
|
|
Map<String, Object> ext = this.extMap(statistic, "663", dto.getCpa(), null, exp663Param.getOrDefault("alpha", 1d), exp663Param.getOrDefault("beta", 10000d), null);
|
|
item.setExt(ext);
|
|
item.setExt(ext);
|
|
item.setScore(score);
|
|
item.setScore(score);
|
|
|
|
+ item.setScore_type(663);
|
|
}catch (Exception e){
|
|
}catch (Exception e){
|
|
log.error("svc=thompsonScorerByExp663 {}",gson.toJson(e.getStackTrace()));
|
|
log.error("svc=thompsonScorerByExp663 {}",gson.toJson(e.getStackTrace()));
|
|
}
|
|
}
|
|
@@ -104,6 +105,7 @@ public class VideoAdThompsonScorerV2 {
|
|
|
|
|
|
Map<String, Object> ext = this.extMap(statistic, "664", dto.getCpa(), null, exp663Param.getOrDefault("alpha", 1d), exp663Param.getOrDefault("beta", 10000d), null);
|
|
Map<String, Object> ext = this.extMap(statistic, "664", dto.getCpa(), null, exp663Param.getOrDefault("alpha", 1d), exp663Param.getOrDefault("beta", 10000d), null);
|
|
item.setExt(ext);
|
|
item.setExt(ext);
|
|
|
|
+ item.setScore_type(664);
|
|
}catch (Exception e){
|
|
}catch (Exception e){
|
|
log.error("svc=thompsonScorerByExp664 {}",gson.toJson(e.getStackTrace()));
|
|
log.error("svc=thompsonScorerByExp664 {}",gson.toJson(e.getStackTrace()));
|
|
}
|
|
}
|
|
@@ -142,6 +144,7 @@ public class VideoAdThompsonScorerV2 {
|
|
}
|
|
}
|
|
score=score*dto.getCpa()*dto.getBid1()*dto.getBid2();
|
|
score=score*dto.getCpa()*dto.getBid1()*dto.getBid2();
|
|
item.setScore(score);
|
|
item.setScore(score);
|
|
|
|
+ item.setScore_type(665);
|
|
|
|
|
|
Map<String, Object> ext = this.extMap(statistic, "665", dto.getCpa(), null, exp663Param.getOrDefault("alpha", 1d), exp663Param.getOrDefault("beta", 10000d), null);
|
|
Map<String, Object> ext = this.extMap(statistic, "665", dto.getCpa(), null, exp663Param.getOrDefault("alpha", 1d), exp663Param.getOrDefault("beta", 10000d), null);
|
|
item.setExt(ext);
|
|
item.setExt(ext);
|
|
@@ -203,6 +206,7 @@ public class VideoAdThompsonScorerV2 {
|
|
}
|
|
}
|
|
score=score*dto.getCpa()*dto.getBid1()*dto.getBid2();
|
|
score=score*dto.getCpa()*dto.getBid1()*dto.getBid2();
|
|
item.setScore(score);
|
|
item.setScore(score);
|
|
|
|
+ item.setScore_type(666);
|
|
|
|
|
|
Map<String, Object> ext = this.extMap(statistic, "665", dto.getCpa(), exp666Param.getOrDefault("viewThreshold",5000d), exp663Param.getOrDefault("alpha", 1d),
|
|
Map<String, Object> ext = this.extMap(statistic, "665", dto.getCpa(), exp666Param.getOrDefault("viewThreshold",5000d), exp663Param.getOrDefault("alpha", 1d),
|
|
exp663Param.getOrDefault("beta", 10000d), exp666Param.getOrDefault("beta_k",9d));
|
|
exp663Param.getOrDefault("beta", 10000d), exp666Param.getOrDefault("beta_k",9d));
|