🔎 CRUXEval Sample Explorer 🔎

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


   
def f(prefix, s):
    return str.removeprefix(prefix, s)
assert f('hymi', 'hymifulhxhzpnyihyf') == 'hymi'
CRUXEval-I
assert f(??) == 'hymi'

CRUXEval-O
assert f('hymi', 'hymifulhxhzpnyihyf') == ??