<commit_before><div class="row">
  <div class="col-xs-12 col-sm-12 col-md-12">
    <div id="about_product" class="container_box">
      <%= render 'shared/product_head' %>
      <div id="product_info">
        <div class="product_container">
          <h3 class="product_name">
            <i class="fa fa-info-circle"></i>
            <%= @product.name %>
          </h3>
          <div class="row">
            <div class="col-xs-12 col-sm-8 col-md-6">
              <div class="product_pictures">
                <%= render "carousel_slide" %>
              </div>
            </div>
            <div class="col-xs-12 col-sm-4 col-md-6">
              <div class="product_description">
                <ul class="list-unstyled">
                  <li class="border_bottom">
                    <label>价格</label>
                    <strong>¥ <%= @product.price %></strong>
                  </li>
                  <li class="border_bottom">
                    <label>创建时间</label>
                    <span><%= @product.published_at.strftime "%Y-%m-%d %H:%M:%S" %></span>
                  </li>
                  <li class="border_bottom">
                    <label>操作</label>
                    <span id="like_link">
                      <%= likeable_likes_tag @likeable %>
                    </span>
                    <span> / </span>
                    <span id="collect_link">
                      <%= product_collection_tag @product %>
                    </span>
                  </li>
                  <li class="border_bottom">
                    <label>产品描述</label>
                    <span><%= @product.description %></span>
                  </li>
                  <li>
                    <%= link_to_if @product.buy_link.present?, raw("<i class='fa fa-shopping-cart'></i>购买"), @product.buy_link, class: "btn btn-primary", target: "_blank" do %>
                      <%= link_to "暂不提供购买", "#", class: "btn btn-default disabled" %>
                    <% end %>
                  </li>
                </ul>
              </div>
            </div>
          </div>
          <hr>
          <div class="row">
            <div class="col-xs-12 col-sm-12 col-md-12">
              <%= markdown(@product.details) %>
            </div>
          </div>
        </div>
        <hr>
        <h3>
          <i class="fa fa-bullseye"></i>
          评测<small><%= @evaluates.any? ? "" : " ( 暂无评测 ) " %></small>
        </h3>
        <hr>
        <div class="limit_evaluates">
          <%= render partial: 'evaluates/evaluate', collection: @evaluates %>
        </div>
        <div class="messages_container">
          <h3>
            <i class="fa fa-comment-o"></i>
            评论
            <small id="message_count_prompt">
              <%= render partial: "shared/message_count_prompt", locals: { feed_count: @product.messages_count, messages: @messages } %>
            </small>
          </h3>
          <hr>
          <div id="all_messages">
            <%= render partial: 'messages/message', collection: @messages %>
          </div>
          <%= will_paginate @messages, renderer: BootstrapPagination::Rails %>
          <%= render 'messages/form' %>
        </div>
      </div>
    </div>
  </div>
</div><commit_msg>换页添加锚点，跳到replies位置<commit_after><div class="row">
  <div class="col-xs-12 col-sm-12 col-md-12">
    <div id="about_product" class="container_box">
      <%= render 'shared/product_head' %>
      <div id="product_info">
        <div class="product_container">
          <h3 class="product_name">
            <i class="fa fa-info-circle"></i>
            <%= @product.name %>
          </h3>
          <div class="row">
            <div class="col-xs-12 col-sm-8 col-md-6">
              <div class="product_pictures">
                <%= render "carousel_slide" %>
              </div>
            </div>
            <div class="col-xs-12 col-sm-4 col-md-6">
              <div class="product_description">
                <ul class="list-unstyled">
                  <li class="border_bottom">
                    <label>价格</label>
                    <strong>¥ <%= @product.price %></strong>
                  </li>
                  <li class="border_bottom">
                    <label>创建时间</label>
                    <span><%= @product.published_at.strftime "%Y-%m-%d %H:%M:%S" %></span>
                  </li>
                  <li class="border_bottom">
                    <label>操作</label>
                    <span id="like_link">
                      <%= likeable_likes_tag @likeable %>
                    </span>
                    <span> / </span>
                    <span id="collect_link">
                      <%= product_collection_tag @product %>
                    </span>
                  </li>
                  <li class="border_bottom">
                    <label>产品描述</label>
                    <span><%= @product.description %></span>
                  </li>
                  <li>
                    <%= link_to_if @product.buy_link.present?, raw("<i class='fa fa-shopping-cart'></i>购买"), @product.buy_link, class: "btn btn-primary", target: "_blank" do %>
                      <%= link_to "暂不提供购买", "#", class: "btn btn-default disabled" %>
                    <% end %>
                  </li>
                </ul>
              </div>
            </div>
          </div>
          <hr>
          <div class="row">
            <div class="col-xs-12 col-sm-12 col-md-12">
              <%= markdown(@product.details) %>
            </div>
          </div>
        </div>
        <hr>
        <h3>
          <i class="fa fa-bullseye"></i>
          评测<small><%= @evaluates.any? ? "" : " ( 暂无评测 ) " %></small>
        </h3>
        <hr>
        <div class="limit_evaluates">
          <%= render partial: 'evaluates/evaluate', collection: @evaluates %>
        </div>
        <div id="replies" class="messages_container">
          <h3>
            <i class="fa fa-comment-o"></i>
            评论
            <small id="message_count_prompt">
              <%= render partial: "shared/message_count_prompt", locals: { feed_count: @product.messages_count, messages: @messages } %>
            </small>
          </h3>
          <hr>
          <div id="all_messages">
            <%= render partial: 'messages/message', collection: @messages %>
          </div>
          <%= will_paginate @messages, renderer: BootstrapPagination::Rails, params: { anchor: 'replies' } %>
          <%= render 'messages/form' %>
        </div>
      </div>
    </div>
  </div>
</div>
{'fraction_non_alphanumeric': 0.1640970844145932, 'fraction_numerical': 0.007937719432147763, 'mean_word_length': 1.33250266998932, 'pattern_counts': {'":': 0, '<': 207, '<?xml version=': 0, '>': 207, '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': '1860382', 'n_tokens_mistral': 2060, 'n_tokens_neox': 1949, 'n_words': 353}