<commit_before>{% if feed.elementGroup %}
    {% set sectionId = feed.elementGroup[elementType].section %}
    {% set entryTypeId = feed.elementGroup[elementType].entryType %}

    {% set section = craft.sections.getSectionById(sectionId) %}
    {% set entryType = craft.feedMe.getEntryTypeById(entryTypeId) %}
{% endif %}

{% set users = [{ label: 'Don\'t import', value: '' }] %}

{% if CraftEdition >= CraftClient %}
    {% for user in craft.users.can('createEntries:' ~ entryType) %}
        {% set users = users | merge([{ label: user, value: user.id }]) %}
    {% endfor %}
{% endif %}

{% set fields = [{
    label: 'Title' | t,
    handle: 'title',<commit_msg>Fix for default author not matching against entrytype permissions properly<commit_after>{% if feed.elementGroup %}
    {% set sectionId = feed.elementGroup[elementType].section %}
    {% set entryTypeId = feed.elementGroup[elementType].entryType %}

    {% set section = craft.sections.getSectionById(sectionId) %}
    {% set entryType = craft.feedMe.getEntryTypeById(entryTypeId) %}
{% endif %}

{% set users = [{ label: 'Don\'t import', value: '' }] %}

{% if CraftEdition >= CraftClient %}
    {% for user in craft.users.can('createEntries:' ~ entryTypeId) %}
        {% set users = users | merge([{ label: user, value: user.id }]) %}
    {% endfor %}
{% endif %}

{% set fields = [{
    label: 'Title' | t,
    handle: 'title',
{'fraction_non_alphanumeric': 0.17441029306647604, 'fraction_numerical': 0.0, 'mean_word_length': 3.72972972972973, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6534697', 'n_tokens_mistral': 474, 'n_tokens_neox': 419, 'n_words': 102}