repair complexity