Stupidity: At the prison yard, when Weiss overhears that the sonic deadline was being deactivated to let new prisoners in, he manages to look at the deactivation code. The guard sees Weiss looking at the code and switches the computer off. If he had changed the code and informed another guard, none of the prisoners would have escaped.
Plot hole: There is no reason for the prison guards to use portable computers in full view of the inmates to input the sonic deadline code. The guards can walk outside of the deadline whenever they need to input the code, or radio the guard on the outside to lower and raise the deadline like they do when bringing the workers out. In fact, this plot hole is compounded by the presence of the guards stationed outside of the deadline with their own computer, which makes the guard inside the deadline completely unnecessary. The interior guard is only there so Weiss has a way to get both the code and a computer, but this prison set-up makes absolutely no sense.