<commit_before><div class='info'>
  <ul>
    <% @emails.each do |email| %>
    <li>Subject :
      <%= link_to(email_path(email.id)) do %>
        <%= email.subject %>
        <br><commit_msg>Begining of chart analysis<commit_after><%= link_to 'Home', user_path(current_user) %>

<div class='info'>
  <%= pie_chart @emails.group(:sent_at).count, colors: ["#494a49", "#fb44a0", "#cec8c8"] %>

  <p>Sentiment</p>
  <%= pie_chart @emails.group(:sentiment).count, colors: ["#494a49", "#fb44a0", "#cec8c8"] %>
  <p>Sentiment with all partners</p>
  <%= pie_chart Email.where(user_id: current_user.id).group(:sentiment).count, colors: ["#494a49", "#fb44a0", "#cec8c8"] %>

  <ul>
    <% @emails.each do |email| %>
    <li>Subject :
      <%= link_to(email_path(email.id)) do %>
        <%= email.subject %>
        <br>
{'fraction_non_alphanumeric': 0.22140221402214022, 'fraction_numerical': 0.03690036900369004, 'mean_word_length': 3.9036144578313254, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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': '753983', 'n_tokens_mistral': 349, 'n_tokens_neox': 315, 'n_words': 52}