|
@@ -83,7 +83,7 @@ pub fn generate_rank_by_indicator_map(indicator_map: &MutexGuard<HashMap<String,
|
|
|
// ======================== 最终计算 =========================
|
|
// ======================== 最终计算 =========================
|
|
|
// msv_score计算规则
|
|
// msv_score计算规则
|
|
|
let mut msv_score = if msv_abs_total > Decimal::ZERO && epr_total > Decimal::ZERO {
|
|
let mut msv_score = if msv_abs_total > Decimal::ZERO && epr_total > Decimal::ZERO {
|
|
|
- (msv_abs_max * epr_total / msv_abs_total) * SIXTY
|
|
|
|
|
|
|
+ ((msv_abs_max * epr_total / msv_abs_total) * SIXTY).powd(Decimal::TWO)
|
|
|
} else {
|
|
} else {
|
|
|
Decimal::ZERO
|
|
Decimal::ZERO
|
|
|
};
|
|
};
|