<commit_before><%= accordion_around(getLongName('table_name','import_mails')+"マッチング", "") do %>
  <% param = session[:import_mail_match] %>
<%= form_tag do %>
<table class="form_table">
    <tr>
      <th><i class="fa fa-angle-double-right "></i>フラグ</th>
      <td>
        <%= check_box_tag 'proper_flg', 1, param[:proper_flg].to_i == 1 %> プロパー
        <%= check_box_tag 'starred', 1, param[:starred].to_i == 1 %> スター
      </td>
    </tr>
    <tr>
      <th><i class="fa fa-angle-double-right "></i>タグ</th>
      <td><%= text_field_tag 'tag', param[:tag]%><br>
        <%= verygood_tags %>
      </td>
    </tr>
    <tr>
      <th><i class="fa fa-angle-double-right "></i>単価</th>
      <td class="bounds_input">
        <%= text_field_tag 'payment_from', param[:payment_from]%>万 ～
        <%= text_field_tag 'payment_to', param[:payment_to]%>万
      </td>
    </tr>
    <tr>
      <th><i class="fa fa-angle-double-right "></i>年齢</th>
      <td class="bounds_input">
        <%= text_field_tag 'age_from', param[:age_from]%>歳 ～
        <%= text_field_tag 'age_to', param[:age_to]%>歳
      </td>
    </tr>
    <tr>
      <th><i class="fa fa-angle-double-right "></i>フリーワード</th>
      <td>
        <%= text_field_tag 'free_word', param[:free_word]%>
      </td>
    </tr>
    <tr>
      <th><i class="fa fa-angle-double-right "></i>対象日数</th>
      <td>
        <%= select_tag 'days', options_for_select((1..4).to_a + (1..6).to_a.map{|x| x*5}.push("無制限"), (session[:import_mail_search][:days] || 5))%>
      </td>
    </tr>
    <tr>
      <th colspan="2">
        <%= submit_tag '　　検索　　', btn_warning(:name => 'search_button') %> <%= submit_tag '　　クリア　　', btn_default(:name => 'clear_button') %>
      </th>
    </tr>
</table>
<% end %>
<% end %>

<div class="row">
  <div class="col-md-6">
    <table class="list_table table-bordered">
      <tr><th colspan=4>人材メール</th></tr>
      <% @hr_mails.each do |import_mail| %>
        <tr id="tr_head_<%= import_mail.id %>" class="head_row" import_mail_id="<%= import_mail.id %>">
          <td style="width:6em"><%= show_stars(import_mail) %></td>
        <%= render :partial => "td_tags", :locals => {:import_mail => import_mail} %>
        <td><div style="width:2.5em"><%=_age(import_mail.age) %></div></td>
        <td><div style="width:3.5em"><%=man import_mail.payment %></div></td>
      </tr>
      <tr id="tr_detail_<%= import_mail.id%>" class="detail_row" style="display:none">
      </tr>
    <% end %>
    </table><%# list_table %>
  </div>
  <div class="col-md-6">
    <table class="list_table table-bordered">
      <tr><th colspan=4>案件メール</th></tr>
      <% @biz_mails.each do |import_mail| %>
        <tr id="tr_head_<%= import_mail.id %>" class="head_row" import_mail_id="<%= import_mail.id %>">
          <td><div style="width:3.5em"><%=man import_mail.payment %></div></td>
          <td><div style="width:2.5em"><%=_age(import_mail.age) %></div></td>
          <%= render :partial => "td_tags", :locals => {:import_mail => import_mail} %>
          <td style="width:6em"><%= show_stars(import_mail) %></td>
      </tr>
      <tr id="tr_detail_<%= import_mail.id%>" class="detail_row" style="display:none">
    <% end %>
    </table><%# list_table %>
  </div>
</div>
<%= render :partial => 'js' %>
<commit_msg>セッションのパラメータがバグ<commit_after><%= accordion_around(getLongName('table_name','import_mails')+"マッチング", "") do %>
  <% param = session[:import_mail_match] %>
