def slqs(x_entr, y_entr):
    """
    Computes SLQS score from two entropy values.
    :param x_entr: entropy value of x
    :param y_entr: entropy value of y
    :return: SLQS score
    """
    
    score = 1 - (x_entr/y_entr) if y_entr != 0.0 else -1.0  
    
    return score