it seems this initialization is never used.
another unused thing is Direction.BOTH it seems that select_new_direction only picks the other two. If the sequences match nicely, for instance for twice the same test sequence, the matches are doubled because every diagonal move is first a move in ref then in input direction, resulting in paths like this:
[[0 1 2 3 3 4 4 5 5 6 6 7 7 8 8]
[0 1 2 3 3 4 4 5 5 6 6 7 7 8 8]]
matchmaker/matchmaker/dp/oltw_dixon.py
Line 109 in d5c58d7
it seems this initialization is never used.
another unused thing is
Direction.BOTHit seems thatselect_new_directiononly picks the other two. If the sequences match nicely, for instance for twice the same test sequence, the matches are doubled because every diagonal move is first a move in ref then in input direction, resulting in paths like this: