def generate_dbot_score(indicator):
    """ Arbitrary (but consistent) scoring method

    Assign a dbot score according to the last digit of the hash of the indicator.

    parameter: (string) indicator
        The indicator for which we need to generate a dbot score

    returns:
        Dbot score (0,1,2, or 3)
    """
    the_hash = hash(indicator)
    last_digit = abs(the_hash) % 10
    if last_digit == 0:
        return 0
    elif last_digit < 5:
        return 1
    elif last_digit < 8:
        return 2
    else:
        return 3