<commit_before><h1>
<% if file_type == 'recipes' -%>
<%= cookbook_name %>::<%= file.name.gsub('.rb', '') %>
<% else -%>
<%= file_type == ('root_files' || 'attributes') ? file.name : "#{file.specificity}/#{file.name}" %>
<% end -%>
  <a role='button' class='btn btn-default btn-primary btn-lg' href='<%= url "/download#{request.path}" %>'><span class='glyphicon glyphicon-download'></span></a>
</h1>
<%== (ChefBrowser::FileContent.show_file(file, extname, content) || "<p class='lead'>The content of this file cannot be displayed</p>") %>
<commit_msg>Style file download<commit_after><h1>
<% if file_type == 'recipes' -%>
<%= cookbook_name %>::<%= file.name.gsub('.rb', '') %>
<% else -%>
<%= file_type == ('root_files' || 'attributes') ? file.name : "#{file.specificity}/#{file.name}" %>
<% end -%>
  <a role='button' class='btn btn-link' href='<%= url "/download#{request.path}" %>'><span class='glyphicon glyphicon-download'></span></a>
</h1>
<%== (ChefBrowser::FileContent.show_file(file, extname, content) || "<p class='lead'>The content of this file cannot be displayed. <a href='#{url "/download#{request.path}"}'>Download to your computer</a> to view it locally.</p>") %>

{'fraction_non_alphanumeric': 0.2578456318914334, 'fraction_numerical': 0.0033927056827820186, 'mean_word_length': 5.704545454545454, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 7, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6367033', 'n_tokens_mistral': 434, 'n_tokens_neox': 413, 'n_words': 88}