6.3.2: Буст × 1.2 для группы остальных приоритетов
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m19s

This commit is contained in:
poignatov
2026-03-07 19:35:36 +03:00
parent c7b684491c
commit 80800da839
3 changed files with 4 additions and 4 deletions

View File

@@ -1 +1 @@
6.3.1
6.3.2

View File

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

View File

@@ -1,6 +1,6 @@
{
"name": "play-life-web",
"version": "6.3.1",
"version": "6.3.2",
"type": "module",
"scripts": {
"dev": "vite",