<commit_before><!DOCTYPE html>
<html lang="en">
<head>
  <%= render 'layouts/common_head' %>
</head>
<body data-in-app="true" class="<%= controller_name %> <%= action_name %>  <%= 'dark' if user_signed_in? && current_user.dark_mode_enabled? %>">
  <%= render 'layouts/sidenav', locals: { fixed: false } if user_signed_in? %>
  <%= render 'layouts/document_sidenav', locals: { fixed: false } if user_signed_in? %>
  <%# render 'layouts/document_entities_sidenav', locals: { fixed: false } if user_signed_in? %>
  <%= 
    react_component("DocumentEntitiesSidebar", { 
      linked_entities: @linked_entities, 
      link_form_path:  link_entity_documents_path, 
      user_content:    @current_user_content,
      document_id:     @document.id
    })
  %>
  <%= render 'layouts/document_navbar' %>

  <main>
    <div class="mobile-navbar-spacer hide-on-med-and-up">&nbsp;</div>
    <%= yield :full_width_page_header %>
    <div class="container-fluid">
      <div class="row">
        <div class="col s12">
          <%= yield %>
        </div>
      </div>
    </div>

    <%= render 'layouts/ganalytics' %>
  </main>

  <%= render 'layouts/footer' unless defined?(@show_footer) && !@show_footer %>
  <%= render 'cards/ui/alert' %>
  <%= render 'cards/ui/notice' %>

  <script type="text/javascript">
    DISABLE_KEYBOARD_SHORTCUTS = true;
    $(document).ready(function() {
      <%= yield :javascript %>
    });
  </script>

</body>
</html><commit_msg>strip jquery out again<commit_after><!DOCTYPE html>
<html lang="en">
<head>
  <%= render 'layouts/common_head' %>
</head>
<body data-in-app="true" class="<%= controller_name %> <%= action_name %>  <%= 'dark' if user_signed_in? && current_user.dark_mode_enabled? %>">
  <%= render 'layouts/sidenav', locals: { fixed: false } if user_signed_in? %>
  <%= render 'layouts/document_sidenav', locals: { fixed: false } if user_signed_in? %>
  <%# render 'layouts/document_entities_sidenav', locals: { fixed: false } if user_signed_in? %>
  <%= 
    react_component("DocumentEntitiesSidebar", { 
      linked_entities: @linked_entities, 
      link_form_path:  link_entity_documents_path, 
      user_content:    @current_user_content,
      document_id:     @document.id
    })
  %>
  <%= render 'layouts/document_navbar' %>

  <main>
    <div class="mobile-navbar-spacer hide-on-med-and-up">&nbsp;</div>
    <%= yield :full_width_page_header %>
    <div class="container-fluid">
      <div class="row">
        <div class="col s12">
          <%= yield %>
        </div>
      </div>
    </div>

    <%= render 'layouts/ganalytics' %>
  </main>

  <%= render 'layouts/footer' unless defined?(@show_footer) && !@show_footer %>
  <%= render 'cards/ui/alert' %>
  <%= render 'cards/ui/notice' %>

  <script type="text/javascript">
    DISABLE_KEYBOARD_SHORTCUTS = true;

    document.addEventListener("DOMContentLoaded", function(event) { 
      <%= yield :javascript %>
    });
  </script>

</body>
</html>
{'fraction_non_alphanumeric': 0.17750677506775067, 'fraction_numerical': 0.0013550135501355014, 'mean_word_length': 3.5925349922239502, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 73, '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': '5033702', 'n_tokens_mistral': 1101, 'n_tokens_neox': 1011, 'n_words': 179}