<commit_before><div class="horizontal-fade" style="position:relative;">
  <div class="jumbotron vertical-fade" style="margin-bottom:0px;border-radius: 0px;">
    <h1>National Sleep Research Resource</h1>
    <p class="lead">Explore a rich collection of sleep research data collected in children and adults across the U.S.</p>
    <div style="background-image:url(<%= asset_path('home.jpg') %>);background-repeat: no-repeat;z-index:-2;top:0;right:0;bottom:0;left:0;position:absolute"></div>
  </div>
</div>

<%= render partial: 'showcase/carousel' %>

<div class="welcome-box welcome-even" style="margin-top:0px">
  <div class="jumbotron" style="margin-bottom:0px;padding:20px 0px 0px 0px">
    <h1 style="margin-top:10px">Explore datasets.</h1>
    <p class="lead">Learn more about the <%= link_to 'individual datasets', datasets_path %> by reading easily navigable online documentation.</p>
  </div>

  <div class="row" style="margin-top:40px">
    <% @datasets.order( :release_date ).limit(3).each do |dataset| %>
      <div class="col-xs-12 col-sm-6 col-md-4 ">
        <div class="panel panel-<%= dataset.release_date && dataset.release_date <= Date.today ? 'primary' : 'default' %>">
          <div class="panel-heading">
            <h3 class="panel-title" style="white-space:nowrap;overflow:hidden"><%= link_to dataset.name, dataset %></h3>
          </div>
          <div class="panel-body">
            <div style="text-align:center;background-color:white;padding-bottom:5px;height:145px;line-height:145px">
              <% if dataset.logo.size > 0 %>
                <%= link_to image_tag( logo_dataset_path(dataset), style: 'max-width:100%;max-height:140px' ), dataset %>
              <% else %>
                <%= link_to image_tag( 'project-default-logo.png', style: 'max-width:100%;max-height:140px' ), dataset %>
              <% end %>
            </div>
            <p style="text-align:center">
              <%= dataset.description.truncate(170) %>
            </p>
            <p style="text-align:center">
            <%= link_to dataset do %><commit_msg>Display most recently added datasets on welcome page<commit_after><div class="horizontal-fade" style="position:relative;">
  <div class="jumbotron vertical-fade" style="margin-bottom:0px;border-radius: 0px;">
    <h1>National Sleep Research Resource</h1>
    <p class="lead">Explore a rich collection of sleep research data collected in children and adults across the U.S.</p>
    <div style="background-image:url(<%= asset_path('home.jpg') %>);background-repeat: no-repeat;z-index:-2;top:0;right:0;bottom:0;left:0;position:absolute"></div>
  </div>
</div>

<%= render partial: 'showcase/carousel' %>

<div class="welcome-box welcome-even" style="margin-top:0px">
  <div class="jumbotron" style="margin-bottom:0px;padding:20px 0px 0px 0px">
    <h1 style="margin-top:10px">Explore datasets.</h1>
    <p class="lead">Learn more about the <%= link_to 'individual datasets', datasets_path %> by reading easily navigable online documentation.</p>
  </div>

  <div class="row" style="margin-top:40px">
    <% @datasets.order( release_date: :desc ).limit(3).each do |dataset| %>
      <div class="col-xs-12 col-sm-6 col-md-4 ">
        <div class="panel panel-<%= dataset.release_date && dataset.release_date <= Date.today ? 'primary' : 'default' %>">
          <div class="panel-heading">
            <h3 class="panel-title" style="white-space:nowrap;overflow:hidden"><%= link_to dataset.name, dataset %></h3>
          </div>
          <div class="panel-body">
            <div style="text-align:center;background-color:white;padding-bottom:5px;height:145px;line-height:145px">
              <% if dataset.logo.size > 0 %>
                <%= link_to image_tag( logo_dataset_path(dataset), style: 'max-width:100%;max-height:140px' ), dataset %>
              <% else %>
                <%= link_to image_tag( 'project-default-logo.png', style: 'max-width:100%;max-height:140px' ), dataset %>
              <% end %>
            </div>
            <p style="text-align:center">
              <%= dataset.description.truncate(170) %>
            </p>
            <p style="text-align:center">
            <%= link_to dataset do %>
{'fraction_non_alphanumeric': 0.17249583630739948, 'fraction_numerical': 0.02474423031168213, 'mean_word_length': 3.356476683937824, 'pattern_counts': {'":': 0, '<': 91, '<?xml version=': 0, '>': 91, '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': '3288107', 'n_tokens_mistral': 1441, 'n_tokens_neox': 1305, 'n_words': 266}