HF RL Explorer

text line diffs: fix bug

text line diffs: fix bug: a task in smol-software-harbor (Harbor dataset). The wiki history shows far bigger diffs than necessary ( test minimal and test insert fail): diff() in linediff.py builds its longest-common-subsequence table and walks it incorrectly. Fix the table recurrence and the walk…

The task

The wiki history shows far bigger diffs than necessary (`test_minimal` and `test_insert` fail): `diff()` in `linediff.py` builds its longest-common-subsequence table and walks it incorrectly. Fix the table recurrence and the walk so the diff is minimal and, at a difference, deletions come before insertions as the…

Part of efederici/smol-software-harbor.