<commit_before><% content_for :title, "Reports" %>

<% content_for :content_size, "col-sm-9" %>

<% content_for :sidebar do %>
  <ul class="nav nav-pills nav-stacked">
    <%= tab("All Graphs", graphs_reports_path, params[:by_day].blank? && params[:by_month].blank?) %>
    <%= tab("Orders by Day", graphs_reports_path(by_day: true), params[:by_day] == "true") %>
    <%= tab("Orders by Month", graphs_reports_path(by_month: true), params[:by_month] == "true") %>
    <%= tab("Items by Month", graphs_reports_path(items_by_month: true), params[:by_month] == "true") %>
  </ul>
<% end %>

<% content_for :content do %>
  <div class="tab-content">
    <% if params[:by_day] == "true" %><commit_msg>Fix some simle render errors with tab highlighting<commit_after><% content_for :title, "Reports" %>

<% content_for :content_size, "col-sm-9" %>

<% content_for :sidebar do %>
  <ul class="nav nav-pills nav-stacked">
    <%= tab("All Graphs", graphs_reports_path, params[:by_day].blank? && params[:by_month].blank? && params[:items_by_month].blank?) %>
    <%= tab("Orders by Day", graphs_reports_path(by_day: true), params[:by_day] == "true") %>
    <%= tab("Orders by Month", graphs_reports_path(by_month: true), params[:by_month] == "true") %>
    <%= tab("Items by Month", graphs_reports_path(items_by_month: true), params[:items_by_month] == "true") %>
  </ul>
<% end %>

<% content_for :content do %>
  <div class="tab-content">
    <% if params[:by_day] == "true" %>
{'fraction_non_alphanumeric': 0.20626276378488767, 'fraction_numerical': 0.0013614703880190605, 'mean_word_length': 5.363636363636363, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, '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': '1535753', 'n_tokens_mistral': 560, 'n_tokens_neox': 513, 'n_words': 108}