🔎 CRUXEval Sample Explorer 🔎

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


   
def f(tuple_list, joint):
    string = ''
    for num in tuple_list:
        string += dict.fromkeys(str(num), joint * len(str(num))).popitem()[0] + joint
    return string
assert f((32332, 23543, 132323, 33300), ',') == '2,4,2,0,'
CRUXEval-I
assert f(??) == '2,4,2,0,'

CRUXEval-O
assert f((32332, 23543, 132323, 33300), ',') == ??