models/difficulty_percentage library