Also, the ways in which a (sane) human will screw-up tend to follow internal logic that other humans have learned to predict, recognize, or understand.
Most devs I've worked with are sane, unfortunately the rare exceptions were not easy to predict or understand.