Levenshtein distance
The Levenshtein distance is a more appropriate way to measure the bit error rate when using such codes.