<commit_before>{% set link = '' %}
{% if position == 'report' %}
    {% set link = url('event_show', {'slug': event.slug }) %}
    {% set scrollClass = '' %}
{% elseif position == 'event' %}
    {% set scrollClass = ' go-to-block' %}
{% endif %}
<nav class="event-menu">
    <ul class="event-menu__items">
    {% if event.speakers is defined and event.speakers|length > 0 %}
        <li class="event-menu__item">
            <a href="{{ link }}#speakers-event" class="event-menu__link{{ scrollClass }}">{{ 'speaker.title'|trans }}</a>
        </li>
    {% endif %}
    {% if programPage %}
        <li class="event-menu__item">
            <a href="{{ link }}#program-event" class="event-menu__link{{ scrollClass }}">{{ 'event.page.program'|trans }}</a>
        </li>
    {% endif %}
    {% if event.activeAndFuture and event.receivePayments and event.ticketsCost|length > 0 %}
        <li class="event-menu__item">
            <a href="{{ link }}#price-event" class="event-menu__link{{ scrollClass }}">{{ 'event.price.title'|trans }}</a>
        </li>
    {% endif %}
        <li class="event-menu__item">
            <a href="{{ link }}#location-event" class="event-menu__link{{ scrollClass }}">{{ 'event.page.venue'|trans }}</a>
        </li>
    </ul>
</nav>
<commit_msg>remove menu place if online<commit_after>{% set link = '' %}
{% if position == 'report' %}
    {% set link = url('event_show', {'slug': event.slug }) %}
    {% set scrollClass = '' %}
{% elseif position == 'event' %}
    {% set scrollClass = ' go-to-block' %}
{% endif %}
<nav class="event-menu">
    <ul class="event-menu__items">
    {% if event.speakers is defined and event.speakers|length > 0 %}
        <li class="event-menu__item">
            <a href="{{ link }}#speakers-event" class="event-menu__link{{ scrollClass }}">{{ 'speaker.title'|trans }}</a>
        </li>
    {% endif %}
    {% if programPage %}
        <li class="event-menu__item">
            <a href="{{ link }}#program-event" class="event-menu__link{{ scrollClass }}">{{ 'event.page.program'|trans }}</a>
        </li>
    {% endif %}
    {% if event.activeAndFuture and event.receivePayments and event.ticketsCost|length > 0 %}
        <li class="event-menu__item">
            <a href="{{ link }}#price-event" class="event-menu__link{{ scrollClass }}">{{ 'event.price.title'|trans }}</a>
        </li>
    {% endif %}
    {% if false == event.online %}
        <li class="event-menu__item">
            <a href="{{ link }}#location-event" class="event-menu__link{{ scrollClass }}">{{ 'event.page.venue'|trans }}</a>
        </li>
    {% endif %}
    </ul>
</nav>

{'fraction_non_alphanumeric': 0.21223709369024857, 'fraction_numerical': 0.0015296367112810707, 'mean_word_length': 2.887072808320951, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 47, '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': '6806805', 'n_tokens_mistral': 895, 'n_tokens_neox': 831, 'n_words': 186}