Mbpp/259

❌ 均未通过 Base: FAIL Plus: FAIL
测试评估
指标结果
Base 测试FAIL
Plus 测试FAIL
代码长度194 字符
模型生成的代码 (194 字符)
def maximize_elements(tup1, tup2):
    """
    Return a tuple of tuples where each inner tuple contains the element-wise
    maximum of the corresponding inner tuples from tup1 and tup2.
    """
Base 失败测试用例
  • [[[1, 3], [4, 5], [2, 9], [1, 10]], [[6, 7], [3, 9], [1, 1], [7, 3]]]
Plus 失败测试用例
  • [[[1, 2], [3, 4], [5, 6], [7, 8]], [[8, 7], [6, 5], [4, 3], [2, 1]]]