Open hiddenmemory opened 1 month ago
Previously, if a column had no match, it would short circuit returning None, stopping subsequent columns from potentially matching.
This change means that non-matching columns are scored as zero, allowing subsequent columns to be matched against.
If the match has zero score after all columns, then we return None, retaining previous behaviour.
All existing tests pass.
Previously, if a column had no match, it would short circuit returning None, stopping subsequent columns from potentially matching.
This change means that non-matching columns are scored as zero, allowing subsequent columns to be matched against.
If the match has zero score after all columns, then we return None, retaining previous behaviour.
All existing tests pass.