测试评估
| 指标 | 结果 |
|---|---|
| Base 测试 | PASS |
| Plus 测试 | PASS |
| 代码长度 | 459 字符 |
模型生成的代码 (459 字符)
def interleave_lists(list1, list2, list3):
"""
Interleaves three lists of the same length into a single flat list.
Args:
list1, list2, list3: lists of equal length.
Returns:
A new list with elements taken one by one from each input list in order.
"""
# Using zip to group corresponding elements and flattening with a list comprehension
return [item for group in zip(list1, list2, list3) for item in group]
Base 失败测试用例
- 无失败测试
Plus 失败测试用例
- 无失败测试