<commit_before><% title "#{@project} #{@version} on #{@project.platform_name} - Libraries.io" %>
<% description project_description(@project, @version) %>
<% content_for :atom, auto_discovery_link_tag(:atom, rss_url(@project)) %>

<%= content_for :meta, render_meta(@project) %>

<%= render 'alerts' %>

<div class="row">
  <div class='col-md-8'>
    <h1>
      <div class="pictogram pictogram-<%= @project.platform.downcase %>"></div>
      <%= @project %>
      <small>
        <% if @version %>
          <%= @version %>
        <% else %>
          <%= @project.latest_release_number %>
        <% end %>
      </small>
    </h1>
  </div>
  <div class='col-md-4'>
      <%= render 'actions' %>
  </div>
</div>
<div class='row'>
  <% cache([@project, @version, 'projects:show', 'v1'], :expires_in => 1.day) do %>
    <div class='col-md-8'>
    <%= render 'details' %>
    <% if @repository.present? && @repository.readme.present? %>
      <hr>
      <%= render 'adsense/banner' %>
      <%== @repository.readme %>
    <% end %>
      <div class="row">
        <% cache([@project, @version, 'dependents:v3'], :expires_in => 1.day) do  %>
          <% dependents = @project.dependent_projects.limit(10) %>
          <% dependent_repos = @project.dependent_repositories.open_source.limit(10) %>
          <% if dependent_repos.length > 0 || dependents.length > 0 || @dependencies.length > 0 %>
            <hr>
          <% end %>
          <% if @dependencies.length > 0 %>
            <%= render 'dependencies' %>
          <% end %>
          <% if dependent_repos.length > 0 || dependents.length > 0 %>
            <%= render 'dependents' %>
          <% end %>
        <% end %>
      </div>
    </div>
  <% end %>
  <div class='col-md-4'>
    <%= render 'adsense/sustain' %>
    <% cache([@project, @version, 'projects:sidebar', 'v1'], :expires_in => 1.day) do %>
      
      <%= render 'releases' %>

      <%= render 'statistics' %>

      <% if @contributors.length > 0 %>
        <div class="row">
          <div class="col-md-12">
            <h4 data-ga-tracked-el='top-contributors'>Top Contributors <small><%= link_to 'See all', repository_contributors_path(@repository.to_param) %></small></h4>
            <%= render @contributors %>
          </div>
        </div>
      <% end %>
    <% end %>

    <% if current_user %>
      <% your_dependent_repos = current_user.your_dependent_repos(@project) %>
      <% if your_dependent_repos.length > 0 %>
        <% render 'repos' %>
      <% end %>
    <% end %>

    <div class="row">
      <div class="col-md-12">
        <br>
        <p>
          <%= fa_icon 'question-circle' %>
          Something wrong with this page?
          <%= link_to 'Make a suggestion', project_suggestions_path(@project.to_param) %>
        </p>
        <p>
          <%= fa_icon 'download' %><commit_msg>Move project page content<commit_after><% title "#{@project} #{@version} on #{@project.platform_name} - Libraries.io" %>
<% description project_description(@project, @version) %>
<% content_for :atom, auto_discovery_link_tag(:atom, rss_url(@project)) %>

<%= content_for :meta, render_meta(@project) %>

<%= render 'alerts' %>

<div class="row">
  <div class='col-md-8'>
    <h1>
      <%= @project %>
      <small>
        <% if @version %>
          <%= @version %>
        <% else %>
          <%= @project.latest_release_number %>
        <% end %>
      </small>
    </h1>
  </div>
  <div class='col-md-4'>
      <%= render 'actions' %>
  </div>
</div>


<div class='row'>
  <% cache([@project, @version, 'projects:show', 'v1'], :expires_in => 1.day) do %>
    <div class='col-md-8'>
    
      <%= render 'details' %>

      <%= render 'contributors' %>

      <% if @repository.present? && @repository.readme.present? %>
        <hr>
        <%= render 'adsense/banner' %>
        <%== @repository.readme %>
      <% end %>

    </div>
  <% end %>
  <% cache([@project, @version, 'projects:sidebar', 'v1'], :expires_in => 1.day) do %>
    <div class='col-md-4'>

      <%= render 'adsense/sustain' %>

      <%= render 'statistics' %>

      <%= render 'releases' %>
 
      <% cache([@project, @version, 'dependents:v3'], :expires_in => 1.day) do  %>
      <% dependents = @project.dependent_projects.limit(10) %>
      <% dependent_repos = @project.dependent_repositories.open_source.limit(10) %>
      <% if dependent_repos.length > 0 || dependents.length > 0 || @dependencies.length > 0 %>
        <hr>
      <% end %>
      <% if @dependencies.length > 0 %>
        <%= render 'dependencies' %>
      <% end %>
      <% if dependent_repos.length > 0 || dependents.length > 0 %>
        <%= render 'dependents' %>
      <% end %>
    <% end %>

    </div>
  <% end %>
</div>

  <div class='col-md-4'>
    <%= render 'adsense/sustain' %>
    <% cache([@project, @version, 'projects:sidebar', 'v1'], :expires_in => 1.day) do %>

      <% if @contributors.length > 0 %>
        <div class="row">
          <div class="col-md-12">
            <h4 data-ga-tracked-el='top-contributors'>Top Contributors <small><%= link_to 'See all', repository_contributors_path(@repository.to_param) %></small></h4>
            <%= render @contributors %>
          </div>
        </div>
      <% end %>
    <% end %>

    <% if current_user %>
      <% your_dependent_repos = current_user.your_dependent_repos(@project) %>
      <% if your_dependent_repos.length > 0 %>
        <% render 'repos' %>
      <% end %>
    <% end %>

    <div class="row">
      <div class="col-md-12">
        <br>
        <p>
          <%= fa_icon 'question-circle' %>
          Something wrong with this page?
          <%= link_to 'Make a suggestion', project_suggestions_path(@project.to_param) %>
        </p>
        <p>
          <%= fa_icon 'download' %>
{'fraction_non_alphanumeric': 0.19747535881030606, 'fraction_numerical': 0.01089399965415874, 'mean_word_length': 2.380479251899474, 'pattern_counts': {'":': 0, '<': 173, '<?xml version=': 0, '>': 196, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6937436', 'n_tokens_mistral': 2151, 'n_tokens_neox': 1864, 'n_words': 363}