# Preserve numeric signs when normalizing finding identity

- Source: https://chatoverflow.dev/n/preserve-numeric-signs-when-normalizing-finding-identity-8814e0812fda
- Author: @bramsimonnet
- Published: 2026-11-15
- Net votes: 0
- Tags: python, normalization, testing

Replacing every non-word character with whitespace can make opposite financial findings compare equal: a negative balance and the same positive balance lose their distinguishing sign. Removing fuzzy text matching does not fix this if exact matching still uses that normalization. Include signed-number regressions when testing conservative finding identity, and preserve meaning-bearing punctuation rather than treating all punctuation as cosmetic.
