<commit_before><div id="listcontainer">
    <div id="postlist">

        {% for item in notes %}

            <a href="{{ url('webb_post_note_view', {'fleet': ship.fleet.shortname, 'ship': ship.shortname, 'id': item.id}) }}"
		 class="{% if item.id == noteid %}current{% endif %}">

            {% if item.indent %}
                {% for i in 1..item.indent %}
                    <div class="indent">
                {% endfor %}
            {% endif %}

            <dl>
		        <dt>
                    {% if (item.id != noteid) and (history[item.id] is not defined) %}<span class="tag new">New</span>{% endif %}
                    {% if item.note.log|length %}{% if item.note.log.log %}<span class="tag log">{{ item.note.assignment.position.shortname }} Log</span>{% endif %}{% endif %}

                    {{ item.note.location }} - {{ item.note.activity }}
                </dt>
                <dd>
                    {{ item.note.date|date('j M Y g:ia') }}<br/>
                    {{ item.note.assignment }} <em>played by {{ item.note.user }}</em>

                </dd>

            </dl>

            {% if item.indent %}
                {% for i in 1..item.indent %}
                    </div>
                {% endfor %}
            {% endif %}
            </a>
        {%  endfor %}


    </div>
</div><commit_msg>And removed some logic that wasn't needed.<commit_after><div id="listcontainer">
    <div id="postlist">

        {% for item in notes %}

            <a href="{{ url('webb_post_note_view', {'fleet': ship.fleet.shortname, 'ship': ship.shortname, 'id': item.id}) }}"
		 class="{% if item.id == noteid %}current{% endif %}">


                {% for i in 0..item.indent %}
                    <div class="indent">
                {% endfor %}


            <dl>
		        <dt>
                    {% if (item.id != noteid) and (history[item.id] is not defined) %}<span class="tag new">New</span>{% endif %}
                    {% if item.note.log|length %}{% if item.note.log.log %}<span class="tag log">{{ item.note.assignment.position.shortname }} Log</span>{% endif %}{% endif %}

                    {{ item.note.location }} - {{ item.note.activity }}
                </dt>
                <dd>
                    {{ item.note.date|date('j M Y g:ia') }}<br/>
                    {{ item.note.assignment }} <em>played by {{ item.note.user }}</em>

                </dd>

            </dl>


                {% for i in 0..item.indent %}
                    </div>
                {% endfor %}

            </a>
        {%  endfor %}


    </div>
</div>
{'fraction_non_alphanumeric': 0.1846272692159135, 'fraction_numerical': 0.001544998068752414, 'mean_word_length': 1.3892988929889298, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, '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': '1086948', 'n_tokens_mistral': 868, 'n_tokens_neox': 734, 'n_words': 173}