StateAnalysisMetric now uses levensteindistance to match states
logger priority fix