I'd love to see the details of the algorithm itself. Surely it can't have been too difficult to put some guard rails in there to prevent it moving any grade more than say, two places (maybe even one) from the predicted grade.
Instead it seemed to have the freedom to do whatever it liked. Moving Bs to fails. Students predicted to fail getting As.
That's just incompetence on the part of whoever made that algorithm.