matching algorithm diagnostics