<commit_before>{% if app.session.hasFlash('notice') %}
    <div class="alert alert-notice">
        <button class="close" data-dismiss="alert">×</button>
        {{ app.session.flash('notice') }}
    </div>
{% endif %}

{% if app.session.hasFlash('success') %}
    <div class="alert alert-success">
        <button class="close" data-dismiss="alert">×</button>
        {{ app.session.flash('success') }}
    </div>
{% endif %}

{% if app.session.hasFlash('error') %}
    <div class="alert alert-error">
        <button class="close" data-dismiss="alert">×</button>
        {{ app.session.flash('error') }}
    </div>
{% endif %}

{% if app.session.hasFlash('info') %}
    <div class="alert alert-info">
        <button class="close" data-dismiss="alert">×</button>
        {{ app.session.flash('info') }}
    </div>
{% endif %}

<script>
    $(document).ready(function() {
        $(".alert-message").alert();
    });
</script><commit_msg>Moved to FlashBag methods<commit_after>{% if app.session.flashbag.has('notice') %}
    <div class="alert alert-notice">
        <button class="close" data-dismiss="alert">×</button>
        {{ app.session.flashbag.get('notice')[0] }}
    </div>
{% endif %}

{% if app.session.flashbag.has('success') %}
    <div class="alert alert-success">
        <button class="close" data-dismiss="alert">×</button>
        {{ app.session.flashbag.get('success')[0] }}
    </div>
{% endif %}

{% if app.session.flashbag.has('error') %}
    <div class="alert alert-error">
        <button class="close" data-dismiss="alert">×</button>
        {{ app.session.flashbag.get('error')[0] }}
    </div>
{% endif %}

{% if app.session.flashbag.has('info') %}
    <div class="alert alert-info">
        <button class="close" data-dismiss="alert">×</button>
        {{ app.session.flashbag.get('info')[0] }}
    </div>
{% endif %}

<script>
    $(document).ready(function() {
        $(".alert-message").alert();
    });
</script>
{'fraction_non_alphanumeric': 0.22816032887975335, 'fraction_numerical': 0.0020554984583761563, 'mean_word_length': 3.1961206896551726, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, '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': '7393713', 'n_tokens_mistral': 675, 'n_tokens_neox': 624, 'n_words': 100}