ci: align backend lint checks
Some checks failed
CI / Backend (lint + tests + compose) (push) Has been cancelled
CI / Frontend (lint + type-check + build) (push) Has been cancelled

This commit is contained in:
Vadim Malanov
2026-06-14 20:14:49 +03:00
parent dba0484f5a
commit 2e76554188
14 changed files with 22 additions and 20 deletions

View File

@@ -57,7 +57,7 @@ def percentile(values: list[float], q: float) -> float:
if not values:
return 0.0
s = sorted(values)
idx = max(0, min(len(s) - 1, int(round((q / 100.0) * (len(s) - 1)))))
idx = max(0, min(len(s) - 1, round((q / 100.0) * (len(s) - 1))))
return s[idx]

View File

@@ -20,7 +20,6 @@ import random
from locust import HttpUser, between, task
QUERIES = [
"ГОСТ 21.501-93 рабочие чертежи",
"класс бетона B25",