<commit_before>"{{ 'Person id'|trans }}",{#
#}"{{ 'First name'|trans }}",{#
#}"{{ 'Last name'|trans }}",{#
#}"{{ 'Gender'|trans }}",{#
#}"{{ 'Date of birth'|trans }}",{#
#}"{{ 'Place of birth'|trans }}",{#
#}"{{ 'Nationality'|trans }}",{#
#}"{{ 'Spoken languages'|trans }}",{#
#}"{{ 'Email'|trans }}",{#
#}"{{ 'Phonenumber'|trans }}",{#
#}{% if cf_group  %}{#
    #}{% for customField in cf_group.customFields %}{#
        #}"{{ chill_custom_field_label(customField) }}"{% if not loop.last %},{% endif %}{#
    #}{% endfor %}{#
#}{% endif %}{#
#}

{% for person in persons %}{#
    #}{{ person.id }},{#
    #}"{{ person.firstName|csv_cell }}",{#
    #}"{{ person.lastName|csv_cell }}",{#
    #}"{{ person.genre|csv_cell }}",{#
    #}"{{ person.dateOfBirth|localizeddate('short', 'none') }}",{#
    #}"{# countryOfBirth
        #}{% if person.countryOfBirth is not null %}{#
        #}{{ person.countryOfBirth.name|localize_translatable_string }}{#
        #}{% else %}{#
        #}{{ 'Unknown country of birth'|trans }}{#
        #}{% endif %}{#
    #}",{#
    #}"{# nationality
        #}{% if person.nationality is not null %}{#
        #}{{ person.nationality.name|localize_translatable_string }}{#
        #}{% else %}{#
        #}{{ 'Without nationality'|trans }}{#
        #}{% endif %}{#
    #}",{#
    #}"{# spokenLanguages
        #}{% if person.spokenLanguages|length == 0 %}{#
            #}{{ 'Unknown spoken languages'|trans }}{#
        #}{% else %}{#
            #}{% for lang in person.spokenLanguages %}{#
                #}{{ lang.name|localize_translatable_string }}{% if not loop.last %},{% endif %}{#
            #}{% endfor %}{#
        #}{% endif %}{#
    #}",{#
    #}"{{ person.email|csv_cell }}",{#
    #}"{{ person.phonenumber|csv_cell }}",{#
    #}{% if cf_group  %}{#
        #}{% for customField in cf_group.customFields %}{#
            #}{% if customField.type == 'title' %}{#
                #}""{#
            #}{% else %}{#
                #}"{{ chill_custom_field_widget(report.cFData , customField, 'csv') }}"{#
            #}{% endif %}{#
            #}{% if not loop.last %},{% endif %}{#
        #}{% endfor %}{#
    #}{% endif %}

{% endfor %}<commit_msg>FIX  person cf in csv<commit_after>"{{ 'Person id'|trans }}",{#
#}"{{ 'First name'|trans }}",{#
#}"{{ 'Last name'|trans }}",{#
#}"{{ 'Gender'|trans }}",{#
#}"{{ 'Date of birth'|trans }}",{#
#}"{{ 'Place of birth'|trans }}",{#
#}"{{ 'Nationality'|trans }}",{#
#}"{{ 'Spoken languages'|trans }}",{#
#}"{{ 'Email'|trans }}",{#
#}"{{ 'Phonenumber'|trans }}",{#
#}{% if cf_group  %}{#
    #}{% for customField in cf_group.customFields %}{#
        #}"{{ chill_custom_field_label(customField) }}"{% if not loop.last %},{% endif %}{#
    #}{% endfor %}{#
#}{% endif %}{#
#}

{% for person in persons %}{#
    #}{{ person.id }},{#
    #}"{{ person.firstName|csv_cell }}",{#
    #}"{{ person.lastName|csv_cell }}",{#
    #}"{{ person.genre|csv_cell }}",{#
    #}"{{ person.dateOfBirth|localizeddate('short', 'none') }}",{#
    #}"{# countryOfBirth
        #}{% if person.countryOfBirth is not null %}{#
        #}{{ person.countryOfBirth.name|localize_translatable_string }}{#
        #}{% else %}{#
        #}{{ 'Unknown country of birth'|trans }}{#
        #}{% endif %}{#
    #}",{#
    #}"{# nationality
        #}{% if person.nationality is not null %}{#
        #}{{ person.nationality.name|localize_translatable_string }}{#
        #}{% else %}{#
        #}{{ 'Without nationality'|trans }}{#
        #}{% endif %}{#
    #}",{#
    #}"{# spokenLanguages
        #}{% if person.spokenLanguages|length == 0 %}{#
            #}{{ 'Unknown spoken languages'|trans }}{#
        #}{% else %}{#
            #}{% for lang in person.spokenLanguages %}{#
                #}{{ lang.name|localize_translatable_string }}{% if not loop.last %},{% endif %}{#
            #}{% endfor %}{#
        #}{% endif %}{#
    #}",{#
    #}"{{ person.email|csv_cell }}",{#
    #}"{{ person.phonenumber|csv_cell }}",{#
    #}{% if cf_group  %}{#
        #}{% for customField in cf_group.customFields %}{#
            #}{% if customField.type == 'title' %}{#
                #}""{#
            #}{% else %}{#
                #}"{{ chill_custom_field_widget(person.cFData , customField, 'csv') }}"{#
            #}{% endif %}{#
            #}{% if not loop.last %},{% endif %}{#
        #}{% endfor %}{#
    #}{% endif %}

{% endfor %}
{'fraction_non_alphanumeric': 0.2740909090909091, 'fraction_numerical': 0.00045454545454545455, 'mean_word_length': 2.793965517241379, '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': '7043394', 'n_tokens_mistral': 1663, 'n_tokens_neox': 1613, 'n_words': 220}