clustering success rate script