```nim
proc factorial(n: int): int =
    var result = 1
    assert n >= 0
    for i in countdown(n, 1):
        result *= i
    result
```
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence