pre-attrition detection