#3(GitHub) Introduced function to compute rating_for_service_level in sanitation