<commit_before>.. go:{{ obj.ref_type }}:: {{ obj.name }}
{%- if obj.type == 'func' -%}
  ({{ obj.parameters|map(attribute='name')|join(', ') }})
{%- endif %}

    {% macro render() %}{{ obj.docstring }}{% endmacro %}
    {{ render()|indent(4) }}

    {% for param in obj.parameters %}
    :param {{ param.name }}:
    :type {{ param.name }}: {{ param.type }}
    {%- endfor %}
    {%- if obj.returns %}
    :rtype: {{ obj.returns.id }}
    {%- endif %}

    {% if obj.children -%}
        {%- for child in obj.children|sort %}
    {% macro render_child() %}{{ child.render() }}{% endmacro %}
    {{ render_child()|indent(4) }}
        {%- endfor %}
    {%- endif %}<commit_msg>Move parameter name list up to signature<commit_after>.. go:{{ obj.ref_type }}:: {{ obj.name }}
{%- if obj.type == 'func' -%}
    {%- set argjoin = joiner(', ') -%}
    ({%- for param in obj.parameters -%}
        {{ argjoin() }}{{ param.name }} {{ param.type }}
    {%- endfor -%})
{%- endif %}

    {% macro render() %}{{ obj.docstring }}{% endmacro %}
    {{ render()|indent(4) }}

    {# Don't define parameter description here, that can be done in the block
    above #}
    {% for param in obj.parameters %}
    :type {{ param.name }}: {{ param.type }}
    {%- endfor %}
    {%- if obj.returns %}
    :rtype: {{ obj.returns.type }}
    {%- endif %}

    {% if obj.children -%}
        {%- for child in obj.children|sort %}
    {% macro render_child() %}{{ child.render() }}{% endmacro %}
    {{ render_child()|indent(4) }}
        {%- endfor %}
    {%- endif %}
{'fraction_non_alphanumeric': 0.24028497409326424, 'fraction_numerical': 0.0025906735751295338, 'mean_word_length': 2.4875846501128667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1992183', 'n_tokens_mistral': 587, 'n_tokens_neox': 522, 'n_words': 111}