Commit Graph

8 Commits

Author SHA1 Message Date
Leonard (VeriPath Agent) 6583c85871 fix(auditing): normalize address punctuation + category synonyms
- _normalize_address: drop commas, map 'suite'->'ste' so '3460 Robin Ln,
  Ste 4' == '3460 Robin Ln Ste 4' (no false address mismatch)
- check_category_alignment: add _CATEGORY_SYNONYMS map so 'beauty salon' /
  'beauty and spa' / 'beauty & spa' collapse; real drift (e.g. 'medical
  spa', 'barber shop') still fires
- Phoenix proof run drops from 4 findings to 2 (removes 2 false positives)
2026-08-14 21:02:33 +00:00
Leonard (VeriPath Agent) 63a24dde3a fix(auditing): reject bad GBP matches + strip phone glyph
- Add _looks_like_match() gate in scrape_google(): rejects search-page
  titles and names sharing no >=4-char token with the query, so the scraper
  no longer ingests a wrong entity (e.g. name='Hours', or 'RK Mechanical'
  for an 'Aire Serv' search).
- Strip BMP PUA glyphs (U+E000-U+F8FF, e.g. the \ue0b0 map-pin) from GBP
  address + phone. Old regex only covered the Supplementary PUA plane
  (\U000E0000-\U000EFFFF) so the glyph leaked into the contract and broke
  downstream phone normalization.
- Also: Apple Maps fallback path when GBP is rejected, and makedirs for the
  optional 3rd-arg output dir.
2026-08-14 20:31:55 +00:00
tonyjbala 822cf7b69a feat(auditing): GBP quality gate + Apple fallback in multi_scraper.py 2026-08-14 17:15:21 +00:00
tonyjbala 9a6a2d812e feat(auditing): add audit_pipeline.sh one-command wrapper 2026-08-14 16:13:12 +00:00
tonyjbala ba57991c0f feat(auditing): add --output-dir flag to audit_engine.py 2026-08-14 16:13:11 +00:00
tonyjbala 2e1cb49cba feat(auditing): add audit_engine.py — 16 deterministic checks with severity + evidence 2026-08-14 15:41:09 +00:00
tonyjbala a17fa8dc65 feat(auditing): add multi_scraper.py — multi-surface GBP/Apple/Bing/Website extractor 2026-08-14 15:39:47 +00:00
Leonard 0da02f7616 chore: scaffold implementation/auditing directory 2026-07-23 23:08:29 +00:00