def calculate_result(rolls):
    """Takes result of rolls and calculates the net of Successes & Failues as well as net of Advantage and threat """

    results = {
        'check_result': 0,
        'side_effect_result': 0,
        'triumph': 0,
        'dispair': 0,
    }

    for roll in rolls:
        if roll == 'none':
            continue
        elif roll == 'success':
            results['check_result'] += 1
        elif roll == 'failure':
            results['check_result'] -= 1
        elif roll == 'advantage':
            results['side_effect_result'] += 1
        elif roll == 'threat':
            results['side_effect_result'] -= 1
        elif roll == 'triumph':
            results['triumph'] += 1
        elif roll == 'dispair':
            results['dispair'] += 1

    return results