HF RL Explorer

Gotoh algorithm implementation is broken due to incorrect matrix initialization order

Gotoh algorithm implementation is broken due to incorrect matrix initialization order: a task in harbor-swesmith-rl-artifacts: Harbor SWE-Smith 强化学习数据产物 (Harbor dataset). I'm trying to use the Gotoh algorithm to calculate the edit distance between two sequences, but I'm getting incorrect results…

The task

I'm trying to use the Gotoh algorithm to calculate the edit distance between two sequences, but I'm getting incorrect results. The algorithm seems to be broken in the current implementation.

Part of keryszhan/harbor-swesmith-rl-artifacts.