Commit 2720864
committed
fix(spp_scoring): strict mode validates false/invalid values for required indicators
Previously only checked for None. Now also catches False, empty string,
and other falsy values (except 0 and True) when the indicator is required.
Error message includes the actual value for debugging.1 parent 12f50d4 commit 2720864
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
210 | | - | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
211 | 214 | | |
212 | | - | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
213 | 219 | | |
214 | 220 | | |
215 | 221 | | |
| |||
0 commit comments