HF RL Explorer

normalized distance returns incorrect values and causes ZeroDivisionError

normalized distance returns incorrect values and causes ZeroDivisionError: a task in harness-adapters: Agentic coding environments (Harbor dataset). The normalized distance method is returning incorrect values and causing ZeroDivisionError exceptions in many cases. When comparing identical…

The task

The `normalized_distance` method is returning incorrect values and causing `ZeroDivisionError` exceptions in many cases. When comparing identical strings, it should return 0 but instead throws division by zero errors or returns unexpected values.

Part of harness-hub/harness-adapters.