Distance calculation returns negative values for some algorithms
Distance calculation returns negative values for some algorithms: a task in harness-adapters: Agentic coding environments (Harbor dataset). Some text distance algorithms are returning negative distance values, which violates the mathematical definition of distance metrics. Distance should always…
The task
Some text distance algorithms are returning negative distance values, which violates the mathematical definition of distance metrics. Distance should always be non-negative.
Part of harness-hub/harness-adapters.