refactoring, use AllocationRepository to retrieve allocation data for stats page