@max_percentage_threshold needs to be a Float