🔎 CRUXEval Sample Explorer 🔎

CRUXEval is a benchmark complementary to HumanEval and MBPP measuring code reasoning, understanding, and execution capabilities!


   
def f(selfie):
    lo = len(selfie)
    for i in range(lo-1, -1, -1):
        if selfie[i] == selfie[0]:
            selfie.remove(selfie[lo-1])
    return selfie
assert f([4, 2, 5, 1, 3, 2, 6]) == [4, 2, 5, 1, 3, 2]
CRUXEval-I
assert f(??) == [4, 2, 5, 1, 3, 2]

CRUXEval-O
assert f([4, 2, 5, 1, 3, 2, 6]) == ??