def getMinScore(queryText: str) -> int:
    """
    Returns the minimum score for a queryText, based on the length.
    If we scale the min_score by the length of the section, we may be able to use 'max' score_mode always.
    
    Minimum text length to get > 20 score in the 'max' score_mode is ~ 340 characters
    See, e.g.  `constants.misc_civil_rights` (section 9 of 117hr5ih)
    
    Args:
        queryText (str): The text of the query. 

    Returns:
        int: minimum score 
    """
    length = len(queryText)
    if length < 500:
        return 20
    elif length < 1000:
        return 40
    elif length < 1500:
        return 50
    else:
        return 60