🔎 CRUXEval Sample Explorer 🔎

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


   
def f(xs):
    for idx in reversed(range(-len(xs)-1, -1)):
        xs.insert(idx, xs.pop(0))
    return xs
assert f([1, 2, 3]) == [1, 2, 3]
CRUXEval-I
assert f(??) == [1, 2, 3]

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