def METHOD_NAME(clean_speech, denoised_speech, sr=16000):
    """
    Compute evaluation metric for task 1 as (stoi+(1-word error rate)/2)
    This function computes such measure for 1 single datapoint
    """
    WER = wer(clean_speech, denoised_speech)
    if WER is not None:  # if there is no speech in the segment
        STOI = stoi(clean_speech, denoised_speech, sr, extended=False)
        WER = np.clip(WER, 0.0, 1.0)
        STOI = np.clip(STOI, 0.0, 1.0)
        metric = (STOI + (1.0 - WER)) / 2.0
    else:
        metric = None
        STOI = None
    return metric, WER, STOI