<commit_before><h1><%= @repo.data_title %></h1>

<div class='row-fluid'>  
  
  <div class='span9'>
    <p>
      <%= @repo.description %>
    </p>

    <dl class='dl-horizontal'>

      <% unless @repo.licenses.empty? %>
        <dt><%= 'License'.pluralize(@repo.licenses.length) %></dt>
        <dd>
          <% @repo.licenses.each do |l| %>
            <% if l.uri %>
              <%= link_to license_name(l), l.uri %>
            <% else %>
              <%= license_name(l) %>
            <% end %>
          <% end %>
        </dd>
      <% end %>

      <% unless @repo.publishers.empty? %>
        <dt><%= 'Publisher'.pluralize(@repo.publishers.length) %></dt>
        <dd>
          <% @repo.publishers.each do |agent| %>
            <%= agent_link(agent) %>
          <% end %>
        </dd>
      <% end %>

      <% unless @repo.maintainers.empty? %>
        <dt><%= 'Maintainer'.pluralize(@repo.maintainers.length) %></dt>
        <dd>
          <% @repo.maintainers.each do |agent| %>
            <%= agent_link(agent) %>
          <% end %>
        </dd>
      <% end %>
      
      <% unless @repo.contributors.empty? %>
        <dt><%= 'Contributor'.pluralize(@repo.contributors.length) %></dt>
        <dd>
          <% @repo.contributors.each do |agent| %>
            <%= agent_link(agent) %>
          <% end %>
        </dd>
      <% end %>

      <% if @repo.keywords %>
        <dt>Keywords</dt>
        <dd>
          <ul class='inline'>
            <% @repo.keywords.each do |keyword| %>
              <li><span class='label'><%= keyword%></span></li>
            <% end %>
          </ul>
        </dd>
      <% end %>
      
    </dl>
    
    <% if @repo.sources %>
      <h4>Sources</h4>
      <ul>
        <% @repo.sources.each do |source| %>
          <li>
            <% if source.web %>
              <%= link_to source.name, source.web%>
            <% else %><commit_msg>Hide sources section if empty<commit_after><h1><%= @repo.data_title %></h1>

<div class='row-fluid'>  
  
  <div class='span9'>
    <p>
      <%= @repo.description %>
    </p>

    <dl class='dl-horizontal'>

      <% unless @repo.licenses.empty? %>
        <dt><%= 'License'.pluralize(@repo.licenses.length) %></dt>
        <dd>
          <% @repo.licenses.each do |l| %>
            <% if l.uri %>
              <%= link_to license_name(l), l.uri %>
            <% else %>
              <%= license_name(l) %>
            <% end %>
          <% end %>
        </dd>
      <% end %>

      <% unless @repo.publishers.empty? %>
        <dt><%= 'Publisher'.pluralize(@repo.publishers.length) %></dt>
        <dd>
          <% @repo.publishers.each do |agent| %>
            <%= agent_link(agent) %>
          <% end %>
        </dd>
      <% end %>

      <% unless @repo.maintainers.empty? %>
        <dt><%= 'Maintainer'.pluralize(@repo.maintainers.length) %></dt>
        <dd>
          <% @repo.maintainers.each do |agent| %>
            <%= agent_link(agent) %>
          <% end %>
        </dd>
      <% end %>
      
      <% unless @repo.contributors.empty? %>
        <dt><%= 'Contributor'.pluralize(@repo.contributors.length) %></dt>
        <dd>
          <% @repo.contributors.each do |agent| %>
            <%= agent_link(agent) %>
          <% end %>
        </dd>
      <% end %>

      <% if @repo.keywords %>
        <dt>Keywords</dt>
        <dd>
          <ul class='inline'>
            <% @repo.keywords.each do |keyword| %>
              <li><span class='label'><%= keyword%></span></li>
            <% end %>
          </ul>
        </dd>
      <% end %>
      
    </dl>
    
    <% unless @repo.sources.empty? %>
      <h4>Sources</h4>
      <ul>
        <% @repo.sources.each do |source| %>
          <li>
            <% if source.web %>
              <%= link_to source.name, source.web%>
            <% else %>
{'fraction_non_alphanumeric': 0.20275539381336105, 'fraction_numerical': 0.0025994281258123215, 'mean_word_length': 1.4825806451612904, 'pattern_counts': {'":': 0, '<': 159, '<?xml version=': 0, '>': 159, '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': '3381399', 'n_tokens_mistral': 1407, 'n_tokens_neox': 1227, 'n_words': 208}