<commit_before><%= semantic_form_for @resource do |f| %>
  <%= f.inputs do %>
    <% form_attributes_keys.each do |attribute_key| %>
      <% attribute_data = attributes[attribute_key] %>
      <% if attribute_data[:type] == :association %>
        <%= render :partial => attribute_data[:form_partial], :locals => {:form_instance => f, :form_data => attribute_data[:form_data], :form_field => attribute_data[:form_field], :association => attribute_key } %>
      <% else %>
        <% p attribute_key %>
        <%= render :partial => attribute_data[:form_partial], :locals => {:form_instance => f, :form_values => attribute_key, :form_field => attribute_key} %>
      <% end %>
    <% end %>
  <% end %>
  <%= f.buttons do %>
    <%= f.commit_button %>
  <% end %>
<% end %><commit_msg>use correct helper<commit_after><%= semantic_form_for @resource do |f| %>
  <%= f.inputs do %>
    <% form_attributes_keys.each do |attribute_key| %>
      <% attribute_data = form_attributes[attribute_key] %>
      <% if attribute_data[:type] == :association %>
        <%= render :partial => attribute_data[:form_partial], :locals => {:form_instance => f, :form_data => attribute_data[:form_data], :form_field => attribute_data[:form_field], :association => attribute_key } %>
      <% else %>
        <%= render :partial => attribute_data[:form_partial], :locals => {:form_instance => f, :form_values => attribute_key, :form_field => attribute_key} %>
      <% end %>
    <% end %>
  <% end %>
  <%= f.buttons do %>
    <%= f.commit_button %>
  <% end %>
<% end %>
{'fraction_non_alphanumeric': 0.1866151866151866, 'fraction_numerical': 0.0, 'mean_word_length': 3.8746081504702192, 'pattern_counts': {'":': 0, '<': 34, '<?xml version=': 0, '>': 56, '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': '666430', 'n_tokens_mistral': 544, 'n_tokens_neox': 476, 'n_words': 96}