From ba2294862849e62b287be54ad1070284637e8df6 Mon Sep 17 00:00:00 2001 From: miaowuawa <2484667023@qq.com> Date: Wed, 16 Jul 2025 00:14:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=AF=84=E8=AE=BA=EF=BC=8C?= =?UTF-8?q?=E5=B8=96=E5=AD=90=EF=BC=8C=E7=94=A8=E6=88=B7=E6=8C=87=E6=A0=87?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=EF=BC=8C=E6=B7=BB=E5=8A=A0=E7=BB=8F=E9=AA=8C?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/core/cs/metrics.go | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/internal/core/cs/metrics.go b/internal/core/cs/metrics.go index 7493c0dc..96cd124b 100644 --- a/internal/core/cs/metrics.go +++ b/internal/core/cs/metrics.go @@ -10,9 +10,13 @@ const ( ) type TweetMetric struct { - PostId int64 - IncentiveScore int - DecayFactor int + PostId int64 + IncentiveScore int + DecayFactor int + CommentCount int32 + UpvoteCount int32 + CollectionCount int32 + ShareCount int32 } func (m *TweetMetric) RankScore(motivationFactor int) int64 {