Checking the health of models with diagnostics