Normalized distance calculation returns incorrect values
Normalized distance calculation returns incorrect values: a task in harness-adapters: Agentic coding environments (Harbor dataset). The normalized distance calculation is producing incorrect results. When comparing identical strings, the normalized distance should be 0, but it's returning 1…
The task
The normalized distance calculation is producing incorrect results. When comparing identical strings, the normalized distance should be 0, but it's returning 1 instead. Additionally, there are issues with division by zero errors occurring in various distance calculations.
Part of harness-hub/harness-adapters.