HF RL Explorer

Identity algorithm returns incorrect results for identical sequences

Identity algorithm returns incorrect results for identical sequences: a task in UltraTerminal (Harbor dataset). 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…

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