<commit_before><%
content_for(:title, t('devise.sign_up'))
content_for(:h1, t('devise.sign_up'))
content_for :body_id, 'registrations-new'
content_for :body_classes, 'registrations new'
%>

<%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: {class: 'cf-form'}) do |f| %>
  <%= invisible_captcha %>

  <% if resource.errors.any? %>
  <div class="alert alert-error">
    <h4><%= t("errors.messages.not_saved", count: resource.errors.count, resource: resource.class.model_name.human) %></h4>

    <ul>
      <% for message in resource.errors.full_messages %>
      <li><%= message %></li>
      <% end %>
    </ul>
  </div>
  <% end %>

  <div class="cf-cgroup">
    <%= f.label :username %>
    <%= f.text_field(:username, 'data-js' => 'username') %>
  </div>

  <div class="cf-cgroup">
    <%= f.label(:email) %><commit_msg>ref: trying to catch a bug<commit_after><%
content_for(:title, t('devise.sign_up'))
content_for(:h1, t('devise.sign_up'))
content_for :body_id, 'registrations-new'
content_for :body_classes, 'registrations new'
%>

<%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: {class: 'cf-form'}) do |f| %>
  <%= invisible_captcha InvisibleCaptcha.get_honeypot %>

  <% if resource.errors.any? %>
  <div class="alert alert-error">
    <h4><%= t("errors.messages.not_saved", count: resource.errors.count, resource: resource.class.model_name.human) %></h4>

    <ul>
      <% for message in resource.errors.full_messages %>
      <li><%= message %></li>
      <% end %>
    </ul>
  </div>
  <% end %>

  <div class="cf-cgroup">
    <%= f.label :username %>
    <%= f.text_field(:username, 'data-js' => 'username') %>
  </div>

  <div class="cf-cgroup">
    <%= f.label(:email) %>
{'fraction_non_alphanumeric': 0.20556501987507098, 'fraction_numerical': 0.0034071550255536627, 'mean_word_length': 4.152046783625731, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 51, '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': '813594', 'n_tokens_mistral': 689, 'n_tokens_neox': 638, 'n_words': 122}