6.3.1: Буст Group2 × 1.2, max 120%
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m32s

This commit is contained in:
poignatov
2026-03-07 19:29:19 +03:00
parent 7f51411175
commit c7b684491c
4 changed files with 76 additions and 2 deletions

View File

@@ -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 {