The amount of bad behavior with which she must contend is shocking. It's entirely foreign to me from our childhood, and she has relatively little freedom in how she can handle chronically problematic students.
If it is theoretically possible for the teachers to keep the disruption level low enough for much learning to happen, then the formula is a secret.
It's very depressing, and it has left many teachers bitter, burned out, and I suspect more racist.