Precision Improvement And Cost Reduction For Defect Mining And Testing