Mbpp/394

✅ 完美通过 Base: PASS Plus: PASS
测试评估
指标结果
Base 测试PASS
Plus 测试PASS
代码长度154 字符
模型生成的代码 (154 字符)
def check_distinct(tup):
    """
    Returns True if the given tuple contains no duplicates, False otherwise.
    """
    return len(tup) == len(set(tup))
Base 失败测试用例
  • 无失败测试
Plus 失败测试用例
  • 无失败测试