perform_analyses now only condition prediction and residual testing in debug mode