🔎 CRUXEval Sample Explorer 🔎

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


   
def f(text, n):
    length = len(text)
    return text[length*(n%4):length ]
assert f('abc', 1) == ''
CRUXEval-I
assert f(??) == ''

CRUXEval-O
assert f('abc', 1) == ??