data-driven resource allocation