HF RL Explorer

Identity algorithm returns incorrect results for identical sequences

Identity algorithm returns incorrect results for identical sequences: a task in harness-adapters: Agentic coding environments (Harbor dataset). The Identity algorithm is returning unexpected values when comparing sequences. When comparing identical sequences, it should return 1 for similarity, but…

The task

The Identity algorithm is returning unexpected values when comparing sequences. When comparing identical sequences, it should return 1 for similarity, but it's returning 0 instead. Additionally, when comparing different sequences, it returns 1 when it should return 0.

Part of harness-hub/harness-adapters.