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