添加测试用例

def to_tuple(da):
    assert isinstance(da, (dict, set))
    da = list(da)
    da.sort()
    return tuple(da)
spam lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor creativity violence