def get_sentiment(score: float, thresh=0.05) -> str:
    """
    Engineers sentiment (positive, negative, neutral) 
    based on sentiment score [-1, 1].

    Default thresholds:
      positive: compound score >= 0.05
      neutral: 0.05 > compound score > -0.05
      negative: compound score <= -0.05
    """
    assert isinstance(
        score, (float, int)), 'Sentiment score must be float or int.'
    assert isinstance(
        thresh, (float, int)), 'Threshold must be float or int.'

    assert -1 <= score <= 1, 'Sentiment score must be between -1 and 1.'
    assert 0 < thresh < 1, 'Threshold must be between 0 and 1.'

    if score >= thresh:
        return 'positive'
    elif score <= -thresh:
        return 'negative'

    return 'neutral'