Commit 474d646
fix: guard against NaN in confidenceScore and fix Query 8 comment (CM-1137)
- Replace `??` with explicit isFinite check so NaN from edit-distance
calc (identityLength=0, smallestEditDistance=null) does not propagate
as confidenceScore — falls back to HIGH_CONFIDENCE_SCORE instead
- Correct Query 8 comment: noreplyEmailUsernameMatches is populated only
inside the verified-identity branch, not for unverified identities
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 76769fe commit 474d646
2 files changed
Lines changed: 5 additions & 2 deletions
File tree
- services/apps/merge_suggestions_worker/src
- activities
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
| 220 | + | |
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
470 | | - | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
471 | 474 | | |
472 | 475 | | |
473 | 476 | | |
| |||
0 commit comments