<commit_before><% if @user == current_user %>
  <h3 class="center">Welcome back, <%= @user.email %>!</h3>
<% else %>
  <h3 class="center"><%= @user.email %></h3>
<% end %>
<div class="divider"></div>

<div id="chart">
  <% if logged_in? && !@user.days.empty? && @user == current_user %>
    <%= high_chart("chart", @chart) %>
  <% elsif !logged_in? %>
    You need to be <%= link_to 'logged in', login_path %>!
  <% elsif @user != current_user %>
    You can't see other people's feelings!
  <% else %>
    You don't have feelings!
  <% end %>
</div>

<div class="user-options">
  <%= link_to "Edit Settings", edit_user_path(current_user), class: 'waves-effect waves-light'%> <br />
  <%= link_to 'Delete Account', user_path(@user), method: :delete, data: {confirm: "Really delete your account?"}, class: 'waves-effect waves-light' %>
</div><commit_msg>Style user show page for user auth links<commit_after><% if @user == current_user %>
  <h3 class="center">Welcome back!</h3>
<% else %>
  <h3 class="center"><%= @user.email %></h3>
<% end %>
<div id="chart" class="center">
  <% if logged_in? && !@user.days.empty? && @user == current_user %>
    <%= high_chart("chart", @chart) %>
  <% elsif !logged_in? %>
    You need to be <%= link_to 'logged in', login_path %>!
  <% elsif @user != current_user %>
    <h4>You can't see other people's feelings!</h4>
  <% else %>
    <h4>You don't have feelings!</h4>
  <% end %>
</div>

<% if @user == current_user %>
  <div class="user-options">
    <%= link_to "Edit Settings", edit_user_path(current_user), class: 'waves-effect waves-light'%> <br />
    <%= link_to 'Delete Account', user_path(@user), method: :delete, data: {confirm: "Really delete your account?"}, class: 'waves-effect waves-light' %>
  </div>
<% end %>
{'fraction_non_alphanumeric': 0.21404303510758776, 'fraction_numerical': 0.006795016987542469, 'mean_word_length': 4.290419161676646, 'pattern_counts': {'":': 0, '<': 56, '<?xml version=': 0, '>': 56, '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': '4305990', 'n_tokens_mistral': 686, 'n_tokens_neox': 620, 'n_words': 163}