<commit_before>
        <% [:notice, :err, :ok ].each do |name| %>

        <% if flash.has?( name ) %>
        <h3 id="flash" class="<%= name %>"><%= flash[name] %></h3>
        <% end %>

        <script types="text/javascript">
            if( elem = document.getElementById( 'flash' ) ){
                setTimeout( "elem.style.display = 'none'", 2500 )
            }
        </script>

        <% end %>
<commit_msg>moved JS out of the loop<commit_after>
        <% [:notice, :err, :ok ].each do |name| %>

        <% if flash.has?( name ) %>
        <h3 id="flash" class="<%= name %>"><%= flash[name] %></h3>
        <% end %>

        <% end %>

        <script types="text/javascript">
            if( elem = document.getElementById( 'flash' ) ){
                setTimeout( "elem.style.display = 'none'", 2500 )
            }
        </script>

{'fraction_non_alphanumeric': 0.19929660023446658, 'fraction_numerical': 0.01406799531066823, 'mean_word_length': 1.7548387096774194, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '4648579', 'n_tokens_mistral': 295, 'n_tokens_neox': 262, 'n_words': 63}