<commit_before><% request_user ||= false %>
<%unless request_user%>
<div>
  <table class="table borderless">
    <tr>
      <th align='left'><%=t ".email"%></th>
      <tr>
        <td><%=t ".email_option"%>
          <tr>
            <td><label for="user_email_on_review"><%=t ".when_someone_else"%> <strong><%=t ".reviews"%></strong> <%=t ".my_work"%></label></td>
            <td><%= check_box 'user', 'email_on_review', {},  true, false  %></td>
          </tr>
          <tr>
            <td><label for="user_email_on_submission"><%=t ".when_someone_else"%> <strong><%=t ".submits"%></strong> <%=t ".work_assigned"%></label></td>
            <td><%= check_box 'user', 'email_on_submission', {}, true, false  %></td>
          </tr>
          <tr>
            <td><label for="user_email_on_review_of_review"><%=t ".when_someone_else"%> <%=t ".reviews_one"%> (<strong>meta-<%=t ".reviews"%></strong> <%=t ".my_work"%>)</label></td>
            <td><%= check_box 'user', 'email_on_review_of_review', {}, true, false %></td>
          </tr>
          <% if @user.role_id == 2 %>
            <tr>
              <td><label for="copy_of_emails"> <%=t ".send_mail"%></label></td>
              <td><%= check_box 'user', 'copy_of_emails', {}, true, false %></td>
            </tr>
          <% end %>
  </table>
</div>
<% end %><commit_msg>Check email pref by default (#2261)<commit_after><% request_user ||= false %>
<%unless request_user%>
<div>
  <table class="table borderless">
    <tr>
      <th align='left'><%=t ".email"%></th>
      <tr>
        <td><%=t ".email_option"%>
          <tr>
            <td><label for="user_email_on_review"><%=t ".when_someone_else"%> <strong><%=t ".reviews"%></strong> <%=t ".my_work"%></label></td>
            <td><%= check_box 'user', 'email_on_review', {checked: true},  true, false  %></td>
          </tr>
          <tr>
            <td><label for="user_email_on_submission"><%=t ".when_someone_else"%> <strong><%=t ".submits"%></strong> <%=t ".work_assigned"%></label></td>
            <td><%= check_box 'user', 'email_on_submission', {checked: true}, true, false  %></td>
          </tr>
          <tr>
            <td><label for="user_email_on_review_of_review"><%=t ".when_someone_else"%> <%=t ".reviews_one"%> (<strong>meta-<%=t ".reviews"%></strong> <%=t ".my_work"%>)</label></td>
            <td><%= check_box 'user', 'email_on_review_of_review', {checked: true}, true, false %></td>
          </tr>
          <% if @user.role_id == 2 %>
            <tr>
              <td><label for="copy_of_emails"> <%=t ".send_mail"%></label></td>
              <td><%= check_box 'user', 'copy_of_emails', {checked: true}, true, false %></td>
            </tr>
          <% end %>
  </table>
</div>
<% end %>
{'fraction_non_alphanumeric': 0.24362709395484342, 'fraction_numerical': 0.0021849963583394027, 'mean_word_length': 2.6626666666666665, 'pattern_counts': {'":': 0, '<': 141, '<?xml version=': 0, '>': 141, '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': '4715355', 'n_tokens_mistral': 1025, 'n_tokens_neox': 974, 'n_words': 185}