quality deviation detection systems