<commit_before>= f.inputs do
<% attributes.each do |attribute| -%>
<% next if attribute.name.to_sym == :deleted_at -%>
<% if attribute.name[-3,3] == '_id' -%>
  = f.input :<%= attribute.name[0..-4] %>
<% else -%>
  = f.input :<%= attribute.name -%>
<%= attribute.type == :file ? ', :as => :file' : '' -%>
<%= attribute.type == :date ? ", :input_html => {:class => 'datepicker'}, :as => :string" : '' -%>
<%= attribute.type == :datetime ? ", :input_html => {:class => 'datetimepicker'}, :as => :string" : '' -%>
<%= attribute.type == :time ? ", :input_html => {:class => 'timepicker'}, :as => :string" : '' -%> 
<% end -%><commit_msg>bug in generator<commit_after>= f.inputs do
<% attributes.each do |attribute| -%>
<% next if attribute.name.to_sym == :deleted_at -%>
<% if attribute.name[-3,3] == '_id' -%>
  = f.input :<%= attribute.name[0..-4] %>
<% else -%>
  = f.input :<%= attribute.name -%>
<%= attribute.type == :file ? ', :as => :file' : '' -%>
<%= attribute.type == :date ? ", :input_html => {:class => 'datepicker'}, :as => :string" : '' -%>
<%= attribute.type == :datetime ? ", :input_html => {:class => 'datetimepicker'}, :as => :string" : '' -%>
<%= attribute.type == :time ? ", :input_html => {:class => 'timepicker'}, :as => :string" : '' -%> 
<% end -%>
<% end -%>
{'fraction_non_alphanumeric': 0.29765625, 'fraction_numerical': 0.00625, 'mean_word_length': 3.7620817843866172, 'pattern_counts': {'":': 0, '<': 26, '<?xml version=': 0, '>': 46, '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': '2976827', 'n_tokens_mistral': 503, 'n_tokens_neox': 471, 'n_words': 91}