#441 [Feat] 애드픽 쇼핑 상품에 더 높은 로테이션 가중치 부여 - #457
Merged
Merged
Conversation
- 쇼핑 상품 가중치를 3, 앱 캠페인을 1로 나눈다. 앱 캠페인은 7건뿐이라 같은 가중치면 지면마다 같은 소재가 반복해서 뽑힌다. - 동기화가 기존 소재의 가중치도 갱신하도록 syncFromAdpick 에 weight 를 넘긴다. 넘기지 않으면 이미 저장된 소재는 설정을 바꿔도 그대로 남는다. - ADPICK_WEIGHT, ADPICK_SHOPPING_WEIGHT 로 조정한다.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
문제
애드픽 재고 67건 중 앱 캠페인은 7건, 쇼핑·핫딜 상품이 60건입니다. 그런데 가중치가 모두 1로 같아, 앱 캠페인이 재고 비중에 비해 자주 뽑힙니다. 7건뿐이라 같은 소재가 지면마다 반복 노출됩니다.
변경
ADPICK_SHOPPING_WEIGHT,ADPICK_WEIGHT로 조정한다.syncFromAdpick에 weight 를 넘긴다. 넘기지 않으면 이미 저장된 소재는 설정을 바꿔도 예전 값으로 남는다.검증
./gradlew test --tests "com.swyp.picke.domain.ad.*"→ BUILD SUCCESSFULAdpickCampaignSyncServiceTest11건 통과 (가중치 분리 검증 포함)