entangle
entangle copied to clipboard
Fuzzy-patching gives `IndexOutOfBounds` exception
The fuzzy patching algorithm provided by clj-diff will do this when trying to apply a patch where the shadow has changed.
Should investigate different algorithms or improve clj-diff to work around this.
Further discovery: this was a flaw in the algorithm I was employing. If a patch gives an IndexOutOfBounds
exception, it's generally OK because patching should be fuzzy. However, maybe we need to refine the scope of changes because with a large patch, applying a patch is all or nothing.