Claude Agent
0f817b2130
fix(address): normalize SECTORUL + etaj in addr_match, fix Oracle duplicate addrs
- _addr_match / addrMatch: add SECTORUL\s*\d* branch to strip sector
number; add (?:\b|(?=\d)) to catch glued keywords (sc1, ap94);
include etaj field in rStreet concat
- database.py: replace duplicate addr_match impl with import from sync_service
- import_service.py: short-circuit billing addr Oracle call when
billing == shipping (avoids duplicate address creation)
- PL/SQL: normalize MUNICIPIUL BUCURESTI → BUCURESTI SECTORUL X before
TIER 1; resolve id_localitate before search; TIER 1 now matches on
id_loc instead of text locality
- Add scripts/cleanup_duplicate_addresses.sql for manual prod cleanup
- Add 5 new tests: sectorul, keyword+digit gluing, etaj, short-circuit
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 13:48:49 +00:00
..
2025-09-09 19:38:31 +03:00
2026-03-20 10:37:09 +00:00
2026-04-07 13:48:49 +00:00
2026-03-27 10:29:13 +00:00
2026-03-13 16:18:57 +02:00
2026-03-19 22:29:18 +00:00
2026-03-23 09:15:17 +00:00
2026-03-25 19:05:49 +00:00
2026-03-23 09:15:17 +00:00
2026-03-31 14:09:01 +00:00
2026-03-24 11:48:13 +00:00