Question: 
Write a function to remove sublists from a given list of lists, which are outside a given range.


Model's Code:
def remove_list_range(lst, start, end):
    return [sublist for sublist in lst if any(start <= x <= end for x in sublist)]



Sample Correct Code:
def remove_list_range(list1, leftrange, rigthrange):
   result = [i for i in list1 if (min(i)>=leftrange and max(i)<=rigthrange)]
   return result


Asserts:
assert remove_list_range([[2], [0], [1, 2, 3], [0, 1, 2, 3, 6, 7], [9, 11], [13, 14, 15, 17]],13,17)==[[13, 14, 15, 17]]
assert remove_list_range([[2], [0], [1, 2, 3], [0, 1, 2, 3, 6, 7], [9, 11], [13, 14, 15, 17]],1,3)==[[2], [1, 2, 3]]
assert remove_list_range([[2], [0], [1, 2, 3], [0, 1, 2, 3, 6, 7], [9, 11], [13, 14, 15, 17]],0,7)==[[2], [0], [1, 2, 3], [0, 1, 2, 3, 6, 7]]


Tests:
Test 1 of 3: PASS
Test 2 of 3: FAIL: AssertionError()

Test 869 of 974: 667/869 (76.75489067894131%): failed