Cosine similarity returns incorrect values after recent changes
Cosine similarity returns incorrect values after recent changes: a task in harness-adapters: Agentic coding environments (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…
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/harness-adapters.