Add the mod priority and error count and formula threshold
Added the performance test