<commit_before><div class="tabs-wrapper ui-theme-{{ theme }} {{ position }}">
    <ul class="tabs-nav">
    {% for key,tab in child_tabs %}
        {% set class = key == active ? ' class="current"' %}
        <li{{ class|raw }}><a href="#{{ hash ~ key }}" id="{{ tab.getParameter('id', 'Tab'~key) }}" rel="tab">{{ tab.getParameter('title', 'Tab '~key) }}</a></li>
    {% endfor %}
    </ul>
    <div class="tabs">
    {% for key,tab in child_tabs %}
        <div class="tab" id="{{ hash ~ key }}">{{ tab.getContent()|raw }}</div>
    {% endfor %}
    </div>
</div><commit_msg>Properly set active pane based on active tab<commit_after><div class="tabs-wrapper ui-theme-{{ theme }} {{ position }}">
    <ul class="tabs-nav">
    {% for key,tab in child_tabs %}
        {% set class = key == active ? ' class="current"' %}
        <li{{ class|raw }}><a href="#{{ hash ~ key }}" id="{{ tab.getParameter('id', 'Tab'~key) }}" rel="tab">{{ tab.getParameter('title', 'Tab '~key) }}</a></li>
    {% endfor %}
    </ul>
    <div class="tabs">
    {% for key,tab in child_tabs %}
        <div class="tab" id="{{ hash ~ key }}" style="display: {{ key == active ? 'block' : 'none' }}">{{ tab.getContent()|raw }}</div>
    {% endfor %}
    </div>
</div>
{'fraction_non_alphanumeric': 0.255044390637611, 'fraction_numerical': 0.0, 'mean_word_length': 3.2176870748299318, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, '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': '112838', 'n_tokens_mistral': 442, 'n_tokens_neox': 418, 'n_words': 107}