human
I wrote the below code

    def policy(attempt):
        return (min((initialDelay * (factor ** attempt)), maxDelay) + jitter())
    return policy

What's a good function header?
 Here's a good function header?
assistant
#Here's a good function header.

def backoffPolicy(initialDelay=1.0, maxDelay=60.0, factor=1.5, jitter=_goodEnoughRandom):