feat: soft factor enrichment from Swiss location intelligence

When property has no soft factor data, estimate from location:
- 18 location rules covering CH cities/districts (Zürich quartiers,
  Zug tax haven, Bern, Basel, Genf, Lausanne, Luzern, Winterthur,
  logistics hubs) + generic CH fallback
- Estimated factors marked with 'estimated: true' on ScoreFactor
- ScoreBreakdownPanel shows purple 'Schätzung' badge on estimated rows
- Scoring engine: neutral 50 only if no location match found

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Benjamin Sutter
2026-05-22 11:04:51 +02:00
parent f82194ea7f
commit 98b4a1146b
4 changed files with 210 additions and 2 deletions
+1
View File
@@ -33,6 +33,7 @@ export interface ScoreFactor {
score: number // 0100
contribution: number // weighted points added to total
explanation: string
estimated?: boolean // true when score was derived from location intelligence, not direct data
}
// ── Explainability Types ──────────────────────────────────────────────────────