<commit_before><?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang='en-US' xml:lang='en-US' xmlns='http://www.w3.org/1999/xhtml'>
  <head>
    <meta content='' name='keywords' />
    <meta content='' name='description' />
    <meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
    <title>Transparency Corps</title>
    
    <%= stylesheet_link_tag 'style' %>
    
    <%= javascript_include_tag 'jquery' %>
    <%= javascript_include_tag 'tcorps' %>
  </head>
  
  <body class="<%= yield :class %>">
    <div id="headerWrapper">
      <div id="pageMain">
        <div id="header">
          <h1>
            <%= link_to 'Transparency Corps', root_path %>
          </h1>
          <div id="accountInfo">
            <% if logged_in? %>
              <span id="username">Welcome <%= current_user.login %>!</span>
              
              <% if current_user.manager? or current_user.admin? %>
                <%= link_to 'Admin', admin_path %>
              <% end %>
              
              <%= link_to 'Edit Profile', edit_user_path(current_user) %>
        |
              <%= link_to 'Sign Out', logout_path %>
            <% else %>
              <%= link_to 'Join Us', register_path %>
        |
              <%= link_to 'Sign In', login_path %>
            <% end %>
          </div>
          <div id="nav">
            <ul>
              <li id="nav_tasks">
                <%= link_to 'Tasks', campaigns_path, :class => (yield(:class).to_s == 'tasks' ? 'active' : '') %>
              </li>
              <li id="nav_leaders">
                <%= link_to 'Transparency Leaders', leaders_path %>
              </li>
              <li id="nav_about">
                <%= link_to 'About', about_path, :class => (yield(:class).to_s == 'about' ? 'active' : '') %>
              </li>
              <li id="nav_contact">
                <%= link_to 'Contact', contact_path, :class => (yield(:class).to_s == 'contact' ? 'active' : '') %>
              </li>
            </ul>
          </div>
        </div>
        <% if yield :header %>
          <%= render :partial => "layouts/partials/#{yield :header}" %>
        <% end %>
        
        <div id="mainContent">
          <%= render :partial => 'layouts/partials/flash', :locals => {:flash => flash} %>
          
          <div id="ltColumn">
            <%= yield %>
          </div>
          
          <% unless yield(:hide_sidebar) %>
            <div id="rtColumn">
              <%= render :partial => 'layouts/partials/sidebar', :locals => {:campaigns => @sidebar_campaigns} %>
            </div>
          <% end %>
          
          <div class="clear"></div>
        </div>
        
        <div id="footer">
          <div id="footerBrand">
            <%= link_to 'Sunlight Foundation', 'http://www.sunlightfoundation.com' %>
          </div>
          <p>
            Founded in 2006, the Sunlight Foundation supports, develops and deploys new Internet technologies to make information about Congress and the federal government more accessible to the American people. Through its projects and grant-making, Sunlight serves as a catalyst to create greater political transparency and to foster more openness and accountability in government. Visit SunlightFoundation.com to learn more.
          </p>
        </div>
      </div>
    </div>
  </body>
</html><commit_msg>Added the active class check to the Leaderboard link<commit_after><?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang='en-US' xml:lang='en-US' xmlns='http://www.w3.org/1999/xhtml'>
  <head>
    <meta content='' name='keywords' />
    <meta content='' name='description' />
    <meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
    <title>Transparency Corps</title>
    
    <%= stylesheet_link_tag 'style' %>
    
    <%= javascript_include_tag 'jquery' %>
    <%= javascript_include_tag 'tcorps' %>
  </head>
  
  <body class="<%= yield :class %>">
    <div id="headerWrapper">
      <div id="pageMain">
        <div id="header">
          <h1>
            <%= link_to 'Transparency Corps', root_path %>
          </h1>
          <div id="accountInfo">
            <% if logged_in? %>
              <span id="username">Welcome <%= current_user.login %>!</span>
              
              <% if current_user.manager? or current_user.admin? %>
                <%= link_to 'Admin', admin_path %>
              <% end %>
              
              <%= link_to 'Edit Profile', edit_user_path(current_user) %>
        |
              <%= link_to 'Sign Out', logout_path %>
            <% else %>
              <%= link_to 'Join Us', register_path %>
        |
              <%= link_to 'Sign In', login_path %>
            <% end %>
          </div>
          <div id="nav">
            <ul>
              <li id="nav_tasks">
                <%= link_to 'Tasks', campaigns_path, :class => (yield(:class).to_s == 'tasks' ? 'active' : '') %>
              </li>
              <li id="nav_leaders">
                <%= link_to 'Transparency Leaders', leaders_path, :class => (yield(:class).to_s == 'leaders' ? 'active' : '') %>
              </li>
              <li id="nav_about">
                <%= link_to 'About', about_path, :class => (yield(:class).to_s == 'about' ? 'active' : '') %>
              </li>
              <li id="nav_contact">
                <%= link_to 'Contact', contact_path, :class => (yield(:class).to_s == 'contact' ? 'active' : '') %>
              </li>
            </ul>
          </div>
        </div>
        <% if yield :header %>
          <%= render :partial => "layouts/partials/#{yield :header}" %>
        <% end %>
        
        <div id="mainContent">
          <%= render :partial => 'layouts/partials/flash', :locals => {:flash => flash} %>
          
          <div id="ltColumn">
            <%= yield %>
          </div>
          
          <% unless yield(:hide_sidebar) %>
            <div id="rtColumn">
              <%= render :partial => 'layouts/partials/sidebar', :locals => {:campaigns => @sidebar_campaigns} %>
            </div>
          <% end %>
          
          <div class="clear"></div>
        </div>
        
        <div id="footer">
          <div id="footerBrand">
            <%= link_to 'Sunlight Foundation', 'http://www.sunlightfoundation.com' %>
          </div>
          <p>
            Founded in 2006, the Sunlight Foundation supports, develops and deploys new Internet technologies to make information about Congress and the federal government more accessible to the American people. Through its projects and grant-making, Sunlight serves as a catalyst to create greater political transparency and to foster more openness and accountability in government. Visit SunlightFoundation.com to learn more.
          </p>
        </div>
      </div>
    </div>
  </body>
</html>
{'fraction_non_alphanumeric': 0.1634669678147939, 'fraction_numerical': 0.005928853754940711, 'mean_word_length': 1.8465247087183607, 'pattern_counts': {'":': 0, '<': 163, '<?xml version=': 2, '>': 184, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 6}, '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': '115081', 'n_tokens_mistral': 2247, 'n_tokens_neox': 2035, 'n_words': 485}