Mbpp/754

❌ 均未通过 Base: FAIL Plus: FAIL
测试评估
指标结果
Base 测试FAIL
Plus 测试FAIL
代码长度336 字符
模型生成的代码 (336 字符)
def extract_index_list(l1, l2, l3):
    """
    Find common elements from three lists that appear at the same index.
    
    An element is common for lists l1, l2, l3 if it appears in all three 
    lists under the same index. The function returns a list of such elements.
    """
    # Only check indices that exist in all three lists
Base 失败测试用例
  • [[1, 1, 3, 4, 5, 6, 7], [0, 1, 2, 3, 4, 5, 7], [0, 1, 2, 3, 4, 5, 7]]
Plus 失败测试用例
  • [[], [], []]