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:
@@ -33,6 +33,7 @@ export interface ScoreFactor {
|
||||
score: number // 0–100
|
||||
contribution: number // weighted points added to total
|
||||
explanation: string
|
||||
estimated?: boolean // true when score was derived from location intelligence, not direct data
|
||||
}
|
||||
|
||||
// ── Explainability Types ──────────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user