Added a weighted failure rate to improve prediction
Added randomization of the tail, and improved the lookup speed on the file_changes list