测试评估
| 指标 | 结果 |
|---|---|
| Base 测试 | PASS |
| Plus 测试 | PASS |
| 代码长度 | 303 字符 |
模型生成的代码 (303 字符)
def rear_extract(tuples_list):
"""
Extract the last element from each tuple in the given list.
Args:
tuples_list (list of tuples): A list containing tuples.
Returns:
list: A list of the rear (last) elements of each tuple.
"""
return [t[-1] for t in tuples_list]
Base 失败测试用例
- 无失败测试
Plus 失败测试用例
- 无失败测试