6.3.1: Буст Group2 × 1.2, max 120%
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m32s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m32s
This commit is contained in:
@@ -4721,6 +4721,15 @@ func calculateGroupsProgress(groups map[int][]float64) GroupsProgress {
|
||||
avg = sum / float64(len(scores))
|
||||
}
|
||||
|
||||
// Для приоритета 2 применяем буст × 1.2, но не более 120%
|
||||
if priorityVal == 2 {
|
||||
boosted := avg * 1.2
|
||||
if boosted > 120.0 {
|
||||
boosted = 120.0
|
||||
}
|
||||
avg = boosted
|
||||
}
|
||||
|
||||
// Сохраняем результат в соответствующее поле
|
||||
avgRounded := roundToFourDecimals(avg)
|
||||
switch priorityVal {
|
||||
|
||||
Reference in New Issue
Block a user