human
Here's a good function header given the following:
I wrote the below code

    def backoff_gen():
        for retry in range(0, retries):
            (yield _random.randint(0, min(max_delay, (delay * (2 ** retry)))))
    return backoff_gen

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

def _full_jitter_backoff(retries=10, delay=3, max_delay=60, _random=random):