Commit af032f6
committed
fix(api): drop redundant avgNearMissDelta guard in loosen-threshold branch
bugbot LOW: nearMisses is filtered to s.score <= threshold + 0.03 so
avgNearMissDelta is constrained to (0, 0.03] by construction. The
extra '< 0.03' guard never excluded anything useful but did suppress
the loosen recommendation in the boundary case where every near miss
sits at exactly threshold + 0.03 (delta avg == 0.03), falling through
to 'optimal' despite a high near-miss rate.1 parent df4049b commit af032f6
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
| 226 | + | |
226 | 227 | | |
227 | 228 | | |
228 | 229 | | |
| |||
0 commit comments