测试评估
| 指标 | 结果 |
|---|---|
| Base 测试 | PASS |
| Plus 测试 | PASS |
| 代码长度 | 262 字符 |
模型生成的代码 (262 字符)
def Split(lst):
"""
Find even numbers from a list of numbers.
Args:
lst: List of integers.
Returns:
A new list containing only the even numbers from the input list.
"""
return [num for num in lst if num % 2 == 0]
Base 失败测试用例
- 无失败测试
Plus 失败测试用例
- 无失败测试