def accuracy(predictions, targets):
    """Computes raw accuracy (True Predictions) / (All Predictions)
    
    Args:
        predictions (list): a list of predicted labels
        targets (list): a list of gold labels
    
    Returns:
        float: the raw accuracy between the predictions and the gold labels
    """
    assert len(predictions) == len(targets)
    count_pos = 0
    for predic, gold in zip(predictions, targets):
        if predic == gold:
            count_pos += 1

    return float(count_pos) / len(targets)