<commit_before><% if question %>
  <label for="test-label"><%= question %></label>
<% end %>
<% if @permit.errors[attribute].length >= 1 %>

  <!-- create an errors div to style error message and make input red -->    
  <div class="field_with_errors">
    <!-- Print out the error message (from validator) -->
    <% permit.errors[attribute].each do | msg | %>
      <p><%= msg %></p>
    <% end %>
  </div>
<% end %>

<% option.each do | op | %>

  <div class="radio">
    <%= f.label attribute, op[:value], value: op[:value] do %>
      <%= f.radio_button attribute, op[:value], id: op[:value] %>
      <%= op[:label] %>
    <% end %>
  </div>
<% end %>
<commit_msg>Fix radio label issues, but screwed up the position of it<commit_after><% if question %>
  <label for="test-label"><%= question %></label>
<% end %>
<% if @permit.errors[attribute].length >= 1 %>

  <!-- create an errors div to style error message and make input red -->    
  <div class="field_with_errors">
    <!-- Print out the error message (from validator) -->
    <% permit.errors[attribute].each do | msg | %>
      <p><%= msg %></p>
    <% end %>
  </div>
<% end %>

<% option.each do | op | %>

  <div class="radio">
    <%= f.radio_button attribute, op[:value] %>
    <%= f.label attribute, op[:label], value: op[:value] %>
  </div>
<% end %>

{'fraction_non_alphanumeric': 0.21315192743764172, 'fraction_numerical': 0.0015117157974300832, 'mean_word_length': 3.012121212121212, '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': '7653568', 'n_tokens_mistral': 476, 'n_tokens_neox': 422, 'n_words': 127}