MRA algorithm returns incorrect maximum value and processes strings in reverse
MRA algorithm returns incorrect maximum value and processes strings in reverse: a task in harness-adapters: Agentic coding environments (Harbor dataset). The MRA (Match Rating Approach) phonetic algorithm is producing incorrect results. When calculating the maximum value for sequences, it's…
The task
The MRA (Match Rating Approach) phonetic algorithm is producing incorrect results. When calculating the maximum value for sequences, it's returning the minimum length instead of the maximum, and it's also processing input strings in reverse order.
Part of harness-hub/harness-adapters.