@thunc.function def urgency(ticket: str) -> int: """Rate urgency, 1 to 5.""" ... urgency("I was charged twice!") # -> 4 # a checked int