def interesting(rule):
    '''
    Checks if a given rule is interesting for the given score function
    '''
    score_fun = rule.kb.score_fun
    return _bounds[score_fun][0] < _bounds[score_fun][1] <= rule.score
dataset/ETHPy150Open anzev/hedwig/hedwig/stats/scorefunctions.py/interesting/swapped operands of `<=`