Commit e9caf81
fix: correct default weights to sum to 1.0
The default weights were summing to 0.99 instead of 1.0, causing validation errors:
"Default weights must sum to 1.0 (got 0.9900, difference: -0.0100)"
Root cause: Tier distribution was:
- Tier 1: 54% (0.54)
- Tier 2: 27% (0.27)
- Tier 3: 15% (0.15)
- Tier 4: 3% (0.03)
Total: 99% (0.99) ❌
Fix: Increased dependency_security from 0.04 to 0.05
- Tier 1: 55% (0.55)
- Tier 2: 27% (0.27)
- Tier 3: 15% (0.15)
- Tier 4: 3% (0.03)
Total: 100% (1.00) ✅
This permanently fixes the floating-point validation error that appeared frequently in CI.
🤖 Generated with Claude Code
Co-Authored-By: Claude Sonnet 4.5 <[email protected]>1 parent 592aab6 commit e9caf81
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | | - | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| 19 | + | |
18 | 20 | | |
19 | | - | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
25 | | - | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
0 commit comments