<commit_before><%options = {:checked => mark_all,
           :include_mark_all => true}%>
ActiveScaffold.mark_records('<%=active_scaffold_tbody_id%>',<%=options.to_json.html_safe%>);
<%if active_scaffold_config.model.marked.length>0 then %>
  <%if active_scaffold_config.model.marked.length < @page.pager.count then%>
    ActiveScaffold.replace_html('<%=active_scaffold_messages_id%>','<%="#{active_scaffold_config.model.marked.length.to_s} records marked. Press <a href=\"#{url_for(:action=>"mark_all",:mark_target=>"scope")}\">here</a> to select all #{@page.pager.count} records.".html_safe%>');
  <%else%>
    ActiveScaffold.replace_html('<%=active_scaffold_messages_id%>','<%="All #{@page.pager.count} records marked".html_safe%>');
  <%end%>
<%else%>
  ActiveScaffold.replace_html('<%=active_scaffold_messages_id%>','');
<%end%><commit_msg>Bugfix: page.pager is nt in use anymore<commit_after><%options = {:checked => mark_all,
           :include_mark_all => true}%>
ActiveScaffold.mark_records('<%=active_scaffold_tbody_id%>',<%=options.to_json.html_safe%>);
<%if active_scaffold_config.model.marked.length>0 then %>
  <%if active_scaffold_config.model.marked.length < @records.count then%>
    ActiveScaffold.replace_html('<%=active_scaffold_messages_id%>','<%="#{active_scaffold_config.model.marked.length.to_s} records marked. Press <a href=\"#{url_for(:action=>"mark_all",:mark_target=>"scope")}\">here</a> to select all #{@records.count} records.".html_safe%>');
  <%else%>
    ActiveScaffold.replace_html('<%=active_scaffold_messages_id%>','<%="All #{@records.count} records marked".html_safe%>');
  <%end%>
<%else%>
  ActiveScaffold.replace_html('<%=active_scaffold_messages_id%>','');
<%end%>
{'fraction_non_alphanumeric': 0.2056239015817223, 'fraction_numerical': 0.0011716461628588166, 'mean_word_length': 7.942408376963351, 'pattern_counts': {'":': 0, '<': 37, '<?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': '7380135', 'n_tokens_mistral': 654, 'n_tokens_neox': 617, 'n_words': 71}