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} лет."