def METHOD_NAME(cls, val):
    """Ensure a reasonable group index step is used."""
    if val >= 1:
        raise ValidationError(
            "Parameter 'group_index_step' is a fractional value. It must be less than 1."
        )
    return val