<commit_before><g:set var="metaInfos" value="${[]}"/>
<g:if test="${term.level}">
    <% metaInfos.add("<span title='${term.level.levelName.encodeAsHTML()}'>" + term.level.shortLevelName.encodeAsHTML() + "</span>") %>
</g:if>
<g:if test="${term.tags}">
    <g:each in="${term.tags.sort()}" var="tag">
        <g:if test="${tag.shortName}">
            <% metaInfos.add("<span title='" + tag.name.encodeAsHTML() + "'>" + tag.shortName.encodeAsHTML() + "</span>") %>
        </g:if>
        <g:else>
            <% metaInfos.add(tag.name.encodeAsHTML()) %>
        </g:else>
    </g:each>
</g:if>
<g:if test="${metaInfos.size() > 0}">
    <span class="metaInfo">(${metaInfos.join(", ")})</span>
</g:if><commit_msg>don't show internal tags unless user is logged in<commit_after><g:set var="metaInfos" value="${[]}"/>
<g:if test="${term.level}">
    <% metaInfos.add("<span title='${term.level.levelName.encodeAsHTML()}'>" + term.level.shortLevelName.encodeAsHTML() + "</span>") %>
</g:if>
<g:if test="${term.tags}">
    <g:each in="${term.tags.sort()}" var="tag">
        <g:if test="${!tag.isInternal() || session.user}">
            <g:if test="${tag.shortName}">
                <% metaInfos.add("<span title='" + tag.name.encodeAsHTML() + "'>" + tag.shortName.encodeAsHTML() + "</span>") %>
            </g:if>
            <g:else>
                <% metaInfos.add(tag.name.encodeAsHTML()) %>
            </g:else>
        </g:if>
    </g:each>
</g:if>
<g:if test="${metaInfos.size() > 0}">
    <span class="metaInfo">(${metaInfos.join(", ")})</span>
</g:if>
{'fraction_non_alphanumeric': 0.27132777421423987, 'fraction_numerical': 0.0012828736369467607, 'mean_word_length': 3.3213296398891967, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 51, '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': '3300648', 'n_tokens_mistral': 585, 'n_tokens_neox': 575, 'n_words': 81}