|
Some checks failed
CI / changes (push) Successful in 8s
CI / changes (pull_request) Successful in 7s
CI / backend-tests (push) Has been skipped
CI / openapi-codegen-check (push) Has been skipped
CI / frontend-tests (push) Has been skipped
CI / frontend-tests (pull_request) Has been skipped
CI / openapi-codegen-check (pull_request) Successful in 1m39s
CI / backend-tests (pull_request) Failing after 8m48s
Replace whole-HTML re.search for status with a 3-level block-scoped strategy: 1. CSS badge classes (status/badge/tag/chip/label) — highest precision. 2. Proximity to block labelled «Статус» via _find_text_near. 3. Full blocks scan where sold/reserved keywords always beat free — preventing «в продаже» from nav/similar-flats sections from misclassifying sold flats as free. Add _STATUS_KW_RE and _classify_status_kw at module level with full morphological coverage: продан/продана/продано, реализован[аоы]?, забронирован[аоы]?, свободн[аоы]?. Add 31 tests in test_domrf_catalog_parse.py covering all three extraction levels plus regression for fem. word-form «Квартира продана». |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_domrf_catalog_object.py | ||
| test_domrf_catalog_parse.py | ||
| test_domrf_kn_normalize.py | ||
| test_ekb_krt_registry.py | ||
| test_ekb_ppt_tep_parser.py | ||
| test_gisogd_so_client.py | ||
| test_izyatie_ocr.py | ||
| test_okn_egrkn_client.py | ||
| test_page_reservation_parser.py | ||