Reintroduced a method task_arg_gen in the risk calculators