测试评估
| 指标 | 结果 |
|---|---|
| Base 测试 | PASS |
| Plus 测试 | PASS |
| 代码长度 | 439 字符 |
模型生成的代码 (439 字符)
def Find_Min_Length(list_of_lists):
"""
Returns the length of the smallest list inside a list of lists.
Args:
list_of_lists (list of list): A non-empty list containing inner lists.
Returns:
int: The minimum length among all inner lists.
"""
if not list_of_lists:
return 0 # or raise an exception, depending on desired behavior
return min(len(lst) for lst in list_of_lists)
Base 失败测试用例
- 无失败测试
Plus 失败测试用例
- 无失败测试