<commit_before><section>
  <div class="row">
    <div class="small-12 medium-6 columns">
      <p id="notice"><%= notice %></p>

      <%= render 'invitation' if current_user.invited? %>

      <h1>My Energy Saving Score</h1>
      <h2><%= @user.score %></h2>
    </div>
    <div class="small-12 medium-5 columns">
      <p>You can get your Green Button energy history file from Eversource by <a href="https://www.eversource.com/nstar/CustomerCare/Residential/GreenButton">clicking here</a>.</p>
      <% unless @user.team %>
        <%= link_to 'Create a Team', new_team_path, class: "button" %>
      <% else %>
        <%= link_to 'Invite a Friend', new_user_invitation_path, class: "button" %>
      <% end %>
      <%= link_to "Add this month's bill", new_bill_path, class: "button" %>
      <%= link_to 'Upload Green Button Data', new_upload_path, class: "button" %>
    </div>
  </div>
  <div class="row">
    <div class="small-12 medium-6 columns">
      <% if current_user.try(:team).try(:image_url) %>
        <%= image_tag current_user.team.image_url %>
      <% else %>
        <%= image_tag 'no_team.jpg' %>
      <% end %>
    </div>
    <div class="small-12 medium-5 columns">
      <h4>Team Leaderboard</h4>
      <table>
        <thead>
          <tr>
            <th>Name</th>
            <th>Score</th>
          </tr>
        </thead>

        <tbody>
          <% @teams.each do |team| %>
            <tr>
              <% if current_user.is_member?(team) %>
                <td><%= link_to team.name, team %></td>
              <% else %>
                <td><%= team.name %></td>
              <% end %>
      	      <td><%= team.score.round(2) %></td>
            </tr>
          <% end %>
        </tbody>
      </table>
      </div>
    </div>
    <div class="row">
      <div class="small-12 medium-6 columns">
      <h4>How my energy savings score is calculated</h4>
        <p>Your personal energy score is calculated by comparing your energy use this month with your energy use last month and represents how well you reduced your usage. Dramatic changes in weather are accounted for using heating and cooling days.</p>
        <h4>How my team energy saving score is calculated</h4>
        <p>Your team energy score is calculated by adding each team member’s individual score together.</p>
        <h4>Improve Your Energy Score</h4>
        <p>Get a <a href="http://cambridgeenergyalliance.org/save">free energy audit</a>.</p>
      </div>
      <div class="small-12 medium-5 columns">
        <div id="tips_display">
          <%= render 'tips/rand' %>
        </div>
        <div id="tips_vote">
          <%= render 'user_tips/feedback' %>
        </div>
      </div>
    </div>
  </div>
</section><commit_msg>Remove inaccurate text from leaderboard page<commit_after><section>
  <div class="row">
    <div class="small-12 medium-6 columns">
      <p id="notice"><%= notice %></p>

      <%= render 'invitation' if current_user.invited? %>

      <h1>My Energy Saving Score</h1>
      <h2><%= @user.score %></h2>
    </div>
    <div class="small-12 medium-5 columns">
      <p>You can get your Green Button energy history file from Eversource by <a href="https://www.eversource.com/nstar/CustomerCare/Residential/GreenButton">clicking here</a>.</p>
      <% unless @user.team %>
        <%= link_to 'Create a Team', new_team_path, class: "button" %>
      <% else %>
        <%= link_to 'Invite a Friend', new_user_invitation_path, class: "button" %>
      <% end %>
      <%= link_to "Add this month's bill", new_bill_path, class: "button" %>
      <%= link_to 'Upload Green Button Data', new_upload_path, class: "button" %>
    </div>
  </div>
  <div class="row">
    <div class="small-12 medium-6 columns">
      <% if current_user.try(:team).try(:image_url) %>
        <%= image_tag current_user.team.image_url %>
      <% else %>
        <%= image_tag 'no_team.jpg' %>
      <% end %>
    </div>
    <div class="small-12 medium-5 columns">
      <h4>Team Leaderboard</h4>
      <table>
        <thead>
          <tr>
            <th>Name</th>
            <th>Score</th>
          </tr>
        </thead>

        <tbody>
          <% @teams.each do |team| %>
            <tr>
              <% if current_user.is_member?(team) %>
                <td><%= link_to team.name, team %></td>
              <% else %>
                <td><%= team.name %></td>
              <% end %>
      	      <td><%= team.score.round(2) %></td>
            </tr>
          <% end %>
        </tbody>
      </table>
      </div>
    </div>
    <div class="row">
      <div class="small-12 medium-6 columns">
      <h4>How my energy savings score is calculated</h4>
        <p>Your personal energy score is calculated by comparing your energy use this month with your energy use last month and represents how well you reduced your usage.</p
        <h4>How my team energy saving score is calculated</h4>
        <p>Your team energy score is calculated by adding each team member’s individual score together.</p>
        <h4>Improve Your Energy Score</h4>
        <p>Get a <a href="http://cambridgeenergyalliance.org/save">free energy audit</a>.</p>
      </div>
      <div class="small-12 medium-5 columns">
        <div id="tips_display">
          <%= render 'tips/rand' %>
        </div>
        <div id="tips_vote">
          <%= render 'user_tips/feedback' %>
        </div>
      </div>
    </div>
  </div>
</section>
{'fraction_non_alphanumeric': 0.161456417800662, 'fraction_numerical': 0.01140125045972784, 'mean_word_length': 2.1421143847487003, 'pattern_counts': {'":': 0, '<': 195, '<?xml version=': 0, '>': 194, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '1348907', 'n_tokens_mistral': 1843, 'n_tokens_neox': 1713, 'n_words': 462}