From c6f658fb2fe1e26ea6eef40dcfacb6989b39f771 Mon Sep 17 00:00:00 2001 From: Kavalar Date: Sun, 20 Sep 2026 09:00:55 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D1=80=D0=BE=D0=B2=D0=B5=D0=BD=D1=8C=20?= =?UTF-8?q?=D1=81=D1=82=D1=80=D0=B5=D1=81=D1=81=D0=B0:=20=D1=82=D0=BE?= =?UTF-8?q?=D0=BB=D1=8C=D0=BA=D0=BE=20=D0=B8=D0=BD=D1=82=D0=B5=D1=80=D0=BF?= =?UTF-8?q?=D1=80=D0=B5=D1=82=D0=B0=D1=86=D0=B8=D1=8F=20+=20'=D0=BF=D0=BE?= =?UTF-8?q?=20=D0=91=D0=B0=D0=B5=D0=B2=D1=81=D0=BA=D0=BE=D0=BC=D1=83';=20?= =?UTF-8?q?=D1=83=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD=D0=B0=20=D0=9C=D0=BE=D1=80?= =?UTF-8?q?=D0=B3=D0=B0=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- interpret.py | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/interpret.py b/interpret.py index 80f4ded..7839223 100644 --- a/interpret.py +++ b/interpret.py @@ -263,9 +263,9 @@ def interpret_result(data: dict) -> dict: stress_status, stress_comment = "danger", "Высокий уровень стресса" metrics.append({ "name": "Уровень стресса", - "value": f"{stress}", + "value": stress_comment, "status": stress_status, - "comment": stress_comment, + "comment": "Оценка по Баевскому", }) if stress_status == "warning": warnings.append("Повышенный уровень стресса") @@ -290,15 +290,6 @@ def interpret_result(data: dict) -> dict: "comment": rig_comment, }) - # ── Моргания ─────────────────────────────────────────────── - blinks = data.get("blinks", 0) - metrics.append({ - "name": "Моргания", - "value": f"{blinks}", - "status": "info", - "comment": "За время сканирования", - }) - # ── Сводка ───────────────────────────────────────────────── summary = f"{gender.capitalize()}, {age} лет."