The principles and outcomes of resource allocation in China and Taiwan