HF RL Explorer

normalized distance returns incorrect values and causes ZeroDivisionError

normalized distance returns incorrect values and causes ZeroDivisionError: a task in UltraTerminal (Harbor dataset). 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…

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/UltraTerminal.