docs(estimator): DKP corridor described as P10/P90 not min/max in schema+TS (#1520 follow-up) #1708

Merged
lekss361 merged 1 commit from fix/dkp-corridor-doc-p10p90-1695 into main 2026-06-17 18:42:10 +00:00
Owner

Проблема (ревью #1695)

После #1520 (P10/P90) комменты в Pydantic-схеме и TS-типах всё ещё описывали low_ppm2/high_ppm2 как min/max.

Решение

schemas/trade_in.py + frontend/src/types/trade-in.ts (hand-maintained, не codegen): комменты → «P10/P90 ₽/м² (робастный коридор)». Логика не тронута.

Verify

ruff clean; tsc --noEmit clean; pytest (dkp/corridor/estimator) → 207 passed.

## Проблема (ревью #1695) После #1520 (P10/P90) комменты в Pydantic-схеме и TS-типах всё ещё описывали `low_ppm2`/`high_ppm2` как min/max. ## Решение `schemas/trade_in.py` + `frontend/src/types/trade-in.ts` (hand-maintained, не codegen): комменты → «P10/P90 ₽/м² (робастный коридор)». Логика не тронута. ## Verify `ruff` clean; `tsc --noEmit` clean; `pytest` (dkp/corridor/estimator) → **207 passed**.
lekss361 added 1 commit 2026-06-17 18:29:07 +00:00
docs(estimator): DKP corridor described as P10/P90 not min/max in schema+TS (#1520 follow-up)
Some checks failed
CI / backend-tests (push) Has been cancelled
CI / frontend-tests (push) Has been cancelled
CI / openapi-codegen-check (push) Has been cancelled
CI / changes (push) Has been cancelled
CI / backend-tests (pull_request) Has been cancelled
CI / frontend-tests (pull_request) Has been cancelled
CI / openapi-codegen-check (pull_request) Has been cancelled
CI / changes (pull_request) Has been cancelled
f1c5056397
lekss361 merged commit 16990af11c into main 2026-06-17 18:42:10 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lekss361/gendesign#1708
No description provided.