fix: soft factor scores use 0-1 scale matching the scoring engine

LOW=0.30 / MEDIUM=0.55 / HIGH=0.85 — previously 3/5/8 which clamped
every soft factor to 100 regardless of level chosen.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Benjamin Sutter
2026-05-22 10:11:18 +02:00
parent 955da564a0
commit 9f877614c1
+1 -1
View File
@@ -50,7 +50,7 @@ const LEVEL_OPTIONS = [
]
const LEVEL_TO_SCORE: Record<string, number | undefined> = {
LOW: 3, MEDIUM: 5, HIGH: 8, '': undefined,
LOW: 0.30, MEDIUM: 0.55, HIGH: 0.85, '': undefined,
}
const FIT_OUT_OPTIONS = [