Add hometitle service: fuzzy matching engine and change detector FRE-5351

- matcher.service.ts: name/address normalization, Levenshtein distance,
  geocoding proximity, confidence scoring (0.0-1.0)
- change-detector.ts: PropertySnapshot diff engine, severity scoring
  (minor/moderate/major), configurable thresholds, alert triggering
- 57 unit tests with 98%+ coverage across all thresholds
This commit is contained in:
2026-05-14 09:09:23 -04:00
parent 1b917321cf
commit 74949d9bcc
35 changed files with 7716 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
export {
matchRecords,
getConfigForPropertyType,
parseName,
normalizeString,
normalizeStreetType,
levenshteinDistance,
similarityScore,
} from './matcher.service';
export {
detectChanges,
shouldTriggerAlert,
classifyFieldChange,
determineSeverity,
computeChangeConfidence,
} from './change-detector';
export type {
PropertyRecord,
Address,
PropertyType,
PropertySnapshot,
MatchResult,
MatchDetails,
FieldMatch,
ChangeDetectionResult,
ChangeType,
Severity,
PropertyChange,
MatchingConfig,
DetectionConfig,
NormalizedTokens,
} from './types';