Mbpp/7

⚠️ 仅 Base 通过 Base: PASS Plus: FAIL
测试评估
指标结果
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.']