<commit_before><% @title = "Terms of Service" %>

<div class="container">
  <div class="row">
    <div id="terms-content" class="col-xs-12 col-sm-8 content paper">
      <h1>Terms of Service</h1>
      <div id="terms-alert" class="alert alert-info alert-sm">
        <% if @viewing_terms['current'] %>
          These are the <b>current</b> terms of service. See other versions in the <a href="#terms_changelog">Changelog</a>.
        <% elsif @viewing_terms['old'] %>
          These are <b>old</b> terms of service. <%= link_to "Read the current Terms of Service here.", terms_url %>
        <% elsif @viewing_terms['pending'] %>
          These terms of service will go into effect <b><%= @viewing_terms['start'].to_s(:long) %></b>.
          <%= link_to "Read the current Terms of Service here.", terms_url %>
        <% end %>
      </div>
      <%= render partial: "home/terms/v#{@viewing_terms['version']}" %>
    </div>
    <div id="terms-changelog" class="col-xs-12 col-sm-4 sidebar beside-paper">
      <h1 class="h5">Changelog</h1>
      <%= render partial: "home/terms/changelog_entry", collection: @versions, locals: { viewing: @viewing_terms } %>
    </div>
  </div>
</div><commit_msg>Fix page anchor to terms changelog<commit_after><% @title = "Terms of Service" %>

<div class="container">
  <div class="row">
    <div id="terms-content" class="col-xs-12 col-sm-8 content paper">
      <h1>Terms of Service</h1>
      <div id="terms-alert" class="alert alert-info alert-sm">
        <% if @viewing_terms['current'] %>
          These are the <b>current</b> terms of service. See other versions in the <a href="#terms-changelog">Changelog</a>.
        <% elsif @viewing_terms['old'] %>
          These are <b>old</b> terms of service. <%= link_to "Read the current Terms of Service here.", terms_url %>
        <% elsif @viewing_terms['pending'] %>
          These terms of service will go into effect <b><%= @viewing_terms['start'].to_s(:long) %></b>.
          <%= link_to "Read the current Terms of Service here.", terms_url %>
        <% end %>
      </div>
      <%= render partial: "home/terms/v#{@viewing_terms['version']}" %>
    </div>
    <div id="terms-changelog" class="col-xs-12 col-sm-4 sidebar beside-paper">
      <h1 class="h5">Changelog</h1>
      <%= render partial: "home/terms/changelog_entry", collection: @versions, locals: { viewing: @viewing_terms } %>
    </div>
  </div>
</div>
{'fraction_non_alphanumeric': 0.1781727986771393, 'fraction_numerical': 0.009094667217858619, 'mean_word_length': 3.1652323580034425, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 0, '>': 67, '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': '4312959', 'n_tokens_mistral': 855, 'n_tokens_neox': 792, 'n_words': 210}