🔎 CRUXEval Sample Explorer 🔎

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


   
def f(text, space_symbol, size):
    spaces = ''.join(space_symbol for i in range(size-len(text)))
    return text + spaces
assert f('w', '))', 7) == 'w))))))))))))'
CRUXEval-I
assert f(??) == 'w))))))))))))'

CRUXEval-O
assert f('w', '))', 7) == ??