<commit_before><% if @sample %>
  <% provide(:title, 'Sample stats') %>
  <% provide(:tags, "description: A sample stats page (with the developer's real stats), to give you a taste of what the J! Scorer can do.".html_safe) %>
<% elsif @shared %>
  <% provide(:title, "Shared stats for #{@user_name}") %>
  <% provide(:tags, "description: The up-to-the-minute stats for J! Scorer user #{@user_name}.") %>
<% else %>
  <% provide(:title, 'Stats') %>
  <% provide(:tags, 'description: Your up-to-the-minute stats, broken down by game, topic, row, play type, and more.') %>
<% end %>

<div id="stats-loading-message">
  Loading stats page. One moment please.
</div>

<div id="stats-area">
  
  <div class="k-box">
    <p>
      <%= random_full_greeting %>
      New season, new feature! You can now click a topic name on the Topics tab, which will take you to a new page with details about each category that you've assigned that topic to. This feature is still in its early stages - I'll be expanding on it (slowly) over the next several months. Any feedback about its direction is appreciated:
      <a class="nowrap" href="mailto:<%= ENV['SUPPORT_ADDRESS'] %>"><%= ENV['SUPPORT_ADDRESS'] %></a>.
    </p>
  </div>

  <ul>
    <li><a href="#overview">Overview</a></li>
    <li><a href="#games">Games</a></li>
    <li><a href="#topics">Topics</a></li>
    <li><a href="#by-row">By row</a></li>
    <li><a href="#finals">Finals</a></li>
    <li><a href="#filters">Filters</a></li>
    <li><a href="#options">Options</a></li>
  </ul>

  <noscript>
    <div class="no-js-box text-center">
      <p>
        Note: With JavaScript enabled, this same information is in a tabbed format which is much easier to read.
      </p>
    </div>
  </noscript>

  <% user_games_count = @user.games.count %>
  <% tracked = @summary[:all][:game_count] %>

  <%= render 'overview', user_games_count: user_games_count,
                         tracked: tracked,
                         pctile: @percentile_stats %>

  <%= render 'games', user_games_count: user_games_count, tracked: tracked %>

  <%= render 'topics', stats: @stats_by_topic %>

  <%= render 'by_row', stats: @stats_by_row %>

  <%= render 'finals', stats: @final_stats %>

  <%= render 'filters', no_games: user_games_count.zero? %>

  <%= render 'options' %>

</div>
<commit_msg>Remove stale note to users<commit_after><% if @sample %>
  <% provide(:title, 'Sample stats') %>
  <% provide(:tags, "description: A sample stats page (with the developer's real stats), to give you a taste of what the J! Scorer can do.".html_safe) %>
<% elsif @shared %>
  <% provide(:title, "Shared stats for #{@user_name}") %>
  <% provide(:tags, "description: The up-to-the-minute stats for J! Scorer user #{@user_name}.") %>
<% else %>
  <% provide(:title, 'Stats') %>
  <% provide(:tags, 'description: Your up-to-the-minute stats, broken down by game, topic, row, play type, and more.') %>
<% end %>

<div id="stats-loading-message">
  Loading stats page. One moment please.
</div>

<div id="stats-area">
  
  <!--
  <div class="k-box">
    <p>
      <%= random_full_greeting %>
      New season, new feature! You can now click a topic name on the Topics tab, which will take you to a new page with details about each category that you've assigned that topic to. This feature is still in its early stages - I'll be expanding on it (slowly) over the next several months. Any feedback about its direction is appreciated:
      <a class="nowrap" href="mailto:<%= ENV['SUPPORT_ADDRESS'] %>"><%= ENV['SUPPORT_ADDRESS'] %></a>.
    </p>
  </div>
  -->

  <ul>
    <li><a href="#overview">Overview</a></li>
    <li><a href="#games">Games</a></li>
    <li><a href="#topics">Topics</a></li>
    <li><a href="#by-row">By row</a></li>
    <li><a href="#finals">Finals</a></li>
    <li><a href="#filters">Filters</a></li>
    <li><a href="#options">Options</a></li>
  </ul>

  <noscript>
    <div class="no-js-box text-center">
      <p>
        Note: With JavaScript enabled, this same information is in a tabbed format which is much easier to read.
      </p>
    </div>
  </noscript>

  <% user_games_count = @user.games.count %>
  <% tracked = @summary[:all][:game_count] %>

  <%= render 'overview', user_games_count: user_games_count,
                         tracked: tracked,
                         pctile: @percentile_stats %>

  <%= render 'games', user_games_count: user_games_count, tracked: tracked %>

  <%= render 'topics', stats: @stats_by_topic %>

  <%= render 'by_row', stats: @stats_by_row %>

  <%= render 'finals', stats: @final_stats %>

  <%= render 'filters', no_games: user_games_count.zero? %>

  <%= render 'options' %>

</div>

{'fraction_non_alphanumeric': 0.17942686056458512, 'fraction_numerical': 0.0, 'mean_word_length': 3.4841802492809206, 'pattern_counts': {'":': 0, '<': 140, '<?xml version=': 0, '>': 140, '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': '492949', 'n_tokens_mistral': 1660, 'n_tokens_neox': 1508, 'n_words': 460}