6.3.2: Буст × 1.2 для группы остальных приоритетов
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m19s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m19s
This commit is contained in:
@@ -4721,8 +4721,8 @@ func calculateGroupsProgress(groups map[int][]float64) GroupsProgress {
|
||||
avg = sum / float64(len(scores))
|
||||
}
|
||||
|
||||
// Для приоритета 2 применяем буст × 1.2, но не более 120%
|
||||
if priorityVal == 2 {
|
||||
// Для остальных приоритетов (не 1 и не 2) применяем буст × 1.2, но не более 120%
|
||||
if priorityVal != 1 && priorityVal != 2 {
|
||||
boosted := avg * 1.2
|
||||
if boosted > 120.0 {
|
||||
boosted = 120.0
|
||||
|
||||
Reference in New Issue
Block a user