|
|
@@ -81,7 +81,7 @@ pub fn generate_rank_by_indicator_map(indicator_map: &MutexGuard<HashMap<String,
|
|
|
|
|
|
// msv_score计算规则
|
|
|
let mut msv_score = if msv_abs_total > Decimal::ZERO && epr_total > Decimal::ZERO {
|
|
|
- (Decimal::ONE + epr_total / msv_abs_total).ln() * SIXTY
|
|
|
+ (msv_abs_avg * epr_total / msv_abs_total) * SIXTY
|
|
|
} else {
|
|
|
Decimal::ZERO
|
|
|
};
|
|
|
@@ -98,7 +98,7 @@ pub fn generate_rank_by_indicator_map(indicator_map: &MutexGuard<HashMap<String,
|
|
|
|
|
|
// frequency_score计算规则
|
|
|
let mut frequency_score = if effective_count > Decimal::ZERO {
|
|
|
- (Decimal::ONE + effective_count).ln() * TWENTY
|
|
|
+ (Decimal::ONE + effective_count).ln()
|
|
|
} else {
|
|
|
Decimal::ZERO
|
|
|
};
|