<commit_before><%
  entity = f.object unless local_assigns[:entity]
  model_name = entity.class.to_s.underscore unless local_assigns[:entity]
%>
<dt><%= t(:flags) %></dt>
<dd>
  <ul class="flags">
    <% entity.class.toggleable_attributes.each do |flag| %>
      <li>
        <%= f.check_box flag, id: "#{model_name}_flag" %>
        <%= f.label flag %>
      </li>
    <% end %>
  </ul>
</dd><commit_msg>Fixed mistype in entity flags partial<commit_after><%
  entity = f.object unless local_assigns[:entity]
  model_name = entity.class.to_s.underscore unless local_assigns[:entity]
%>
<dt><%= t(:flags) %></dt>
<dd>
  <ul class="flags">
    <% entity.class.toggleable_attributes.each do |flag| %>
      <li>
        <%= f.check_box flag, id: "#{model_name}_#{flag}" %>
        <%= f.label flag %>
      </li>
    <% end %>
  </ul>
</dd>
{'fraction_non_alphanumeric': 0.19952210274790919, 'fraction_numerical': 0.0, 'mean_word_length': 3.2323232323232323, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '5002691', 'n_tokens_mistral': 325, 'n_tokens_neox': 305, 'n_words': 62}