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

    def _intial_value_extractor(request):
        if (not submitted):
            return []
        data = []
        for param in submitted:
            i = 0
            for val in request.POST.getlist(param):
                if (len(data) == i):
                    data.append({})
                data[i][param] = val
                i += 1
        for kwargs in data:
            for recurrent in recurring:
                kwargs[recurrent] = request.POST.get(recurrent)
        initial_data = data
        return {'initial': initial_data}
    return _intial_value_extractor

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

def formset_initial_value_extractor(request, parameter_names):