Hello, (org-babel-edit-distance "foo" "ffoo") returns 0, whereas 1 seems appropriate. I don't know much about computing the levenshtein distance, but it seems that part of the algorithm (which i found explained on fr.wikipedia) is missing from the code. Please find a patch below trying to address the issue. -- Nico.