<%= form_tag do %>
<table class="form_table">
    <tr>
      <th><i class="fa fa-angle-double-right "></i>フラグ</th>
      <td>
        <%= check_box_tag 'proper_flg', 1, param[:proper_flg].to_i == 1 %> プロパー
        <%= check_box_tag 'starred', 1, param[:starred].to_i == 1 %> スター
      </td>
    </tr>
    <tr>
      <th><i class="fa fa-angle-double-right "></i>タグ</th>
      <td><%= text_field_tag 'tag', param[:tag]%><br>
        <%= verygood_tags %>
      </td>
    </tr>
    <tr>
      <th><i class="fa fa-angle-double-right "></i>単価</th>
      <td class="bounds_input">
        <%= text_field_tag 'payment_from', param[:payment_from]%>万 ～
        <%= text_field_tag 'payment_to', param[:payment_to]%>万
      </td>
    </tr>
    <tr>
      <th><i class="fa fa-angle-double-right "></i>年齢</th>
      <td class="bounds_input">
        <%= text_field_tag 'age_from', param[:age_from]%>歳 ～
        <%= text_field_tag 'age_to', param[:age_to]%>歳
      </td>
    </tr>
    <tr>
      <th><i class="fa fa-angle-double-right "></i>フリーワード</th>
      <td>
        <%= text_field_tag 'free_word', param[:free_word]%>
      </td>
    </tr>
    <tr>
      <th><i class="fa fa-angle-double-right "></i>対象日数</th>
      <td>
        <%= select_tag 'days', options_for_select((1..4).to_a + (1..6).to_a.map{|x| x*5}.push("無制限"), (param[:days] || 5))%>
      </td>
    </tr>
    <tr>
      <th colspan="2">
        <%= submit_tag '　　検索　　', btn_warning(:name => 'search_button') %> <%= submit_tag '　　クリア　　', btn_default(:name => 'clear_button') %>
      </th>
    </tr>
</table>
<% end %>
<% end %>

<div class="row">
  <div class="col-md-6">
    <table class="list_table table-bordered">
      <tr><th colspan=4>人材メール</th></tr>
      <% @hr_mails.each do |import_mail| %>
        <tr id="tr_head_<%= import_mail.id %>" class="head_row" import_mail_id="<%= import_mail.id %>">
          <td style="width:6em"><%= show_stars(import_mail) %></td>
        <%= render :partial => "td_tags", :locals => {:import_mail => import_mail} %>
        <td><div style="width:2.5em"><%=_age(import_mail.age) %></div></td>
        <td><div style="width:3.5em"><%=man import_mail.payment %></div></td>
      </tr>
      <tr id="tr_detail_<%= import_mail.id%>" class="detail_row" style="display:none">
      </tr>
    <% end %>
    </table><%# list_table %>
  </div>
  <div class="col-md-6">
    <table class="list_table table-bordered">
      <tr><th colspan=4>案件メール</th></tr>
      <% @biz_mails.each do |import_mail| %>
        <tr id="tr_head_<%= import_mail.id %>" class="head_row" import_mail_id="<%= import_mail.id %>">
          <td><div style="width:3.5em"><%=man import_mail.payment %></div></td>
          <td><div style="width:2.5em"><%=_age(import_mail.age) %></div></td>
          <%= render :partial => "td_tags", :locals => {:import_mail => import_mail} %>
          <td style="width:6em"><%= show_stars(import_mail) %></td>
      </tr>
      <tr id="tr_detail_<%= import_mail.id%>" class="detail_row" style="display:none">
    <% end %>
    </table><%# list_table %>
  </div>
</div>
<%= render :partial => 'js' %>

{'fraction_non_alphanumeric': 0.23450920245398774, 'fraction_numerical': 0.007668711656441718, 'mean_word_length': 3.0228254164096238, 'pattern_counts': {'":': 0, '<': 279, '<?xml version=': 0, '>': 297, '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': '3733246', 'n_tokens_mistral': 2739, 'n_tokens_neox': 2590, 'n_words': 412}