Mbpp/728

✅ 完美通过 Base: PASS Plus: PASS
测试评估
指标结果
Base 测试PASS
Plus 测试PASS
代码长度316 字符
模型生成的代码 (316 字符)
def sum_list(list1, list2):
    """
    Returns the element-wise sum of two lists.
    
    Args:
        list1: First list of numbers.
        list2: Second list of numbers (same length).
    
    Returns:
        A new list containing a_1+b_1, ..., a_n+b_n.
    """
    return [a + b for a, b in zip(list1, list2)]
Base 失败测试用例
  • 无失败测试
Plus 失败测试用例
  • 无失败测试