测试评估
| 指标 | 结果 |
|---|---|
| Base 测试 | PASS |
| Plus 测试 | FAIL |
| 代码长度 | 210 字符 |
模型生成的代码 (210 字符)
def find_char_long(s: str):
"""
Finds all words in the string `s` that are at least 4 characters long.
Returns a list of such words.
"""
return [word for word in s.split() if len(word) >= 4]
Base 失败测试用例
- 无失败测试
Plus 失败测试用例
['This is a very long string with no words that are at least 4 characters long.']