def sentihood_strict_acc(y_true, y_pred):
    """
    Calculate "strict Acc" of aspect detection task of Sentihood.
    """
    total_cases = int(len(y_true) / 4)
    true_cases = 0
    for i in range(total_cases):
        if y_true[i * 4] != y_pred[i * 4]:
            continue
        if y_true[i * 4 + 1] != y_pred[i * 4 + 1]:
            continue
        if y_true[i * 4 + 2] != y_pred[i * 4 + 2]:
            continue
        if y_true[i * 4 + 3] != y_pred[i * 4 + 3]:
            continue
        true_cases += 1
    aspect_strict_Acc = true_cases / total_cases

    return aspect_strict_Acc