feat(home): 인기 커뮤니티 점수에서 팔로워 항목을 제거한다
This commit is contained in:
@@ -80,13 +80,11 @@ class RecommendationScorePolicy {
|
||||
fun calculateCommunityScore(
|
||||
likeCount: Long,
|
||||
commentCount: Long,
|
||||
followerCount: Long,
|
||||
newBoost: Double
|
||||
): Double {
|
||||
return (
|
||||
(RecommendationScoreSpec.COMMUNITY_LIKE_WEIGHT * likeCount) +
|
||||
(RecommendationScoreSpec.COMMUNITY_COMMENT_WEIGHT * commentCount) +
|
||||
(RecommendationScoreSpec.COMMUNITY_FOLLOWER_WEIGHT * followerCount)
|
||||
(RecommendationScoreSpec.COMMUNITY_COMMENT_WEIGHT * commentCount)
|
||||
) * newBoost
|
||||
}
|
||||
|
||||
|
||||
@@ -18,8 +18,7 @@ object RecommendationScoreSpec {
|
||||
const val CHEER_DONATION_COUNT_WEIGHT = 0.1
|
||||
|
||||
const val COMMUNITY_LIKE_WEIGHT = 0.5
|
||||
const val COMMUNITY_COMMENT_WEIGHT = 0.4
|
||||
const val COMMUNITY_FOLLOWER_WEIGHT = 0.1
|
||||
const val COMMUNITY_COMMENT_WEIGHT = 0.5
|
||||
|
||||
const val NEW_BOOST_10_DAYS = 1.5
|
||||
const val NEW_BOOST_20_DAYS = 1.3
|
||||
|
||||
Reference in New Issue
Block a user