<commit_before><%= javascript_include_tag "FilterTable/FilterTable.js" %>
<%= javascript_include_tag "repo_browser.js" %>
<%= render :partial => "repo_browser_boot.js.erb" %>
<%= calendar_date_select_includes "silver" %>


<% if flash[:error] -%>   
<div class="error">
  <%= h(flash[:error]) %>
</div>
<% end %>

<div id="title_bar">
  <h1>Repository: <%= @repository_name %></h1>
</div>

<div class="wrapLeft">
  <div id="repo_browser_controls">
    <fieldset>
      <legend>Find a different revision</legend>

      <div id="find_revision_error" class="error" style="display:none;">
      </div>

      <% form_tag :action => 'repo_browser', :id => @grouping.id, :find_revision_by => 'revision_timestamp' do %>
      By Date:
     <%= calendar_date_select_tag "revision_timestamp", nil, :time => true %>
     <%= submit_tag "Find by Revision Timestamp" %>
     <% end %>
     
      <% form_tag :action => 'repo_browser', :id => @grouping.id, :find_revision_by => 'revision_number' do %>
     
     By Revision Number:
     <%= text_field_tag "revision_number", nil %>
     <%= submit_tag "Find by Revision Number" %>
     <% end %>
    </fieldset>
  </div>
<div class="global_actions">
  <h2>Viewing Revision: #<span id="current_revision_number_display"><%=@revision_number%></span> (<span id="current_revision_timestamp_display"><%=@revision_timestamp.strftime(LONG_DATE_TIME_FORMAT)%></span>)</h2>
  <span id="loading_list"><%= image_tag("spinner.gif") %> Loading list...
  </span>
  
<div id="directory_selector">
<p>
  Current Path: 
  <% path_memory = '/' 
     links = [] 
     @path.split('/').each do |folder| <commit_msg>Fixed some consistency problems in repo browser<commit_after><%= javascript_include_tag "FilterTable/FilterTable.js" %>
<%= javascript_include_tag "repo_browser.js" %>
<%= render :partial => "repo_browser_boot.js.erb" %>
<%= calendar_date_select_includes "silver" %>


<% if flash[:error] -%>   
<div class="error">
  <%= h(flash[:error]) %>
</div>
<% end %>

<div id="title_bar">
  <h1>Repository: <%= @repository_name %></h1>
</div>

<div class="wrapLeft">
  <div id="repo_browser_controls">
    <fieldset>
      <legend>Find a different revision</legend>

      <div id="find_revision_error" class="error" style="display:none;">
      </div>

      <% form_tag :action => 'repo_browser', :id => @grouping.id, :find_revision_by => 'revision_timestamp' do %>
     <%= calendar_date_select_tag "revision_timestamp", nil, :time => true %>
     <%= submit_tag "Find by Revision Timestamp" %>
     <% end %>
     
      <% form_tag :action => 'repo_browser', :id => @grouping.id, :find_revision_by => 'revision_number' do %>
     
     <%= text_field_tag "revision_number", nil %>
     <%= submit_tag "Find by Revision Number" %>
     <% end %>
    </fieldset>
  </div>
<div class="global_actions">
  <h2>Viewing Revision: #<span id="current_revision_number_display"><%=@revision_number%></span> (<span id="current_revision_timestamp_display"><%=@revision_timestamp.strftime(LONG_DATE_TIME_FORMAT)%></span>)</h2>
  <span id="loading_list"><%= image_tag("spinner.gif") %> Loading list...
  </span>
  
<div id="directory_selector">
<p>
  Current Path: 
  <% path_memory = '/' 
     links = [] 
     @path.split('/').each do |folder| 
{'fraction_non_alphanumeric': 0.18761496014714898, 'fraction_numerical': 0.002452483139178418, 'mean_word_length': 4.340425531914893, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 109, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6122761', 'n_tokens_mistral': 1216, 'n_tokens_neox': 1111, 'n_words': 209}