Cosine similarity returns incorrect values after recent changes
Cosine similarity returns incorrect values after recent changes: a task in UltraTerminal (Harbor dataset). The cosine similarity algorithm is returning unexpected values. When comparing strings that should have non-zero similarity, it's returning 0 instead of the expected similarity score.
The task
The cosine similarity algorithm is returning unexpected values. When comparing strings that should have non-zero similarity, it's returning 0 instead of the expected similarity score.
Part of harness-hub/UltraTerminal.